This week, the talented Julien Fitzpatrick (btw, you should check out their RustConf talk if you haven't already) asked what a good list would be for people who are interested in programming languages and compilers. I took it as a good excuse to write a blog post with some of my …
Read more...
I recently did some work with Niko Matsakis on a new compiler error format. You can try them out
by setting RUST_NEW_ERROR_FORMAT=true. While I put together a
blog post talking about the design for the main blog, I also wanted to open it up for people to come
help us move to the …
Read more...
I've just updated Rhai to 0.2. This release focuses on improving the interaction between Rhai and Rust. The result is a cleaner, easier-to-use API. This new API does mean some API breakages, so you'll need to update your code to work with 0.2.
With this release, Rhai also now has…
Read more...
For the last few weeks, I've been working on an embedded scripting language for Rust, based loosely on ChaiScript called Rhai. What's an embedded scripting language? While the definition might depend on who you ask, for this post embedded scripting has a few distinct features:
A…
Read more...
One of the first things you might notice about Rust, if you come to it from other OOP-style languages, is that Rust separates methods from the data they work on. You create your struct, then you impl a few methods on it later.
struct Rect {
height: i32,
width: i32
}
imp…
Read more...