内容简介:LRtDW is a series of articles putting Rust features in context for low-level C programmers who maybe don't have a formal CS background — the sort of people who work on firmware, game engines, OS kernels, and the like. Basically, people like me.I've added R
LRtDW is a series of articles putting Rust features in context for low-level C programmers who maybe don't have a formal CS background — the sort of people who work on firmware, game engines, OS kernels, and the like. Basically, people like me.
I've added Rust to my toolbelt, and I hope to get you excited enough to do the same.
-
Why Learn Rust the Dangerous Way? Introduction and ground rules.
-
You can't write C in just any ol' language: translating a grungy optimized C program into grungy optimized unsafe Rust.
-
References available upon request: how Rust references are different from pointers, how they are the same, and why we care.
-
Measure what you optimize: taking a hard look at an optimization based on uninitialized memory, and converting it to safe code that's just as fast.
-
A more perfect union: considering alternatives to pointer casting, and how to write safe wrappers for
unsafe
operations. -
Making safe things from unsafe parts: finally converting most of the program to safe code, and making sure that the
unsafe
bits are safe-ish.
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
算法分析导论(第2版)(英文版)
[美]Robert Sedgewick(罗伯特•塞奇威克)、[美]Philippe Flajolet(菲利普•弗拉若莱) / 电子工业出版社 / 2015-6 / 128.00元
《算法分析导论(第2版)(英文版)》全面介绍了算法的数学分析中所涉及的主要技术。涵盖的内容来自经典的数学课题(包括离散数学、初等实分析、组合数学),以及经典的计算机科学课题(包括算法和数据结构)。《算法分析导论(第2版)(英文版)》的重点是“平均情况”或“概率性”分析,书中也论述了“最差情况”或“复杂性”分析所需的基本数学工具。 《算法分析导论(第2版)(英文版)》第 1 版为行业内的经典著......一起来看看 《算法分析导论(第2版)(英文版)》 这本书的介绍吧!