1、Fearless Programming with RustSenyo SimpsonFires in productionA large refactorGone slightly wrongBut types?NeverUntilRustRustIt was the first time it clicked for me that you could move the“burden of discipline”from yourself to the language.RustYou knew that your production code was well-behaved,no m
2、atter who wrote it.The result?ConfidenceIt promotes a sense of fearlessnessHi I am a software engineer working at Fly.io.Im interested in systems programming,mainly in networking.Based in Cape Town,South A senyeezus senyeezus.bsky.socialTodays menuThe values of RustWhere Rust shines lessons from the
3、 frontlinesThe harder parts of Rust embracing complexityValues in softwareSoftware choices are based on its valuesThe values are born from situational context and furthered by the communityThose values are important as they direct the evolution of that softwareA mismatch in values means creates an e
4、ver-growing chasm between your value system and the softwares value systemThat doesnt make it wrong,just different!Values in softwareRust valuesPerformanceSafetyCorrectnessErgonomicsRust valuesCreate a cohesive story of Rusts space in programming languagesPlacing a huge amount of trust in the langua
5、geGoal of writing code with more confidence“Rust empowers you to reach farther,to program with confidence in a wider variety of domains than you did before.”“Programmers who are already working with low-level code can use Rust to raise their ambitions can tackle more aggressive optimizations in your
6、 code with the confidence that you wont accidentally introduce crashes or vulnerabilities.”Lessons from the front linesFour ingredientsPerformancePredictabilityCorrectnessMaintainabilityFly ProxyOur internal proxy written in RustBuilt on top of Tokio,Hyper and TowerFly ProxyDrive