4 ms·
Put another way: what should be left after linking is just the parts of the CLR + BCL that the runtime needs to function. Apparently that takes 12MB today. Ther
by algorithmsRcool 9y ago
Put another way: what should be left after linking is just the parts of the CLR + BCL that the runtime needs to function. Apparently that takes 12MB today. There is a JIT, GC and Execution Engine all in there.
The number might shrink as the linker gets more aggressive but i wouldn't count on it much.
The application IL code is perhaps 50 bytes to for hello world.
- Kuraj 9y ago12 megabytes doesn't sound too bad for the things you mentioned, especially if it's a constant cost.
- svick 9y ago> The application IL code is perhaps 50 bytes to for hello world. A Hello World assembly in .Net Core 2.0 is 4.5 kB. Out of that, the IL is 11 bytes, though that doesn't even include the "Hello world!" string.