News for hackers. Stuff that matters.
Re:Ask HN: Will Rust ever become a mainstream systems progra... by eridius on Monday April 10, 2017 @03:33PM (#14081814)
I don't know why you're calling all of that stuff "weird". I have to assume it's simply because you were never exposed to another language that had stuff like it. But you're definitely wrong about that keeping Rust from going mainstream - just look at Swift, which has a very similar trait system (called protocols), enum variants with associated values, an arguably weirder error system, widespread closures, and half-functional style. And I'd say Swift is already fairly mainstream.
Re:Ask HN: Will Rust ever become a mainstream systems progra... by lossolo on Monday April 10, 2017 @03:55PM (#14081992)
Swift is mainstream because Apple replaced Objective-C with it for iOS and said that it's new standard for writing apps. How much of Swift is written out of Apple ecosystem? Not much.
Re:Ask HN: Will Rust ever become a mainstream systems progra... by eridius on Monday April 10, 2017 @04:01PM (#14082039)
Apple didn't replace Obj-C. They added Swift alongside it. Literally nobody is being forced to switch, and all of Apple's frameworks are still written in Obj-C (they can't be written in Swift until Swift has ABI stability).

Yes, Apple's weight helped Swift tremendously. But people are switching from Obj-C to Swift because they think it's better, not because Apple's making them.

> How much of Swift is written out of Apple ecosystem? Not much.

Not much yet, because the Linux support is still missing a lot, but it's being filled in quickly, and a lot of people seem to be excited about being able to start using Swift on Linux.