说三道四技术文摘-感悟人生的经典句子
说三道四 > 文档快照

Rust一周集锦(三):关闭3个RFC并为1.4版本做准备

HTML文档下载 WORD文档下载 PDF文档下载
Hello大家好,欢迎来到这周的《Rust一周精彩回顾》,Rust是一种追求安全性、并发性和速度的系统语言。这是来自 http://this-week-in-rust.org/网站关于Rust的新的一周博文、活动、版本开发、贡献者的集锦。

Hello大家好,欢迎来到这周的《Rust一周精彩回顾》,Rust是一种追求安全性、并发性和速度的系统语言。这是来自 http://this-week-in-rust.org/网站关于Rust的新的一周博文、活动、版本开发、贡献者的集锦。在此,我们转载了过来,以便国内Rust语言爱好者学习。

精彩博文:

  • Rust in 2016.
  • [video] RustCamp 2015 videos are now online.
  • [slides] Rethinking Systems Programming.
  • A Rusting Rubyist V. Rust Parallel HTTP Requests in Ruby.
  • An Unfortunate Coercion.
  • Testing With Unused Arguments.
  • Rust and the most elegant FSM.
  • Why Rust Appeals to Me.

新版发布和项目更新:

  • Are we (I)DE yet?. An overview about the state of Rust development environments and their integrated bretheren.
  • The Rust by Example lifetime section is updated by mdinger.
  • cargo-outdated. A cargo subcommand for displaying when Rust dependencies are out of date.
  • Cargo Darf. Develop, test, run, and deploy Rust as a scripted language.
  • rustaceans.com. Rust user groups & mailing lists.

新的Rust贡献者名单:

  • Alex Ozdemir
  • Chris Krycho
  • Dylan McKay
  • Elaine "See More" Nemo
  • Jonas Schievink
  • llogiq
  • Nathan Kleyn
  • Nicholas Seckar
  • Niranjan Padmanabhan
  • Tim Neumann
  • w00ns
  • Without Boats

子团队报告:

每周 Rust团队会发布关于项目进度的报告, 这里是这周报告的集锦。

Compiler团队

Full report.

也许现在最激动人心的事情是 @huonw's PR implementing the groundwork for SIMD。我们也已经决定合并MIR RFC。

Lang团队

Full report.

下面是在最终讨论阶段被推举的RFCs:

  • RFC #1229, which specifies that when the compiler is doing constant evaluation as a form of optimization, it should not report compilation errors for overflows or other problems that are encountered (warnings are ok). Otherwise, improvements in the constant evaluator can become breaking changes.
  • RFC #1234, which modifies the DST coercion rules to permit PhantomData. The discussion has primarily focused on whether we can indeed make the rules even more accepting than that; conclusion was to leave this for future work.

Full list of T-lang RFCs in FCP.

一些不错的家伙(咳咳)也开始就有关内部中与整体后退相关的类型参数后退的话题做出讨论,这将会赚足眼球:

  • Interaction of user-defined and integral fallbacks with inference

上周,我们有很多进入FCP的RFCs,不幸的是,由于Felix Klock在一些容易赚钱的R&R之外,我们没有依据它们中的大多数做出最终的决定。然而,我们确实合并了一少部分没有争议性的项目:

  • RFC #1209 updates the follow set for types in macros to include ;.
  • RFC #1189 fixes some typos.

同时,即使有些观点也有可取之处,但因为优先级原因我们决定关闭一些RFCs:

  • RFC 886, allowing "must use" on functions (by @huonw).
  • RFC 890, custom preludes (by @aturon).
  • RFC 1216, promote ! to a type (by @canndrew).

Libs团队

Full report.

从当前发布的循环(1.4版本)开始,我们正在为稳定进程做的改变:

  • All unstable APIs now map to tracking issues. The APIs will be tagged with the issue tracking them, so when you get an error that you need a feature gate, the compiler can also tell you which issue to subscribe to for stabilization. We'll use these issues as a centralized place for discussing questions/concerns about APIs before they are stabilized.

  • Stabilization will be tied to our 6 week release cycles: at the beginning of the cycle, the team will announce a number of unstable features undergoing "final comment period" (heading either toward stabilization or deprecation). The comment period will last for the entire release cycle. One week before the release is cut, the team will make final decisions and land a PR accordingly.

