Hacker News new | ask | show | jobs
by eterm 891 days 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.
2 comments

But 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.
That 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).

but then your runtime VM calls C :)