News for hackers. Stuff that matters.
Re:My Business Card Runs Linux by anchpop on Tuesday December 24, 2019 @02:10PM (#21874223)
Rust doesn't compile very fast unfortunately, but it's being worked on. General wisdom says it's about as fast as Clang but comparing compile speeds across languages in a meaningful way is difficult
Re:My Business Card Runs Linux by giancarlostoro on Tuesday December 24, 2019 @02:11PM (#21874232)
Fair enough, thanks for that, I wasn't sure, all my Rust programs have been small enough to where I havent noticed. I wonder if it would of made sense for Rust to consider this earlier on in the same way that Pascal did. I believe I heard Pascal was designed to be parsed easily by machine code.
Re:My Business Card Runs Linux by steveklabnik on Tuesday December 24, 2019 @05:00PM (#21875197)
Parsing is not the reason why it takes a while to compile.
Re:My Business Card Runs Linux by Sharlin on Wednesday December 25, 2019 @06:50AM (#21878126)
"Parsing" was probably not the best choice of word on the GP's part, but they meant that Pascal was specifically designed to be implementable with a naive single-pass compiler; of course that would exclude many optimizations we take for granted these days.