News for hackers. Stuff that matters.
Re:Rust for C++ Programmers Part 7: Data Types by winter_blue on Friday May 23, 2014 @11:59PM (#7792584)
I just read the first section, just the section on structs -- what's different here, from C? It provides all of the same features, with a slightly different syntax.
Re:Rust for C++ Programmers Part 7: Data Types by nrc on Saturday May 24, 2014 @12:30AM (#7792610)
With structs, pretty much the only difference is the syntax. Enums are probably where the biggest differences are from C, as far as data types go.
Re:Rust for C++ Programmers Part 7: Data Types by kzrdude on Saturday May 24, 2014 @09:42AM (#7793309)
Read the rest!

To start you off, the best and most major difference to C is that Rust structs can have destructors.