美文网首页
Rust and Graydon Hoare

Rust and Graydon Hoare

作者: 戈壁堂 | 来源:发表于2021-04-27 20:20 被阅读0次

2018年1月15日的发帖:[I wonder, why Graydon Hoare, the author of Rust, stopped contributing into it and switched to Swift?] (https://www.reddit.com/r/rust/comments/7qels2/i_wonder_why_graydon_hoare_the_author_of_rust/)

当事人第二天回复——

I didn't. At least, not the way that sentence characterizes the timeline.`

I burnt out; ran out of emotional energy to be effective in my role as technical lead for the project mid way through 2013 (at the tail end of my divorce, and while recovering from a surgery -- not a great time in my life), so I took a break, switched off the Rust team, took a year to work on lower-profile and less-time-sensitive projects inside Mozilla (test-farm automation for Firefox-on-Android at first; later the wifi-and-cell geolocation service), eventually quit Mozilla and worked for a completely unrelated payment network (Stellar) doing a distributed transaction processor for another year and a half, then finally in early 2016 got a call from someone at Apple saying they were looking for some folks to help with Swift (in a non-leadership position, which I prefer).

It's got nothing at all to do with an assessment of the relative merits of the languages. I like Rust a lot, and still consider it a very important technical contribution to the landscape (in the sense of a successful technology transfer from research to industry, prioritizing memory safety and data-race safety for systems programmers -- see my comments on this matter here). I'm also thrilled to see the community develop to such a broad and healthy extent: both the wide ecosystem of libraries, the quite broad ownership of the language and compiler codebase itself, and the extent to which the community emphasizes beginner-friendliness, simplicity, helpfulness, approachability, mentoring, documentation, outreach, and yes even its battle-weary code of conduct (which you can blame me for if you are looking for someone to blame). IMO these are all great things, and I think Rust will always have a special place in my heart given the unusually intense effort I put into its first 7 or so years.

But: I don't think Rust is the last or only language that needs to exist. Indeed, I think there's quite a lot of work left to do on languages before anyone could credibly argue such things about any language. I've always been a language pluralist -- picture my relationship towards languages like a kid enjoying a wide variety of building blocks, musical instruments or plastic dinosaurs -- and I don't think evangelism or single-language puritanism is especially helpful.

More specifically: I like Swift too! I even said so when it was released. It has a bunch of qualities that Rust lacks (the clang importer, reflection, a repl and playgrounds, runtime-dynamic generics, keyword arguments, cleanly-integrated reference-typed classes, user-extensible pattern matching, simplified local borrow-like alias control, compiler-supported ARC, generally much lower cognitive load) and an overall different area of focus (mostly user-facing, UI-centric app development, so far). In many ways, it took things that Rust tried to do early in its life and ran with them, rather than changing course in the same places Rust did; there's a lot of familiar pieces. I'm happy Swift exists too, and I'm happy to be working on it. Various members of the Rust and Swift teams know each other, talk to one another, trade ideas and implementation insights, and generally coexist peacefully; and they're both fantastic groups to work with. I feel very lucky to have had the chance to work in both projects.


提交记录来看,最后是2015年 Commits on Apr 18, 2015,后续fork了一份也没怎么继续:This branch is 100808 commits behind rust-lang:master.

发版记录Version Release:第一版发布于Version 1.0.0 (2015-05-15)

相关文章

网友评论

      本文标题:Rust and Graydon Hoare

      本文链接:https://www.haomeiwen.com/subject/gjefrltx.html