Re:Is Rust web yet? Not really
by chrismorgan on Wednesday May 28, 2014 @11:30AM
(#7810748)
I’ll be covering more about why Rust specifically in the talk; there are some really nifty things in its compiler and type system which allow for more than languages like Scala and Java 8. I’ve mentioned some of them in some of the other comments here; given the interest shown here, I think I’ll say more about what I hope for in the long term in a few weeks’ time. Oh, It also gives you a lot in the way of correctness which languages like Scala and Java 8 don’t give you.
[ Parent
| on HN ]
I looked at your other comments but couldn't see anything enlightening. I really enjoy Scala's type system and would love an excuse to learn Rust; what can Rust's type system do that Scala's can't? (I saw you mention an ORM; what additional safety could Slick gain if it were using Rust's type system?)
Rust has data-race-free concurrency. The compiler won't let you compile code that has data races unless you write "unsafe {}".
Re:Is Rust web yet? Not really
by frowaway001 on Thursday May 29, 2014 @07:41AM
(#7815709)
So Rust would be able to figure out that some transactions might be prone to rollbacks? What's the name of Rust's database library which does that?