News for hackers. Stuff that matters.
Re:Ldraw: Lego Modeling in Rust by Phillips126 on Wednesday September 18, 2019 @11:39AM (#21006504)
Really nifty demo.

I've never used wasm before, but I am curious how people feel about the size of the binaries. I am a JS developer and am well aware how bloated a project can get quickly. I agree with the majority that we need to keep our projects lean - especially for the web/mobile, hence this general inquiry.

  - I built a simple hello world in Rust (alert message) and the binary weighed 1kb - nice!
  - I found some sample code ~100 lines of Conway's game of life[1] and that binary is 28kb.
  - I see Ldraw weighs around 131kb - still very impressive.
I don't know yet how wasm will be used in the world professionally, and it is very exciting to me as I am really interested in Rust, but will we start seeing some HUGE binaries out there?

[1] https://rustwasm.github.io/book/game-of-life/implementing.ht...

There are no comments on this comment yet.