DEV Community

Cover image for Reactive Canvas with Rust/WebAssembly and web-sys

Reactive Canvas with Rust/WebAssembly and web-sys

Ben Lovy on June 14, 2019

Or How I Learned To Stop Worrying And Love Macros It's been a little while since I built a resizable dot with a slider in some esoteric ...
Collapse
 
ben profile image
Ben Halpern

This is cool

Collapse
 
deciduously profile image
Ben Lovy

What's cooler is what you can build next.

Collapse
 
ben profile image
Ben Halpern

Definitely!

Thread Thread
 
deciduously profile image
Ben Lovy

You may have given me an excuse to finally execute some Rust code! I’ve done lots of reading but haven’t actually tried using Rust yet.

Ever give it a go?

Collapse
 
rhymes profile image
rhymes

Nice post!!

Collapse
 
jeikabu profile image
jeikabu

My lack of experience with JS/node/NPM was a bit of a roadblock with WASM.
Nice use of macros.

Collapse
 
deciduously profile image
Ben Lovy

Yep, it's a pretty big can of worms if you've never worked with it before, but it's nice that it does integrate so nicely with an already established workflow.

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀 • Edited

I'll be checking this out after I'm done with my WASM project, man they are LONG.

Collapse
 
wiltel492019 profile image
Wiltel492019

Decent amount of materials.Rust!!!

Collapse
 
nmrshll profile image
Nicolas Marshall

Great stuff ! Thanks !

Collapse
 
lexchou profile image
Lex Chou

This is cool, I tried this out but sadly the debugger cannot step into the rust's source code, is there anyone can have a source-level debugging in rust wasm?