This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Rust and Wasm?

 
Saloon Keeper
Posts: 7645
178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does the book delve into how to use Rust for developing Wasm code?

Even if not, I wondered if you had any opinion on using Rust for Wasm development. There is a bunch of detailed documentation at https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm to get started with. If I wanted to dip my foot into those waters, are those the tools you might use? Specifically, rustup and wasm-pack. I'm comfortable with CLI tools, just wondering if there are other options that a seasoned pro might prefer.
 
Author
Posts: 22
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Moores wrote:Does the book delve into how to use Rust for developing Wasm code?

Even if not, I wondered if you had any opinion on using Rust for Wasm development. There is a bunch of detailed documentation at https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm to get started with. If I wanted to dip my foot into those waters, are those the tools you might use? Specifically, rustup and wasm-pack. I'm comfortable with CLI tools, just wondering if there are other options that a seasoned pro might prefer.



I am completely ignorant of how to use Rust for WASM, but I'm very interested. For many years, I've used Elm (a dialect of Haskell) to transpile JS for interactive HTML, and I use JS or Python to write APIs. I would love to use Rust to replace all of this, but I would note that using Rust to interact with databases has been painful for me. Python is much looser about types and executing SQL and dynamically sorting out the tuples whereas Rust wants very string models for all this. My current job requires no web development. If I ever move back to that space, I'll be very interested to see how Rust develops.
 
For my next trick, I'll need the help of a tiny ad ...
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic