14 ms·
The dumbest thing about people building JavaScript to me is that you burn all of the energy and labor of building with almost none of the meaningful benefits.
by andrewmcwatters 4y ago
The dumbest thing about people building JavaScript to me is that you burn all of the energy and labor of building with almost none of the meaningful benefits.
No one is building and ending up with bundles that are reducing the bloat of the web, you can’t tree-shake your way out of bad practices. Articles and real lived experiences show us that the web is still bloated.
And why are we transpiling anything? If people want to flirt with building, I wish JavaScript engineers would just build an implementation that compiles to machine code intermediate representation.
Which is it? Do you want to be a scripting language or a programming language that compiles to something? It’s so gross to me.
- geysersam 4y ago> Which is it? Do you want to be a scripting language or a programming language that compiles to something? It’s so gross to me. This is ridiculous. Just aesthetics. JS compiles to machine code when you run it "just in time". It's even relatively efficient considering it doesn't need static typing. The "build step" is just for reducing the size of the payload. It is possible a binary representation would make it even smaller but not by much. Not worth the added complexity
- tracker1 4y agoA bit older, but both worth a read, and most of this is still relevant today... https://www.amazon.com/High-Performance-Web-Sites-Essential/dp/0596529309 https://www.amazon.com/High-Performance-Web-Sites-Essential/... https://www.amazon.com/Even-Faster-Web-Sites-Performance/dp/0596522304 https://www.amazon.com/Even-Faster-Web-Sites-Performance/dp/...
- deleted 4y ago[deleted]