2024-02-20

The February, 2024 Rust for Lunch meet-up. We'll have a single talk and then time for questions afterwards.

We'd like to remind everyone that all participants (speakers, moderators, and attendees) must follow the Code of Conduct during the meetup.

Faster Rust Serialization

Speaker: Mo Bitar (mo8it)

How to speed up Rust serialization with serde by up to 2.25x 🚀!

What to expect:

  • A simple example with JSON
  • How serialization in serde works
  • Manually implementing the Serialize trait
  • Serialization with the newtype pattern
  • Benchmarking with divan
  • Discussing the overhead of allocations

Related blog post: https://mo8it.com/blog/faster-rust-serialization/