16 ms·
It could bring Java closer in FFI overhead but not necessarily match. There are still missing features like structs, C pointers (though in C# they are supersede
by neonsunset 2y ago
It could bring Java closer in FFI overhead but not necessarily match. There are still missing features like structs, C pointers (though in C# they are superseded quite a bit by byrefs aka `ref T` syntax, e.g. used by Span<T>), stack allocated buffers, etc.
C# also has function pointers (managed/unmanaged) and C exports with NativeAOT.