Featherweight Musings

I'm a research engineer at Mozilla working on the Rust compiler. I have history with Firefox layout and graphics, and programming language theory and type systems (mostly of the OO, Featherweight flavour, thus the title of the blog). http://www.ncameron.org @nick_r_cameron

Friday, May 23, 2014

Rust for C++ programmers - part 7: data types

›
In this post I'll discuss Rust's data types. These are roughly equivalent to classes, structs, and enums in C++. One difference wit...
6 comments:
Sunday, May 18, 2014

Rust for C++ programmers - part 6: Rc, Gc, and * pointers

›
So far we've covered unique and borrowed pointers. Unique pointers are very similar to the new std::unique_ptr in C++ and borrowed refe...
2 comments:
Tuesday, May 06, 2014

Rust for C++ programmers - part 5: borrowed references

›
In the last post I introduced unique pointers. This time I will talk about another kind of pointer which is much more common in most Rust p...
11 comments:
Saturday, May 03, 2014

A thought on language design

›
Language designers often aim to make their languages simpler, more elegant, or smaller. If we are doing practical language design (as oppos...
10 comments:
Tuesday, April 29, 2014

Rust for C++ programmers - part 4: unique pointers

›
Rust is a systems language and therefore must give you raw access to memory. It does this (as in C++) via pointers. Pointers are one area w...
7 comments:
Wednesday, April 23, 2014

Rust for C++ programmers - part 3: primitive types and operators

›
Rust has pretty much the same arithmetic and logical operators as C++. `bool` is the same in both languages (as are the `true` and `false` ...
4 comments:
Sunday, April 20, 2014

Formatting change

›
Quick note - yes, I have changed the formatting on my blog - hope you like it!

Rust for C++ programmers - part 2: control flow

›
If The `if` statement is pretty much the same in Rust as C++. One difference is that the braces are mandatory, but brackets around the ...
22 comments:
Friday, April 18, 2014

Rust for C++ programmers - an intermission - why Rust

›
I realise that in terms of learning Rust, I had jumped straight to the 'how' and skipped the 'why'. I guess I am in enough ...
4 comments:

Rust for C++ programmers - part 1: Hello world

›
This is the first in a series of blog posts (none written yet) which aim to help experienced C++ programmers learn Rust. Expect updates to ...
17 comments:
‹
›
Home
View web version
Powered by Blogger.