Tools
Search
Import
Library
Explore
Videos
Channels
Figures
Atmrix
About
Tools
Search
Import
Library
Explore
Videos
Channels
Figures
Atmrix
About
Go Back
GJ
Greg Johnston
02/26/25
@ Rust Nation UK
Future improvements in Rust and WebAssembly may allow for more efficient interactions with browser APIs, but significant challenges remain in achieving this.
Video
RN
The Future of Rust Web Applications - Greg Johnston
@ Rust Nation UK
02/26/25
Related Takeaways
GJ
Greg Johnston
02/26/25
@ Rust Nation UK
The current limitations of using Rust for web applications include compile times, binary sizes, and the ecosystem surrounding Rust web development.
GJ
Greg Johnston
02/26/25
@ Rust Nation UK
I want to address the question: Is there a future for interactive web applications written entirely in Rust?
GJ
Greg Johnston
02/26/25
@ Rust Nation UK
Dynamic linking in Rust has historically been challenging, but recent advancements are enabling better code splitting and lazy loading, which can improve performance in web applications.
GJ
Greg Johnston
02/26/25
@ Rust Nation UK
WebAssembly currently cannot directly call browser APIs due to its sandboxed nature, requiring data to be passed through JavaScript, which can introduce latency.
GJ
Greg Johnston
02/26/25
@ Rust Nation UK
When I talk about Rust on the web, I'm not discussing building web infrastructure or API services; I'm focusing on using Rust for interactive web applications.
GJ
Greg Johnston
02/26/25
@ Rust Nation UK
The foundational crates for building Rust web applications include WM Bindgen and WebSys, which facilitate interaction with JavaScript and browser APIs.
GJ
Greg Johnston
02/26/25
@ Rust Nation UK
There is a future for interactive web applications written in Rust, and contributions to projects like Leptos are welcome to help advance the ecosystem.
GJ
Greg Johnston
02/26/25
@ Rust Nation UK
Compile times in Rust can be slow, which affects the speed of iteration during UI development, making it challenging to see changes quickly.
GJ
Greg Johnston
02/26/25
@ Rust Nation UK
The Rust ecosystem offers unique advantages, such as exhaustive pattern matching and result types, which can enhance development compared to the JavaScript ecosystem.