这个新进程使功能通道更加可视化,使稳定进程更容易被跟进。

牢记上面所说的之后,下面是这个循环经历过FCP的特征:

  • FCP Issue #27277: Stabilisation of result_expect
  • FCP Issue #27736: Tracking issue for f{32,64}::from_str_radix
  • FCP Issue #27764: Tracking issue for CStr => str conversions
  • FCP Issue #27765: Tracking issue for collection append methods
  • FCP Issue #27766: Tracking issue for collection split_off methods
  • FCP Issue #27767: Tracking issue for VecDeque::retain
  • FCP Issue #27768: Tracking issue for Box::{into_raw, from_raw}
  • FCP Issue #27769: Tracking issue for CString::{from_ptr, into_ptr}
  • FCP Issue #27771: Tracking issue for some Duration-taking functions
  • FCP Issue #27773: Tracking issue for the socket timeout functions
  • FCP Issue #27775: Tracking issue for converting slice iterators to slices
  • FCP Issue #27776: Tracking issue for viewing Result/Option as slices
  • FCP Issue #27785: Tracking issue for Box/String conversions
  • FCP Issue #27792: Tracking issue for str::split_at
  • FCP Issue #27795: Tracking issue for creating BTree{Map,Set} with a B
  • FCP Issue #27797: Tracking issue for consumption into OS handles

总的来说,这周我们做了以下决定:

  • FCP PR #1195: ordered query API
  • Close, with the hope that we can find a way to achieve these goals with a smaller API surface
  • FCP PR #1192: RFC for inclusive ranges with ...
  • Merge, with the extra field for Iterator being kept unstable for the time being.

最终,下面是正在进入FCP的RFC:

  • FCP PR #1198: pretty print Debug of tuples, tuple structs and enum variants in a single line

Tool团队

Full report.

过去的两周里发生了很多激动人心的事件!

  • Rust 1.2 was released, thanks to @brson for doing the release process!
  • The main site is now hosted over https thanks to @edunham's move from GitHub pages to Cloudfront!
  • make check is now running for 64-bit MSVC. This means that all changes to the compiler must pass all tests on MSVC to land! Note that this is enabled by turning on unwinding for 64-bit MSVC which is in turn enabled by @vadimcn's awesome work on unwinding.
  • The cargo install RFC has been merged.
  • @brson has released a tool for testing whether publishing your crate would cause a regression on reverse dependencies.
  • multirust has gained a which command to locate where binaries are, thanks to @shaleh!

近期的Rust活动:

  • 8/18. Sydney.
  • 8/19. Los Angeles.
  • 8/20. Berlin.
  • 8/26. Columbus Rust Society.
  • 8/31. Paris.

原文地址: This Week In Rust 92(整理/何抒灿 责编/钱曙光)

往期回顾:

  • Rust一周集锦(一):《高级Rust编程语言》、新增13名贡献者
  • Rust一周集锦(二):7个项目更新及相关Meetup

编辑推荐:

  • Rust 开发技术学习路线(满满的都是干货)
  • 王川:Rust与异步并发的那些事儿
  • Mike:Rust是近15年最佳工程实践的集大成者
  • 专访Elton:浅谈C++、Go的挑战者Rust
  • 专访资深程序员庄晓立:我为什么要选择Rust?

更多 Rust 信息和交流,请加入 CSDN Rust 学习交流群,大牛在线分享、讲课、视频等等,不容错过。请加群主微信 qshuguang2008 或扫描下方二维码申请入群,需备注:实名+公司名+Rust。


极客头条Rust子社区,欢迎你来探讨和交流,直达地址:http://geek.csdn.net/forum/8

