Hacker News new | ask | show | jobs
by ycuser2 954 days ago
C# is GCed but has 'unsafe' blocks.
2 comments

Yup, 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.

Alonside value types, manual memory allocation if needed.

Not all GC based languages are made alike.