Excellent video tutorial @tensor. I liked the way you introduce concepts then give a little side-note about its function and uses. Almost like a guided nature tour. Your practical knowledge of the bird and plant life is outstanding and your ability to put these creatures to work for you is equally outstanding.
Thank you for the great video tutorial.
Cheers,
Bucky
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Curious how long it takes to compile when someone building full scale web site/app purely in Rust.
Ah yes, have you measure the bundle size of JS file as a result of compile using wasm-bindgen and/or stdweb? I found many garbage when compiling without wasm-bindgen and stdweb (pure wasm, no js binding). Also found out the bundle size can be reduced significantly when enabling LTO.
There are quite a few tools that you can use to vastly reduce the bundle size with both libraries. In fact, you can just pull out most of the Rust functionality that you don't need and you can get it down to <100 kb with even very large projects. Of course this doesn't account for some of the more wasm specific tools which can reduce the size much further.
Compilation timing in Rust is average id say when compared to other AoT based languages. Its not as fast as Go for instance, but it is much faster then Java.
When I start to do some larger projects with WASM, I will start showing off some of the techniques and tools to optimize performance and bundle size of WASM projects built from Rust. I am also considering doing some computation benchmark tutorials but we will see about that one.
Excellent video tutorial @tensor. I liked the way you introduce concepts then give a little side-note about its function and uses. Almost like a guided nature tour. Your practical knowledge of the bird and plant life is outstanding and your ability to put these creatures to work for you is equally outstanding.
Thank you for the great video tutorial.
Cheers,
Bucky
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]
Again, thanks for reviewing my contributions. I like the metaphor haha.
Hey @tensor
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
Curious how long it takes to compile when someone building full scale web site/app purely in Rust.
Ah yes, have you measure the bundle size of JS file as a result of compile using wasm-bindgen and/or stdweb? I found many garbage when compiling without wasm-bindgen and stdweb (pure wasm, no js binding). Also found out the bundle size can be reduced significantly when enabling LTO.
There are quite a few tools that you can use to vastly reduce the bundle size with both libraries. In fact, you can just pull out most of the Rust functionality that you don't need and you can get it down to <100 kb with even very large projects. Of course this doesn't account for some of the more wasm specific tools which can reduce the size much further.
Compilation timing in Rust is average id say when compared to other AoT based languages. Its not as fast as Go for instance, but it is much faster then Java.
When I start to do some larger projects with WASM, I will start showing off some of the techniques and tools to optimize performance and bundle size of WASM projects built from Rust. I am also considering doing some computation benchmark tutorials but we will see about that one.
Nice! For the tools to reduce the bundle size, I have tried using wasm-gc and Binaryen. The most intriguing (and the best) one is Binaryen that I can't still figure out which configuration is the best for some use case.