Yes, I am still learning Rust

栏目: IT技术 · 发布时间: 4年前

内容简介:Recently, I got yet another nice email from a “talent sourcing specialist” asking me if I’d like to work for their company. This one stood out from the usual blockchain recruiting spam by actually looking at this blog. And they told me their expectation

Recently, I got yet another nice email from a “talent sourcing specialist” asking me if I’d like to work for their company. This one stood out from the usual blockchain recruiting spam by actually looking at this blog. And they told me their expectations were lowered by the front matter stating that I’m currently learning Rust (though not too badly, because they actually looked at the commit history and found out it was written in 2015).

This led me to the question if I should change my front matter. (Aside: I did change it, removing the Java reference, because I’m now working with Rust. Yay!) Am I still learning Rust? After 5 years? How time flies!

I used to learn a new programming language every one or two years for a good while. Yes, I’m a programming language afficionado. Still, there’s so much to learn with Rust that I’ve still not finished learning it. To master it might easily take a lifetime. Rust is really huge. But I could quit anytime I want, I console myself as I try out yet another cool technique.

I won’t stop though, because besides being huge, Rust is really fun! Because there’s so much cleverness and attention to the details, new features will interact in absolutely-non-horrible ways. This means that things usually work out completely unsurprising. What’s more, looking for surprises often results in delightful new techniques.

Rust evolves steadily. I’d argue mostly for the better. This may sound like a contradiction – how can something so good get better? – but Rust despite all its greatness still has some rough edges that are continuously sanded down. Also Rust gleefully borrows concepts from other languages to see if they fit.

There’s async fn, const generics (which will take some time to become stable) and there are still some rough edges around procedural macros (with a very interesting RFC which would make them asynchronous as well). A recently found soundness hole around pin will lead to negative impls, which were proposed before but avoided because the interactions were insufficiently understood. I have high hopes for this one. In short, there doesn’t seem to be a dearth of things to learn anytime soon.

So, yes, I am still learning Rust.


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

算法技术手册(原书第2版)

算法技术手册(原书第2版)

George T. Heineman、Gary Pollice、Stanley Selkow / 杨晨、曹如进 / 机械工业出版社 / 2017-8-1 / 89.00元

本书使用实际代码而非伪代码来描述算法,并以经验主导支撑数学分析,侧重于应用且规范严谨。本书提供了用多种程序设计语言实现的文档化的实际代码解决方案,还介绍了近40种核心算法,其中包括用于计算点集的Voronoi图的Fortune算法、归并排序、多线程快速排序、AVL平衡二叉树实现以及空间算法。一起来看看 《算法技术手册(原书第2版)》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换