3 ms·
You are deeply confused. What makes managed/VM based languages big is that those runtimes are general purpose, and therefore have to embark what most people ne
by astrobe_ 9y ago
You are deeply confused.
What makes managed/VM based languages big is that those runtimes are general purpose, and therefore have to embark what most people need. A C/C++ app embarks (mostly) only what's necessary.
I can compile a hello world for bare metal, replace puts with a routine that sends the characters to the serial output, add the necessary UART initializations, and the final program will still be a bunch of order of magnitudes smaller that a Python install. The comparison is unfair of course, but it proves one thing: no multimegabyte runtime in C.