News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by vbsteven on Saturday May 15, 2021 @01:13PM (#27166995)
Why is that not a solution? The concept of compiling/transpiling a language into the target language for the runtime is everywhere.

Even native languages like C/C++/Rust compile their language into binary format that the platform can run. It just so happens that the web runtime format is JS instead of binary machine instructions.

Re:Modern Javascript: Everything you missed over the last 10... by HideousKojima on Saturday May 15, 2021 @01:22PM (#27167082)
Because debugging your transpiled JavaScript becomes a nightmare in a language you already hate
Re:Modern Javascript: Everything you missed over the last 10... by dragonwriter on Saturday May 15, 2021 @01:40PM (#27167254)
> Because debugging your transpiled JavaScript becomes a nightmare in a language you already hate

That’s what sourcemaps are for; you don’t have to debug compiled instead of source format on the web just like you don't on other platforms.