News for hackers. Stuff that matters.
Re:Why I'm skeptical of rewriting JavaScript tools in "faste... by paulddraper on Sunday October 20, 2024 @06:06PM (#41898871)
The biggest reason to be skeptical is that these tools are not open to extension in the same way that JavaScript is.

Webpack has an enormous community of third-party plugins, it would be very hard to do something similar with e.g. Go or Zig.

Re:Why I'm skeptical of rewriting JavaScript tools in "faste... by klabb3 on Sunday October 20, 2024 @06:17PM (#41898951)
Right, because tooling is standardized in eg Go. There’s no custom build pipeline, transpilation hell, or experimental language features that are selectively enabled randomly. I’m not even against JS, like at all, and I think the majority of perf issues can be resolved. However, JS tooling is the prime example of where things get truly nightmarish from a software development perspective. Webpack being a perfect example of this horror.
Re:Why I'm skeptical of rewriting JavaScript tools in "faste... by postalrat on Sunday October 20, 2024 @06:27PM (#41899009)
It's also a breeding ground where the best ideas often end becoming a sort of standard not only for javascript devs but for other langauges as well.
Re:Why I'm skeptical of rewriting JavaScript tools in "faste... by FridgeSeal on Sunday October 20, 2024 @07:01PM (#41899197)
Well curious as to what some of these ideas might be.

NPM has done a pretty great job of showing everyone else what to avoid doing.

The mere mention of “web pack” sends most of the FE devs I’ve met into borderline trauma flashbacks.

There’s seemingly half a dozen package managements tools, some of which also seem to be compilers? There’s also bundlers, but again some of these seem integrated. Half of the frameworks seem to ship their own tools?

Re:Why I'm skeptical of rewriting JavaScript tools in "faste... by paulddraper on Sunday October 20, 2024 @09:40PM (#41899976)
You can ship a 20MB Go program and no one blinks.

Go programs start at 20MB. The Go AWS Terraform provider is something like 300MB.

A massive amount of the complexity/difficulty in webdev build tools space has to with optimizing delivery sizes on the web platform.

Node.js tooling is straightforward comparatively.

Re:Why I'm skeptical of rewriting JavaScript tools in "faste... by paulddraper on Monday October 21, 2024 @01:56PM (#41906596)
To be clear: Server-side Node.js tooling is relatively simple. It the web tooling (Webpack, etc) that is complicated.
Re:Why I'm skeptical of rewriting JavaScript tools in "faste... by tightbookkeeper on Sunday October 20, 2024 @06:27PM (#41899005)
This is funny to me. Go and zig are built with the Unix shell in mind - the most extensible and modular system around.

The webpack ecosystem on the other hand is it’s own OS.

Re:Why I'm skeptical of rewriting JavaScript tools in "faste... by dpritchett on Sunday October 20, 2024 @06:57PM (#41899166)
Maybe for some the appeal of JS is in (hopefully) never having to learn Unix?

I’ve heard several folks say that about Kubernetes, but in my experience the *nix core always resurfaces the second things get weird.

Re:Why I'm skeptical of rewriting JavaScript tools in "faste... by tightbookkeeper on Sunday October 20, 2024 @07:00PM (#41899181)
That certainly can be a benefit. But as we see here it also limits your thinking to that ecosystem.