Blockchains have been developed in many languages, such as Go and C++. However, the language Rust presents a new tech paradigm in system engineering.

Looking at Rust's performance compared to C++, we can Rust can be coded safer and faster and is likely to replace other high-level languages.

The next generation of smart contracts will be based on the assembly language WASM by Mozilla, building a bare-metal platform-independent language that will be closely connected with Rust.

WebAssembly (abbreviated Wasm) is a binary instruction format for a stack-based virtual machine. Wasm has been designed as a portable target for compilation of high-level languages like C/C++/Rust, enabling deployment on the web for client and server applications. Wasm is the smart contract language of choice for next generation blockchains.

What this talk will cover:

I. Topic 1

Run a basic web server using Rust.

Install and run Substrate using Rust.

ECDSA Authentication and Authorization in Rust

II. Topic 2

Build and run a WASM module in react web app

Build and run a runtime (analogous to Smart Contract in the Polkadot ecosystem) and deploy it on Rust

III. Topic 3

Future implications to the blockchain ecosystem that Rust and WASM brings.

Prereqs (optional if you want to code along):

The Rust Toolchain

You will need the standard Rust toolchain, including rustup, rustc, and cargo.

Follow these instructions to install the Rust toolchain.

wasm-pack

wasm-pack is the primary library for building Rust-generated WebAssembly.

Get wasm-pack here!

About the Speaker:

Ling Qing Meng

Contact

Ling Qing Meng is a software engineer specializing in ground-up development of blockchain applications and infrastructure. He has helped companies from Korea to New York and Silicon Valley as a developer, advisor, security auditor, investor, and whitepaper writer. His thought leadership on Zero-Knowledge Proofs and cryptographic data obfuscation has empowered a new generation of permissionless end-to-end value exchange.