查看Android应用的详细信息2.3有新方法 Android开发Java图书推荐 Android开发图书推荐 UiModeManager设置夜间模式和行车模式 Android 2.2新增的DeviceAdminInfo类 Android获取摄像头详细信息 Android流量统计TrafficStats类的使用 电子邮件解析android.net.MailTo类 扫描和获取OBB文件信息 Android加速感应器开发平衡球代码解析 StrictMode限制模式API加速你的应用 手势识别兼容Android 1.x和2.x的代码 NativeActivity类在NDK中管理Activity OBB文件和StorageManager类使用介绍 DownloadManager下载管理类2.3新增API介绍 Android平台上的11个感应器你都知道吗 Android 2.3中的java.io.File类新增功能 更轻松的获取APK文件安装时间 Android控件对应表,丰富你的UI设计 Android开发进阶之NIO非阻塞包(八) Android开发进阶之NIO非阻塞包(七) Android开发进阶之NIO非阻塞包(六) Android开发进阶之NIO非阻塞包(五) Android开发进阶之NIO非阻塞包(四) Android开发进阶之NIO非阻塞包(三) Android开发进阶之NIO非阻塞包(二) Android开发进阶之NIO非阻塞包(一) Android开发进阶教程系列(一)目录篇 Android开发调试工具TraceView多图演示 Android JNI实例代码(二) Android JNI实例代码(一) 如何在dehpi中调出本地计算机的IP地址? 推荐一本书!!! 直连SQL SERVER2000怎么写代码?SQLCA.DBMS= "MSS microsoft sql server 2000" SDK实例的书有没有买的,请各位前辈推荐几本,谢谢了! 谁知道免费starcraft站网地址 一个程序开始端像dehpi会有一张图片以便缓冲,问这张图片怎么在程序中设制? 论坛全新开张,欢迎捧场 怎么将asf文件转换成avi文件 存储过程的问题? 如何在PictureBox控件中显示数据库中存储的图象 地址栏不见了!!! @@@@@@@@ TreeView 的问题 @@@@@@@@@@@@@@ 请教:哪里可以下载工具栏控件 怎样不用Delphi6的那个qtintf.dll啊? 对多语言问题的总结,集各位CSDN的智慧,让大家共享之 怎样将string类转化为其他类型,例如... 请问在哪里可以下在IIS 5.0 for Windows NT 4.0? 今天我才明白,我不是那么绝情,那个女孩竟然在我的心里留下了一份震撼 如何检测和修正ghost文件? Friecin(雪客)进来拿分(300分奉上,请高手做答关于MDI和DLL的问题) 想做程序员,考研如何选择 AnsiCompareStr和CompareStr? Behard进来拿分(300分奉上,请高手做答关于MDI和DLL的问题) CDatabase类里获取数据库名的函数是哪个啊? 请问RichEdit中如何在代码中修改选中字符的字体和颜色? 安装 WebSphere应用服务器问题 我发现我怀孕了,不知道是谁的!:( 中国电信 为什么我的打印机打印时会出现重影?? 我怎么把他们一一显示出来在listbox里?代码写出来! 请问BOOT扇区中各个数据的意义。。 有没有一次搞定具体时间的控件 tomcat配置简单的问题 问题:十六大代表需不需要办暂住证? 求教COOKIE的用法! JBuilder 7中如何安装一个Server ### 升级内核 ### 还有一个问题(树型列表) 哪里有Visual InetDev 6.0 下载? "分"到哪里去了? 有关于赋值的问题 技术的挑战,在线等待 有关csdn的一个小的问题? 显示模式的设置 怎么样删除在DATAGRID中选定的行? 如何自动滚动edit控件多行显示时的文字 win2000系统关闭后但不会自动断电源 寻找资料,请帮忙 难啊 统计数据 求:做得漂亮的学校主页 have just bought a car和 bought a car a short time ago I bought a new bike just nom.(用just改写)I ____just_____a new bike. 2013年春天里的发现作文 I have just bought a house in the country请高手翻译整句话.词组写下来啊 i bought a new bike just now用just改写 i( )justi bought a new bike just now用just改写i( )just ( )…… 英语翻译是我对你有强烈的感觉 还是 对你来说我有很强的感觉? 写一篇作文,题目是40年后的...可以是40年后的我,40年后的城市... 英语翻译Bom Senhores,Aguardo fotografias dos seus produtos.Obrigado pelo contato.Atenciosamente,Ari Firmino but ___ ____ you have made some progress 填进步sorry 打错了 应该填 至少 分析1978年后中国城市化进程加快的主要因素 He have already bought a new bike改错 You shouldn't drive here.(同义句转换) You ______ _______ _______ ________ drive here. 1978年后的中国大事年表 what do you have for breakfast这里为什么要用for 请老师们简单讲一下for的用法 这题为啥这样做?若不等式Ⅰx - 2Ⅰ+Ⅰx+3Ⅰ≤a有解,则a的取值范围是a≥5为什么呀那你给讲讲吧? i think that's everything翻译 We want to buy some potatoes.(一般疑问句) 这题为什么这样做?Isn't Mrs .webster here yet?No,(much to my surprise).为什么是much to my surprise?to my much surprise? 英语翻译That man knows the future Nasreddin was cutting a branch of a tree in his garden.While he was sawing,another man passed in the street.He stopped and said,'Excuse me,but if you continue to saw that branch like that,you will fall down with 一篇关于你童年玩伴的作文200字,用描写的手法, 这道题为什么这样做?甲每分走50米乙每分走60米丙每分走70米,甲乙A地,丙B地同时相向出发丙遇到乙2分后又遇到甲.A,B两地()设该路全长xm,则有x/(60+70)+2=x/(50+70).解之得:x=3120(m). 乡村演变为一般城市的条件是地形( )、水源( )、交通( ) What do you usually have for breakfast?和what areWhat do you usually have for breakfast?和What are you usually have for breakfast?急阿!具体点阿各位, 很多话叫( )言( )语 背后散布难听的话叫()言()语 说话声音轻柔、语气温和叫( )言( )语 what do you usually have for breakfast答语形式what do you usually have for breakfast?I usually have.问一下答语have后面怎么接名词?单复数形式是怎样的?还有答语用接chicken with vegetables 为什么蔬菜要加S? What do you usually have for breakfast?可不可一把for改What do you usually have for breakfast?可不可一把for改改成in为什么要用forfor在这里指什么意思 在平行四边形ABCD中,AM垂直于BC,AN垂直于CD,求证AM:AB=MN:AC 英语翻译某仪器is used to continuously measure the concentration of a and b artificial radioactive aerosols,in presence of natural radioactivity due to Radon,Thoron and g background noise.这句话应该怎么翻?主要是in presence of我不 英语翻译哪个翻译更好?1.红色能在你犹豫不决的时候帮你拿定主意.2.当你犹豫不决的时候,红色能帮你拿定主意. a moment ago和just now有什么区别?a moment ago和just now都是刚才的意思,它们有什么区别? What do you usually have for___breakfast,Peter?A fried egg,three pieces of bread and a glass of milk.A a B x C the let me know when you finish it如何翻译 just now 和 a moment ago 的区别 英语翻译重点:past a certain point 形容数量多的成语和形容人很高兴的四字词语有哪些 在平行四边形ABCD中,AM垂直于BC,AN垂直于CD,若AB=13,BM=5,MC=9.则MN的长度为 What Kind of a dream was that? what do you usually have for breakfast 紫外线可以穿过普通的透明玻璃吗? 请问:在现代汉语中,“谓语”和“动语”的定义分别是什么?从语言学的角度! Could you please bring me the books?两种回答怎么答? 紫外线能透过普通玻璃吗? 楚人贻笑与现代汉语不同的解释是哪句 What do you usually have for breakfast.外语 人活着的这一辈子到底是为了什么? 现代汉语中音素和音位的区别?麻烦举例说明下,如题! 请帮我翻译英语,我只希望你对我好一些,多在乎我一些 英语翻译诉求 He _____ soccer _____ his father.A.likes; likes B.likes; like C.like; looks like D.likes; look Books bring us the presence of mind that ever lived that ever presence 形容人物品德高尚我不要成语 The boy () his father very much.A.look like B.looks like C,is likes D.is likeing Books bring us into the presence of the greatest minds这句话怎么翻译好?请帮忙翻译一下这个句子 《2013的春天,我真( )》半命题作文600字左右 ____ the boy ____ his father or his mother A.Does,likes. B.Is ,look like C.Does,likes. D.Is like. 英语翻译能不能再帮我翻译一句。“我想知道你为什么不愿意和我在一起,请你用最直接的语言告诉我,因为我希望下次再碰见你这样的女孩我能够把握住” 《2013年春天,我真_______》作文 ,求原创,在线等待——快~ I have just bought a _____pencil box.A.cheap blue plastic B.cheap cheap blue C.plastic blue cheap D.blue cheap cheap当名词前有多个名词时,应该怎样排序? I have just bought a new bike.这句话是对的,可是买是不可延续的啊, 2013年的春天 初一作文!急 500字以上,谢谢大神500字以上,写景要描写详细,可以写一件以物喻人的温暖的事情更好
备案号:鲁ICP备13029499号-2 说三道四 www.s3d4.cn 说三道四技术文摘