Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

And Deno! Which also has compilation tools and is written partly in Rust.


True, although it seems they deprecated their bundle command and even recommend using esbuild or rollup [1] (or an "unstable" module deno_emit).

--

1: https://docs.deno.com/runtime/manual/tools/bundler


Yep that was a bummer for me, I was trying to start a little project where I wanted a bundler lib and started using Deno's... but quickly ran into some limitations and found out they've deprecated it and it's not even maintained anymore :( . I started using esbuild instead via its Typescript lib, but then noticed I was spending a lot of time working around the problems with the JS ecosystem (terrible file system watcher in node.js, lots of underpar libraries and as someone not intimate with every domain, it's nearly impossible to know which library may be well written and maintained without spending lots of time investigating, weird APIs, silent errors, I just can't believe some people can cope with all of this instead of just moving to a saner language).... and as esbuild is written in Go, I rewrote my code in Go and now it's much, much nicer to work on, much faster, can be shipped as a single binary etc.

If there was a bundler written in Rust I might have chosen that, as despite not having anything against Go, the momentum seems to be strongly shifting to Rust (and even in the little Go I did, I already feel the pain of its error handling), and Rust definitely gives you better tools to write reliably applications.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: