24 days of Rust - built with Rust
Important note: this article is outdated! Go to http://zsiciarz.github.io/24daysofrust/ for a recent version of all of 24 days of Rust articles. The blogpost here is kept as it is for historical reasons.
Today I'm not going to focus on any specific tool or library. Instead this blogpost will be a showcase of cool things built with Rust. Even though the language is still before 1.0 (but we're getting there!), there are already a few interesting projects out in the wild.
And I don't mean only development libraries - I've been writing about them for the last three weeks :-)
This is kinda obvious. Well, maybe not... First versions of the Rust compiler were written in OCaml. Since then every
rustc release is built with the previous version, and so on. Such an approach is sometimes called dogfooding.
The compiler and libraries are not the only rusty things coming from Mozilla. Servo is an experimental web browser engine pursuing the same values as Rust does: safe, concurrent and fast. It's still too early to integrate it in a browser, but it passes ACID2 and is improving day by day.
For a much simpler browser rendering engine in Rust check out robinson by Matt Brubeck, as well as his awesome blogpost series - Let's build a browser engine!.
iota is a work-in-progress console text editor. At the moment it's capabilities are really basic and I don't like emacs-based keybindings, but I've already written one of the examples for 24 days of Rust in iota, just to try it out.
wtftw is a tiling window manager similar to xmonad. I must confess I don't use a tiling WM (yet) so I can't state my personal opinion, but the community reaction was very positive. The author started a tutorial on how to write a window manager. I'm very much looking forward to it.
This coreutils repository is an attempt to rewrite GNU coreutils in Rust. I find it interesting to dive into the sources of some program, for example wc, and read the code. This is sometimes inspiring, sometimes... not so much. But the big win for Rust coreutils is that it should work on Windows, at least these commands that make sense there.
hematite is a simplistic Minecraft clone in Rust using the Piston game engine. Even though I know next to nothing about writing 3D games, Piston with SDL2 looks interesting.
I've picked only a handful of Rust projects that caught my attention in the last few months. You can go to rustkit.io or crates.io to see new and trending libraries or browse the Rust subreddit for new project announcements.
Photo by Paul Stevenson and shared under the Creative Commons Attribution 2.0 Generic License. See https://www.flickr.com/photos/pss/4083476381