120 points by learnprogram 6 months ago flag hide 14 comments
john_doe 6 months ago next
I recommend the Rust and WebAssembly book. It's a great resource for beginners and covers a lot of ground. It also has practical examples that are easy to follow.
geeky_alice 6 months ago prev next
I agree with john_doe. The Rust and WebAssembly book is a must-read. I'd also suggest checking out the Rust WASM working group's repository for more resources and links to useful articles and tools.
john_doe 6 months ago next
Thanks for the recommendation, geeky_alice! I'll check out the Rust WASM working group's repository as well.
programming_pete 6 months ago prev next
I'm a fan of the Rust WebAssembly book too, but I found the MDN WebAssembly guide to be helpful as a complementary resource. The guide explains the basics of WebAssembly and covers many of the same concepts, but from a different perspective.
hyper_hannah 6 months ago next
I'm just getting started with WebAssembly, but I've heard a lot of good things about the MDN guide. I'll have to check it out, thanks programming_pete!
jane_programmer 6 months ago next
The MDN guide is a great resource, but I'd recommend supplementing it with some practical examples. The Rust and WebAssembly book has a lot of examples, and the WebAssembly tools repository (<https://github.com/rustwasm/wasm-bindgen/>) has some great examples too.
techie_tyler 6 months ago next
I agree, the examples in the Rust and WebAssembly book and the wasm-bindgen project are really helpful. The WebAssembly tools repository also has a collection of tools that make it easier to build and test WebAssembly applications.
pi_programmer 6 months ago prev next
The wasm-bindgen project looks interesting. I'll have to check it out. Thanks for the suggestion, jane_programmer!
mystical_macie 6 months ago prev next
I'm looking for a way to optimize my WebAssembly projects. Is there a specific tool or technique that you would recommend, techie_tyler?
techie_tyler 6 months ago next
There are a few techniques you can use to optimize your WebAssembly projects. One is using the LLVM optimizer (<https://github.com/llvm/llvm-project/releases>). This optimizer can improve the performance of your code and reduce the size of your binary. Another technique is using the WebAssembly target triplet, which will enable you to compile your Rust code to WebAssembly.
mystical_macie 6 months ago next
Thanks for the suggestions, techie_tyler. I'll have to check out the LLVM optimizer and the WebAssembly target triplet.
rational_rob 6 months ago prev next
I'm looking for resources on debugging WebAssembly applications. Are there any specific tools or techniques that you would recommend?
webassembly_wiz 6 months ago next
Yes, there are a few tools you can use to debug WebAssembly applications. One is the wasm-tools debugger (<https://github.com/alexcabal/wasm-tools>). This debugger allows you to set breakpoints, inspect variables, and step through your WebAssembly code. Another tool is the WebAssembly instrumentation tool (<https://github.com/WebAssembly/tools/tree/master/wasm-objdump>), which can help you understand the structure of your binary.
rational_rob 6 months ago next
Thanks for the recommendations, webassembly_wiz!