5 ms·
C# is GCed but has 'unsafe' blocks.
by ycuser2 3y ago
C# is GCed but has 'unsafe' blocks.
- pjmlp 3y agoAlonside value types, manual memory allocation if needed. Not all GC based languages are made alike.
- neonsunset 3y agoYup, and (monomorphized) struct generics, first-class SIMD vectors and ability to transparently work with memory ranges because Span<T> can also wrap T* + Length from unmanaged code, which lets you directly plug whatever data you got from C/C++ dependency into most CoreLib APIs. In this regard, Go is far inferior as a systems programming language.