Skip to content

Day of #42

@kalypsohoman

Description

@kalypsohoman

🚀 Front End Party Tonight!! 🚀

Tonight we are diving headfirst into Rust + WebAssembly with the one and only @adam Chalmers!

Adam's Workshop Description:

For 20 years, programming the web browser required JavaScript. But today, you can run code from almost all programming languages in your browser, via WebAssembly! WebAssembly (aka WASM) is a tiny, secure VM supported by all browsers, which can run code from most other languages. This means you can reuse libraries written in Rust, Python, C++, Go -- almost anything -- in your browsers without needing to rewrite them in JavaScript.

In this workshop we're going to progressively enhance a JavaScript app with Rust code via WebAssembly. You'll learn how to use key tools to compile Rust code into WebAssembly, how to pass data between JS and Rust, and how to add super-fast Rust libraries to your JavaScript to speed up critical parts of your apps.

No Rust experience? No problem. Just bring yourself and your laptop (with the stuff installed—see the end of this post!).

Also, we’re officially crowning the micro hack winners tonight! 🎖️ Expect a glorious merging ceremony, where the winning branch ascends to main.

✨🙏 ✨Huge shoutout to Teksystems and Excella for their sponsorship of this event.✨ 🙏✨

See you there! 🍻🔥

💻 INSTALLATION INSTRUCTIONS💻

Install wasm:
https://rustwasm.github.io/wasm-pack/installer/

Install rust:
https://rustup.rs/

Then:
rustup install stable

rustup target add wasm32-unknown-unknown

If you want to get Rust IDE support, VSCode has a straightforward extension "rust-analyzer" that works great, but for other IDEs you'll need to install rust-analyzer yourself. It's available through homebrew for MacOS.

https://rust-analyzer.github.io/book/installation.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions