Learnable Programming with Rust


Lowering the barrier for new Rust developers or library users is something I have always been passionate about. I believe that with WebAssembly and new compiler tools like Cranelift we can - and should - achieve better and easier explanations of complex concepts in our demos, code snippets, screencasts, and documentation. Instead of trying to explain something, we can just show it, and a reader should be able to interact with it similarly to the Rust playground. I am writing documentation for my Rust projects in this style and I am creating a tool that would allow documentation authors and educators to use it for their purposes.

In this talk, we will see how Rust programs can be explained visually with the help of WebAssembly. Code snippets, demonstrations, and documentation can all benefit from interactivity that is achievable today with technologies available in every modern web browser. We will discuss how to use abstract syntax trees and bytecode modification to make our documentation more interesting and easier to understand.

Presented by

  • Nikita Baksalyar Nikita Baksalyar

    Nikita is a maintainer of Headcrab, the modern Rust debugger toolkit, and he's passionate about pushing the Rust developer tools forward. He is a Mozilla TechSpeakers alumni with interests in systems engineering and decentralized systems.