News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by elliotec on Saturday May 15, 2021 @08:16PM (#27170127)
So what? It's an incredibly productive language that CAN DO "complex algorithms for compression or image processing."

It's accessible, popular, easy enough to use, and ubiquitous. All the ingredients for success.

Does it belong on mission-critical spaceships? Whether you like it or not, the answer is yes, of course it does. https://os-system.com/blog/javascript-in-space-spacex-devs-h...

Re:Modern Javascript: Everything you missed over the last 10... by axegon_ on Saturday May 15, 2021 @09:23PM (#27170421)
The fact that you can put a 900 bhp engine in a 40 year old rusty Citroen, doesn't make it a good idea(JavaScript being the Citroen). There's a good reason why operating systems are written in low level languages and not toy languages that are meant to make sites jiggle. JavaScript is just a convenient excuse to write slow, horrible, unreadable and unmanageable code without having people pointing it out because no one expects JavaScript to be anything other than an endless mess of spaghetti. Even in the case of space x is just a tool for shiny buttons and that's it. That still doesn't make it a good idea. Some time ago I saw in a video that the Audi entertainment system is written in typescript and as much as Audis are great cars, the entertainment system feels painfully clunky compared to a cheap 120 euro Android phone. JavaScript and node are horrible technologies that should be abolished and replaced by something that doesn't require a 14-core Xeon and 32gb of RAM to run semi-decently.
Re:Modern Javascript: Everything you missed over the last 10... by fitpolar on Sunday May 16, 2021 @07:21AM (#27172885)
So what, is that not everyone loves it. Devs shouldn’t be forced to use a language that they hate using.

Thankfully WASM is a remedy for this, and over the next decade devs will be able to build full stack across web and mobile in Swift or any other language they prefer.