The Unlikely Friendship Between React and Rust – Sara Vieira, React Advanced 2023

Discover the unexpected union of React and Rust, as Sara Vieira shares her journey of learning Rust and building a project that combines the two technologies.

Key takeaways
  • The speaker Sara Vieira starts by explaining that she is not an expert in Rust, but has used it for some projects and wants to share her experience with the audience.
  • She mentions that she is from Portugal and moves around a lot, but has been trying to get better at Rust.
  • Sara explains that the conference talk will cover the unlikely friendship between React and Rust.
  • She starts by explaining the basics of Rust, saying that it’s a systems-level language that is very hard to write code in, but adds that it’s also very powerful.
  • Sara talks about the concept of “serializable” in Rust, saying that it’s a way to make data that can be easily converted to and from JSON.
  • She then explains how to use the Serde library in Rust to serialize and deserialize data.
  • Sara moves on to talking about the project she built, which is a small app that displays system information from her computer.
  • She explains that she used the Tari framework to interface with Rust code from JavaScript.
  • Sara talks about the concept of “invoke” in Tari, which is a way to call Rust functions from JavaScript.
  • She explains that she used the “second null” in the code to ignore errors and warnings.
  • Sara shares that she is a founding engineer at Axo.dev, a company that develops software for the Rust community.
  • She mentions that she has been working on a project called “weed” which is a Rust-based development tool.
  • Sara explains that she is not an expert in Rust, but is learning and has been able to make progress with the help of online resources and communities.
  • She concludes by thanking the audience for listening to her talk and encouraging them to try out Rust and Tari if they’re interested.