Hacker News new | ask | show | jobs
by JrProgrammer 1836 days ago
I would say it is. It didn't start as one but over the decades it sure has become a general purpose language.

I can't find a domain where JS wouldn't fit the description. While it may be a bad fit for certain problems, it can still be done.

1 comments

Safety-critical controller for manned or unmanned aircraft, ground vehicles, etc. High frequency trading. Tiny embedded devices. System libraries.

I’m sure I could come up with more. JavaScript is a tool, just like c, go, rust, python, lisps, etc. I’m going to give you the benefit of the doubt and hope you just didn’t consider all of these other domains when you made this comment.

Cheers!

The domains you listed are not really disproving my point. I'm certain that programs could be made in JavaScript for these domains but, like I said in my first comment, it's probably a bad fit.

For example: Espruino is a platform for embedded JavaScript.

I just think about it this way: Just because you wouldn't doesn't mean you couldn't