News for hackers. Stuff that matters.

freeordead

Re:Show HN: Algorithm Cookbook in Rust on Tuesday June 20, 2017 @12:14AM (#14592148)
Just be careful to not adapt the michaelochurch approach. Very risky :)
Yes but then 40 people learn stuff instead of 2. So I think the benefits side has some additions, not just the cost side.
Re:Show HN: Algorithm Cookbook in Rust on Monday June 19, 2017 @04:51PM (#14590361)
Well I would say their philosophy first of all relies on strong tools. Intellij with CHelper plugin allows for simpler testing and also has incredibly powerful debugging as I am sure you have seen in their screencasts.

Also I think they sort of show the value of Java's simpler approach with everything being a reference in terms of writing code quickly. The alternative approach that C++ competitors use relies on a very specific style unlike what production code at say Google uses, with pointers used as sparingly as possible. With everything being a reference it is much easier to work with graphs for instance.

To me Rust goes even further into the C++ direction where it becomes more and more difficult to quickly write code that compiles. With Java I have no issue writing 100 lines and having everything compile the first time around, particularly with an editor like Intellij. With C++ even Clion struggles significantly with producing helpful info, simply due to the complexity of C++.

Anyway don’t have enough time to really eloquently think through all aspects of this. Also I was just kidding about CF rating, you are far better than me obviously.

Re:Show HN: Algorithm Cookbook in Rust on Monday June 19, 2017 @04:43PM (#14590295)
So what is the point of a language in which things are hard to implement?
Re:Show HN: Algorithm Cookbook in Rust on Monday June 19, 2017 @04:42PM (#14590286)
Ah yes, a unicorn.
Re:Show HN: Algorithm Cookbook in Rust on Monday June 19, 2017 @04:36PM (#14590246)
Would be a stronger argument if you had a better rating on CF :) As of now I will stick to the Petr / Egor philosophy.