News for hackers. Stuff that matters.
Re:Rust 1.0: Scheduling the trains by phaylon on Friday December 12, 2014 @11:54AM (#8741156)
I'm not really a C guy, but isn't #include about using a module in the current scope? Because Rust's mod is for project structure definition.
Re:Rust 1.0: Scheduling the trains by dbaupp on Friday December 12, 2014 @07:26PM (#8743518)
#include in C is just textual substitution of the contents of the specified file in place of the #include statement, there is not a concept of namespace in C.
Re:Rust 1.0: Scheduling the trains by Sir_Cmpwn on Friday December 12, 2014 @11:59AM (#8741195)
I can't really effectively explain how all of this works without providing a lot of background on systems languages in general, especially background on how linking works. Sorry.