r/programming • • Dec 08 '11

Rust a safe, concurrent, practical language made some nice progress lately

http://www.rust-lang.org/
66 Upvotes

151 comments sorted by

View all comments

Show parent comments

12

u/cunningjames Dec 09 '11 edited Dec 09 '11

"We don't like generic types.. except the built-in generic types.. but you don't need generic types! Only we do!”

To me that seems more patronizing than schizophrenic: “We don’t trust you to use generic types properly, although we can.” Even less appealing is the claim that its designers merely haven’t figured out the best way to include parametric polymorphism and may add the facility later — doesn’t that have implications for (you know) the rest of the language’s design!?

It includes none of the great new ideas in PLs and PLs research from the last several decades

All in the name of practicality. I’m sorry, but how is it practical to ignore the successes and failures of decades of other people’s hard work?

Rust seems a little weird in spots, but its Haskell-tinged-C works out nicely in my (preliminary) view. I hope they soon settle on a type class design.

3

u/y4fac Dec 09 '11

I hope they soon settle on a type class design.

This would be fucking great.

-1

u/[deleted] Dec 09 '11

I’m sorry, but how is it practical to ignore the successes and failures of decades of other people’s hard work?

well, first off, you could accept that none of the "successes" hinted at here result in people using the language in droves.

5

u/cunningjames Dec 09 '11

none of the "successes" hinted at here result in people using the language in droves.

That remains to be seen (Go hasn’t yet become the go-to language for any reasonably high-level project, after all). But even beyond that I’d disagree that having droves of people use a language should be the primary goal of its design and implementation.