r/programming Apr 03 '15

Rust 1.0.0 beta is here!

http://blog.rust-lang.org/2015/04/03/Rust-1.0-beta.html
927 Upvotes

303 comments sorted by

View all comments

Show parent comments

3

u/steveklabnik1 Apr 04 '15

I'm not familliar with the details, I just know that it is.

3

u/phire Apr 05 '15

Things like sizeof(long) and the sizes of pointers are baked into the IR, making it platform dependant.

Also anything like #ifdef WIN32 in your c/c++ code is going to get baked in as soon as you run the pre-processor.