4 ms·
> Esbuild is a JS bundler written in Go that bundles dependencies 10-100x faster than JavaScript based alternatives like Webpack and Parcel. A JS library calli
by yepthatsreality 5y ago
> Esbuild is a JS bundler written in Go that bundles dependencies 10-100x faster than JavaScript based alternatives like Webpack and Parcel.
A JS library calling a golang js-build tool to get the job done. Too funny.
- mavelikara 5y agoMany golang webapps use JS as their front-end language. Use the right tool to get the job done etc.
- yepthatsreality 5y agoBeing on the web it would be difficult not to no?
- ZephyrBlu 5y agoYou can server-render pages.
- root_axis 5y agoWhy is that funny? How is it conceptually different from any of the variety of scripting languages that call out to C bindings or binaries?
- yepthatsreality 5y agoIt’s funny because in order to compile/minify JS it passes said JS to golang which spits out JS to be run under JS. I’m not allowed to be amused by the circularity? Get a grip.
- qbasic_forever 5y agoPython is a C core that takes Python code and spits out bytecode to interpret and run said Python. What esbuild is doing is not much different than any other interpreted language. (p.s. JS is not compiled)
- yepthatsreality 5y agoIt's not much different but yet it needs a solution built in another language to "build" it. I understand the process is not much different from other scripted languages but I find it funny that JS cannot reasonably do this itself. (p.s. I'm aware)
- root_axis 5y agoWell, it's wrong to say that it "can't reasonably do this itself" since JS building itself is actually the status quo and has been for years, this particular solution is just a new take with an aim for improved performance.
- yepthatsreality 5y agoAnd they didn't choose JS to do it is the cherry on top.
- root_axis 5y agoWhy so defensive? I didn't say anything about what you're allowed to do, I simply asked you a question about why you thought it was funny.
- jupp0r 5y agoThis might shock you, but webpack runs on node/V8 which is written in C/C++.
- yepthatsreality 5y agoNope.