A detailed account of building an interactive Rust optimization quiz for EuroRust 2025, covering the entire process from question design using Compiler Explorer to implementation with Dioxus framework. The author explores compiler optimizations like division-to-shift transformations, floating-point arithmetic edge cases, and memcpy recognition, while solving technical challenges including real-time voting, WebSocket reconnection handling, and scaling to hundreds of concurrent players. The project involved multiple playtesting sessions with Rust community members, last-minute features like GitHub OAuth and swipe gestures, and deployment on Kubernetes.

13m read timeFrom fasterthanli.me
Post cover image
Table of contents
Coming up with the questionsNIH syndrome.pptServer-side shenanigans and room codesDeploying the beastD-2: Starting fights at a Paris meetupD-1: Panic mode and missing explanationsDay of: GitHub OAuth and swipe gesturesShowtimeOpen sourcing the home CMS

Sort: