9 ms·
The only C code JavaScript needs to interact with is 100% under the control of the browser implementing that JavaScript engine. JavaScript doesn't interact wit
by 323 4y ago
The only C code JavaScript needs to interact with is 100% under the control of the browser implementing that JavaScript engine.
JavaScript doesn't interact with random C libraries that the user might have, like Python does.
- brrrrrm 4y agoThis is unfortunately a bit misinformed. You are thinking of a specific JavaScript implementation (browsers). The language has heavy adoption in the native space. Check out Node.js! JavaScript does interact with random C libraries :)
- insanitybit 4y agoYep, although for a very, very long time that wasn't the case.
- brrrrrm 4y agoWell, that changed over a decade ago
- insanitybit 4y agoBut V8 and JIT'd runtimes were already standard for years by the time nodejs came out.