logoalt Hacker News

adrian1710/01/20242 repliesview on HN

The 9GB limit was not just the Rust stuff, that was for the entire docker environment with compiler, JRE, node, wasm toolkit, typescript, webpack etc. Yes, we need all of these to make a "true" reproducible build from scratch.

> to build a browser extension

It shares 99% of code with a desktop application; you can compile it to wasm while preserving most features. The extension wraps the wasm.

For reference, when making a single clean build, the `target/` dir reaches 700MB.


Replies

cxr10/02/2024

> The 9GB limit was not just the Rust stuff, that was for the entire docker environment with compiler, JRE, node, wasm toolkit, typescript, webpack etc.

None of this is surprising or exculpatory. Demanding >9GB of disk space to build a browser extension is insane.

> we need all of these to make a "true" reproducible build from scratch

You need and them to reproduce your build. You definitely don't need all of them to build what you're building.

show 1 reply
freedomben10/02/2024

Thank you for setting such a good example. If I were you, I don't know that I could have given such a good and dispassionate reply to such an arrogant, overconfident, and rude comment as you did. Your comments are not only technically interesting, but also epitomize. What a healthy online community should be. Thank you for doing what you do!