4 ms·
That's overly simplistic and untrue. If you write a C# / .Net program you're not "just calling C code", you're not calling C at all.
by eterm 3y ago
That's overly simplistic and untrue. If you write a C# / .Net program you're not "just calling C code", you're not calling C at all.
- mldbk 3y agobut then your runtime VM calls C :)
- tsm212 3y agoBut the CLR is written c, c++ and assembly which is what runs c#. Also the syscalls that run down the chain are also written in c, c++ etc.
- struant 3y agoThat is just the runtime. That is smaller of fraction of what is going on when your programs execute than you think. The C# code you write (and majority of the your code's dependencies) are JIT compiled to native machine code (or more recently there are AOT compilation options).