Re:Farm: Fast vite compatible build tool written in Rust
by skydhash on Saturday June 22, 2024 @08:56AM
(#40758808)
That's my main gripe about JS ecosystem. Most of the times, I only need to compile a project (either live or as a static asset). You run "npm install" and the build tool (without any project dependencies) already come with 200 folders inside node_modules. And those byte-sized libraries! It always feels like an hackathon scene.
[ Parent
| on HN ]
Re:Farm: Fast vite compatible build tool written in Rust
by 1oooqooq on Saturday June 22, 2024 @11:46AM
(#40759875)
it is. just because you pushed a hack to prodb doesn't mean it stops being a hack.
but that's all that younger devs know. specially people from boot camps or the CS to startup pipeline.
Re:Farm: Fast vite compatible build tool written in Rust
by throwAGIway on Saturday June 22, 2024 @02:24PM
(#40761035)
I tried building a Rust project and it failed because it consumed my entire remaining 8 GB of disk space... Good old NPM.
I tried running a Python project and the necessary apt-get pulled 2 GB of dependencies and conflicted with some of software I use, that's before running the pip install... Good old NPM.
Re:Farm: Fast vite compatible build tool written in Rust
by klabb3 on Sunday June 23, 2024 @07:06AM
(#40766510)
There are two issues: dep bloat and “hermeticity” if you will. Cargo is quite nice and projects build in a straight forward way. However, the Rust ecosystem sucks in terms of dep bloat, imo. And the compiler artifacts are large. Python not sure, but I thought you had a way to get hermetic environments?
Go stands out as being fast, small and very limited dep bloat, thanks to a comprehensive standard library. And very minimal config files. By that standard npm is a shit show.
Re:Farm: Fast vite compatible build tool written in Rust
by Atotalnoob on Sunday June 23, 2024 @04:17PM
(#40770293)
Python is a mess with dependencies.
Re:Farm: Fast vite compatible build tool written in Rust
by PerniciousGrace on Saturday June 22, 2024 @04:41PM
(#40762016)
The small core approach is way too unwieldy and the cruft only seems to be piling on further. There are constant efforts to fragment the ecosystem (like for example currently Deno and Bun, exciting as those projects may be on their own merit), while there is seemingly no interest anywhere in creating a standard library to solve the issue of those frightening dependency trees.