manishearth.github.io
The Rust compiler is written in Rust. This is overall a pretty common practice in compiler development. This usually means that the process of building the compiler involves downloading a (typically) older version of the compiler. This also...
News & Blog Posts
2016-12-06
~18 min read
manishearth.github.io
Recently we (Felix, Niko, and I) have been working on getting compiler-level GC support for Rust. The plan is to provide a base set of APIs and intrinsics on which GCs can be built, without including an actual GC itself. This blog post serv...
News & Blog Posts
2016-08-23
~17 min read
manishearth.github.io
One reason I really like open source is that it offers a lot of great opportunities for newish programmers to get some hands-on experience with real world problems. There’s only so much one can learn from small personal projects; but in ope...
News & Blog Posts
2016-01-11
~15 min read
manishearth.github.io
For a while I’ve been working on a garbage collector for Rust with Nika Layzell. I thought this would be a good time to talk of our design and progress so far. Motivation “Wait”, you ask, “why does Rust need a garbage collector”? Rust is su...
From the Blogosphere
2015-09-07
~14 min read
manishearth.github.io
In every talk I have given till now, the question “how does Rust achieve thread safety?” has invariably come up1. I usually just give an overview, but this provides a more comprehensive explanation for those who are interested See also: Huo...
Notable Links
2015-06-07
~7 min read
manishearth.github.io
This post is now a part of the official rust book In my previous post I talked a bit about why the RWlock pattern is important for accessing data, which is why Rust enforces this pattern either at compile time or runtime depending on the ab...
Notable Links
2015-06-07
~16 min read
manishearth.github.io
Edit (Jan 2017): I re-discovered Niko’s post which touches on this and reaches for the same realization. I suspect I subconsciously got the idea for this from that post, at least in part. This is a post that I’ve been meaning to write for a...
Notable Links
2015-05-18
~12 min read
manishearth.github.io
Yesterday I was working on a small feature for the Rust compiler, and came across a situation which really showcased Rust’s awesomeness as a language. There was a struct which was exposed to an API, and I wished to give it access to a list...
Notable Links
2015-05-04
~8 min read