Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I hear the perf claim a lot and yet most of the time when I write C/C++ code it's not because it's the most performant. It's either because I'm editing a codebase that's already in C/C++, or I'm using libraries whose best (or only) bindings are C/C++, or because I want to make syscalls (and safe languages don't expose those as nicely as C).


For desktop, server, web, mobile, etc. This holds true. Not so much for embedded systems, anything with unnatractive memory capacity or processor performance. Rust is starting to make it's way in, but C and even assembly is still king AFAIK.


And yet there are embedded systems running JavaScript and Python.


Are there any real-world, production systems based on JavaScript and Python?

Toy systems, yes. Hey, I too, think CircuitPython is really neat. But I'm skeptical someone would base a PLC (or similar) on it.


Above was talking about embedded systems, and I really don’t know if the James Webb Space Telescope counts, but…

The James Webb Space Telescope runs JavaScript, apparently [1].

[1]: https://www.theverge.com/2022/8/18/23206110/james-webb-space...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: