Skip to content

Instantly share code, notes, and snippets.

@steveklabnik
Created June 8, 2014 02:03
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steveklabnik/616e89860446eb2a6732 to your computer and use it in GitHub Desktop.
Save steveklabnik/616e89860446eb2a6732 to your computer and use it in GitHub Desktop.
Rust changes through versions

Originally taken from here, cached as a gist so I can find it later. "Angolmois" is a music video game, that plays real BeatMania files, so it's a pretty full-featured game. At least, as full as you're gonna find in Rust from as long ago as it was started.

Angolmois Rust edition went through six different Rust releases without almost no change on the features, and the changes are as follows:

It includes the syntax changes, semantic changes, standard library changes, external library changes (rust-sdl; I indeed upstreamed some additions from Angolmois), bug workarounds and removals and so on. But it seems that the amount of overall change is stable; about 1/4 of the total code has to be changed per each release. (0.9 to 0.10 includes an extensive Vec conversion, so it is a sort of outlier.) Fortunately, starting with approximately 0.9, most required changes can be applied by making it compile again (a virtue of strong type system).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment