Giter Club home page Giter Club logo

programmingrust's Introduction

Programming Rust

本书为《Programming Rust - Fast, Safe Systems Development》第2版的个人中文翻译,仅供学习和交流使用,如有侵权请联系作者删除

以下为英文原版购买地址


目录

  1. 前言
  2. 系统级程序员的福音
  3. Rust概览
  4. 基本类型
  5. 所有权与move
  6. 引用
  7. 表达式
  8. 错误处理
  9. crate与模块
  10. 结构体
  11. 枚举与模式
  12. trait与泛型
  13. 运算符重载
  14. 工具trait
  15. 闭包
  16. 迭代器
  17. 集合
  18. 字符串与文本
  19. 输入输出
  20. 并发
  21. 异步编程
  22. unsafe代码
  23. 外部函数

下载

Nightly Build


说明

  • pdf文件直接在github中打开可能会失败,建议下载到本地再打开
  • 翻译的过程中仅保留了原版的内容,并没有还原原版的格式,例如配色方案、标题格式、页眉页脚格式等都和原版不同
  • 因为这本书内容比较长,为了尽快翻译完,在翻译的过程中并不会花时间校对。所以可能错误会比较多,如果发现错误,欢迎提出issue或PR。
  • Github Action会每天自动从最新的代码编译pdf,并上传到release的Nightly Build标签里。
  • 有些字体并不是所有系统上都有并且不方便传播,所以在github上编译的本书没有指定字体,你可以自己修改指定的字体,然后自己编译。
  • 本人在某些时间段可能会很忙没时间翻译。但请放心,如果我哪天决定弃坑,一定会在这里通知,所以请不要担心我是不是弃坑了

编译

  1. 安装tectonic
  2. 安装python
  3. 安装Pygements
    pip install Pygments
  4. 如果src/main.tex中有\includeonly{xxx}这一行,请在编译之前删除这一行
  5. 编译pdf文件
    cd src
    tectonic -Z shell-escape main.tex
  6. 生成的main.pdf就是最后的pdf文件
  • note: 安装Pygements之后必须确保pip安装的可执行文件在PATH中,即pygmentize -V必须能正常打印出版本信息
  • note: 如果安装tectonic之后tectonic不在PATH中,请把第5步中的tectonic替换成完整的路径
  • note: 如果所有步骤都正确操作仍编译失败,欢迎提issue

programmingrust's People

Contributors

batkiz avatar cruiseyoung avatar doseeing avatar meousker77 avatar tim-paik avatar wangzhechao avatar yingang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.