News for hackers. Stuff that matters.
Re:The struggle with Rust by wyldfire on Tuesday January 24, 2017 @10:43AM (#13472211)
> Agreed. Rust is different from other languages in that it is HARD to learn.

Don't you think C/C++ are hard to learn too? C++ has a vast surface area and I think it's unlikely that most people who use it understand much of it. When I code in C, I feel like I have to be paranoid because it's so easy to forget a path that doesn't recover allocated resources. But if I'm not paranoid, I just leak the resources and don't care about it (ever, or until many months or weeks later when the problem's discovered). So the easiness is illusory IMO. It seems to me that all of those other resource leaks are just leaking too slowly for us to discover yet.

> Each project involved tons of compiler fighting that I now know how to avoid or solve.

As frustrating as it is, it's easier than struggling with heisenbugs. Those can easily eat up days trying to reproduce issues.

Re:The struggle with Rust by adrianN on Tuesday January 24, 2017 @11:04AM (#13472425)
I think it's easier to get started with C++ because it contains simpler languages. You don't have to start with template metaprogramming, you can be productive with a small subset of C++.
Re:The struggle with Rust by flukus on Tuesday January 24, 2017 @11:35PM (#13478555)
C++ is hard, but C is about the simplest language in modern use.