2 ms·
> If you extract code from C# to C, you don't need a GC or any of the .NET class libraries The problem is, you do need them. There's no 1:1 C# -> C extraction
by est 13y ago
> If you extract code from C# to C, you don't need a GC or any of the .NET class libraries
The problem is, you do need them. There's no 1:1 C# -> C extraction. You have to extract at least some part of the CLR along with.
- scott_s 13y agoPerhaps another way of saying this is that you will always need a runtime. And if you reimplement the portions of the runtime that you need in C, you've essentially re-implemented .NET.