← Back to context Comment by Rapzid 3 hours ago You can also do Memory<T> and Span<T> over unmanaged memory to make things.. Safer. 3 comments Rapzid Reply pjmlp 2 hours ago Sure, but the point still stands versus using 100% raw C.I only wish that the performance focus was there back in .NET 1.0, with the main architect coming from Delphi, but Microsoft had other priorities.Also can we please have proper syntax for inline arrays instead of a special purpose attribute? Don't really get that one. Rohansi 32 minutes ago By inline arrays do you mean within a struct field? You can do that with the `fixed` modifier. pjmlp 5 minutes ago No, I mean this "cool" hack.https://endjin.com/blog/csharp-12-inline-arrays
pjmlp 2 hours ago Sure, but the point still stands versus using 100% raw C.I only wish that the performance focus was there back in .NET 1.0, with the main architect coming from Delphi, but Microsoft had other priorities.Also can we please have proper syntax for inline arrays instead of a special purpose attribute? Don't really get that one. Rohansi 32 minutes ago By inline arrays do you mean within a struct field? You can do that with the `fixed` modifier. pjmlp 5 minutes ago No, I mean this "cool" hack.https://endjin.com/blog/csharp-12-inline-arrays
Rohansi 32 minutes ago By inline arrays do you mean within a struct field? You can do that with the `fixed` modifier. pjmlp 5 minutes ago No, I mean this "cool" hack.https://endjin.com/blog/csharp-12-inline-arrays
Sure, but the point still stands versus using 100% raw C.
I only wish that the performance focus was there back in .NET 1.0, with the main architect coming from Delphi, but Microsoft had other priorities.
Also can we please have proper syntax for inline arrays instead of a special purpose attribute? Don't really get that one.
By inline arrays do you mean within a struct field? You can do that with the `fixed` modifier.
No, I mean this "cool" hack.
https://endjin.com/blog/csharp-12-inline-arrays