Article 5ZDQ0 Huang: Rust: A Critical Retrospective

Huang: Rust: A Critical Retrospective

by
corbet
from LWN.net on (#5ZDQ0)
Andrew 'bunnie' Huang has posted an extensive review ofthe Rust language derived from the experience of writing "over100k lines" of code.

Rust is a difficult language for authoring code because it makesthese "cheats" hard - as long as you have the discipline of notusing "unsafe" constructions to make cheats easy. However, reallyhard does not mean impossible - there were definitely some cheatsthat got swept under the rug during the construction of Xous.

This is where Rust really exceeded expectations for me. Thelanguage's structure and tooling was very good at hunting downthese cheats and refactoring the code base, thus curing the cancerwithout killing the patient, so to speak. This is the point atwhich Rust's very strict typing and borrow checker converts from aproductivity liability into a productivity asset.

External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments