Re:The struggle with Rust
by tonyedgecombe on Tuesday January 24, 2017 @08:55AM
(#13471265)
I doubt moving from Java to C++ would be that trivial, Java is a comparatively safe language without many of the issues that will trip you up in C++.
[ Parent
| on HN ]
From personal experience, it's not that bad. C++ is "Java plus you need to worry about these other things", and it pays off in power and speed. They're not so similar in safety/scope terms, but the structure and design have enough in common that you get plenty of spare brainpower to worry about managing C++.
It was, for instance, a way more natural transition than "Java and C++ to OCaml". Less educational, but as usual that trades against easy.
Re:The struggle with Rust
by yellowapple on Tuesday January 24, 2017 @11:48AM
(#13472994)
In particular, the lack of pointers in Java would probably annoy the article author as much as Rust does.
Re:The struggle with Rust
by AstralStorm on Wednesday January 25, 2017 @03:50AM
(#13479834)
Personally (not the author) I am more annoyed by the gutted single inheritance no traits type system.
You have numeric pointers into arrays, they're called indices.