没有合适的资源?快使用搜索试试~ 我知道了~
Programming Rust(EarlyRelease) 无水印pdf 0分
4星 · 超过85%的资源 需积分: 50 91 下载量 175 浏览量
2017-01-14
10:27:35
上传
评论
收藏 16.44MB PDF 举报
温馨提示
试读
153页
Programming Rust(EarlyRelease) 英文无水印pdf pdf使用FoxitReader和PDF-XChangeViewer测试可以打开
资源推荐
资源详情
资源评论
Author Name
Boston
Programming Rust
978-1-491-92721-2
[FILL IN]
Programming Rust
by Jim Blandy and Jason Orendorff
Copyright © 2016 Jim Blandy & Jason Orendorff. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc. , 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles ( http://safaribooksonline.com ). For more information, contact our corporate/
institutional sales department: 800-998-9938 or corporate@oreilly.com .
Editors: Brian MacDonald and Meghan Blanchette
Production Editor: FILL IN PRODUCTION EDI‐
TOR
Copyeditor: FILL IN COPYEDITOR
Proofreader: FILL IN PROOFREADER
Indexer: FILL IN INDEXER
Interior Designer: David Futato
Cover Designer: Karen Montgomery
Illustrator: Rebecca Demarest
March 2016: First Edition
Revision History for the First Edition
2016-03-07: First Early Release
See http://oreilly.com/catalog/errata.csp?isbn=9781491927212 for release details.
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. Programming Rust, the cover image,
and related trade dress are trademarks of O’Reilly Media, Inc.
While the publisher and the author(s) have used good faith efforts to ensure that the information and
instructions contained in this work are accurate, the publisher and the author(s) disclaim all responsibil‐
ity for errors or omissions, including without limitation responsibility for damages resulting from the use
of or reliance on this work. Use of the information and instructions contained in this work is at your own
risk. If any code samples or other technology this work contains or describes is subject to open source
licenses or the intellectual property rights of others, it is your responsibility to ensure that your use
thereof complies with such licenses and/or rights.
Table of Contents
1. Why Rust?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Type Safety 8
2. A Tour of Rust. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Downloading and installing Rust 13
A simple function 16
Writing and running unit tests 17
Handling command-line arguments 18
A simple web server 21
Concurrency 28
Parsing pair command-line arguments 29
Mapping from pixels to complex numbers 31
Mandelbrot membership calculation 32
Writing bitmap files 34
A concurrent Mandelbrot program 35
Running the Mandelbrot plotter 38
Safety is invisible 40
3. Basic types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Machine types
44
Integer types 44
Floating-point types 47
The bool type 48
Characters 49
Tuples 50
Pointer types 52
References 53
Boxes 53
iii
剩余152页未读,继续阅读
资源评论
- sushisysu2020-03-07EarlyRelease版本, 权衡要不要下
- ylgrgyq2017-11-10还是挺好的 非常不错 很完整yinkaisheng-nj2017-12-05大家不要下载这个版本了,Programming Rust 原版无水印pdf 已经上传 http://download.csdn.net/download/u011433684/10146296
yinkaisheng-nj
- 粉丝: 763
- 资源: 6953
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功