Hacker News new | ask | show | jobs
by 323 1340 days 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.

1 comments

This 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 :)

Yep, although for a very, very long time that wasn't the case.
Well, that changed over a decade ago
But V8 and JIT'd runtimes were already standard for years by the time nodejs came out.