不仅仅是内存安全:Rust 如何帮助维护高效软件.pdf

编号:981464 PDF 103页 310.58KB 下载积分:VIP专享
下载报告请您先登录!

不仅仅是内存安全:Rust 如何帮助维护高效软件.pdf

1、Not Just Memory SafetyHow Rust Helps Maintain Efficient SoftwareQCon London,April 9th 2024 The Rust Programming Language8 yearsMost loved language in the StackOverflow surveyMemory safetyRust prevents whole classes of vulnerabilities70%Vulnerabilities in Microsoft productsdue to memory safety issues

2、You are probably using a memory safe language!JavaScript,Python,Ruby,Swift,Java,Go.Rust enables efficient and maintainable codeAstrals UV package manager for Python10 x-115xFaster than pip215 hours/monthCI time saved by Home Assistant with UVHow can you leverage Rust?Pietro AlbiniRust Projects Infra

3、,Release and Security Previously,Rust Infra Lead and Rust Core TeamFerrocene Technical Lead at Ferrous Systems hachyderm.io/pietroalbini www.pietroalbini.orgRust is not an easy language to learnRust forces a different programming modelSingle ownership of data,borrowed to the rest of the codeOnce you

4、 internalize that mental modelRust becomes way easier to writeRust teams at Google are as productiveas ones using Go,and more thantwice as productive as teams using C+.Lars Bergstrom,Director of Engineering,Google AndroidWe all make Rust harder for ourselves to learnSqueezing every bit of performanc

5、e requiresa solid understanding of RustYoure not alone when learning Rust!The compiler is your pair programmerGood and actionable compiler errorsBad error messages are considered bugs!errorE0382:use of moved value:data-main.rs:10:11|8|let data=example.to_string();|-move occurs because data has type

6、String,which|does not implement the Copy trait9|drop(data);|-value moved here10|print(data);|value used here after move|help:consider cloning the value if the performance cost is acceptable|9|drop(data.clone();|+errorE0382:use of moved value:data-main.rs:10:1110|print(data);|value used here after mo

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(不仅仅是内存安全:Rust 如何帮助维护高效软件.pdf)为本站 (竿头日上) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