3 ms·
I always tell web developers I teach that the language of the internet isn’t JavaScript it’s C++. Web devs are just users playing in a C++ dev’s program. ;)
by TonyAlicea10 4mo ago
I always tell web developers I teach that the language of the internet isn’t JavaScript it’s C++.
Web devs are just users playing in a C++ dev’s program. ;)
- criddell 4mo agoI tend to think of the web and the internet as distinct things. For the language of the web I'd probably nominate HTML. For the language of the internet it's a lot less clear to me.
- TonyAlicea10 4mo agoMany browser rendering engines are built in C++, so C++ is parsing the HTML. My general point is that many web/internet techs that web devs interact with have C++ one abstraction level below for actual implementation.
- irishcoffee 4mo agoI agree with you, and it amuses me to no end when I (rarely) use Wt to make a simple webpage. C++ to js (very roughly) rendered by c++.
- ahartmetz 4mo agoAll widely used HTML engines are C++. Of the up and coming ones, Servo is Rust and Ladybird is C++ potentially moving to Rust. In any case, Rust is basically C++ 2.0 to me because it is very much in the spirit of C++.
- TonyAlicea10 4mo agoYes I said “many” because if I didn’t qualify it someone would mention Rust.
- pjmlp 4mo agoRust is a tiny portion of Firefox, and sadly it is in the way of irrelevance. It is kind of ironic that Rust will outlive Firefox as Mozzilla's legacy.
- ivanjermakov 4mo agoContinuing the analogy, browser devs are just users playing in C/OS/kernel program.
- Brian_K_White 4mo agoThat doesn't actually follow. A C++ compiler outputs machine code that runs on a raw cpu if you want it to. The os providing a virtual cpu is just an optional extra and so irrelevant. That is not true for someone writing php or js or anything that runs in an interpreter. C/OS/Kernel are not actually the interpreter for C++, or they are, but only in the same way that the bare hardware is. C++ is the final interpeter layer besides assembly.
- ivanjermakov 4mo agoMachine code is interpreted by CPU's microcode.
- tempodox 4mo agoPlaying in a sandbox no less.