3 ms·
> Most other languages are implemented in C, Fun fact: even major C implementations are mostly in C++ these days. Ruby, Python...PHP. What else?
by steveklabnik 6y ago
> Most other languages are implemented in C,
Fun fact: even major C implementations are mostly in C++ these days.
Ruby, Python...PHP. What else?
- hmry 6y agoPerl too. But yes, it's certainly not "most languages". It's "most interpreted languages" at best, but even then C++ is probably about tied with C. And for compilers, using the language itself is much more popular, often targeting LLVM which is written in C++.
- tyingq 6y agoC++ with lots of extern "C", I imagine. Two examples: https://github.com/Perl/perl5/search?q=extern https://github.com/Perl/perl5/search?q=extern https://github.com/php/php-src/search?q=extern https://github.com/php/php-src/search?q=extern
- steveklabnik 6y agoAh so, "implemented in C" usually does not mean "uses the C ABI even though it's implemented in another language." If that's what you meant, then I very seriously misunderstood you.