Re:Zig, parser combinators, and why they're awesome
by anderspitman on Thursday March 11, 2021 @09:41AM
(#26424450)
I have no doubt it can be learned, and I've tried to get over the hump multiple times, but still don't feel as comfortable with Rust as I do with every other language I've worked in, even those I've only spent a few hours in.
It's all about tradeoffs, and at a certain point you have to question whether the academic assurances offered by Rust are worth the complexity, given the problem at hand. As I said, it's obviously worth it for some problems, but I don't think it is for all problems. Which is great! I think the world would be boring if there was one language to rule them all.
Re:Zig, parser combinators, and why they're awesome
by volta83 on Thursday March 11, 2021 @04:38PM
(#26429310)
feel you, just pointing out that trying competitive programing and their resources might give you a different point-of-view to attack the issue
but like you mentioned, its always nicer if there is no "issue" to be learned in the first place
This requires practice, but given the choice, competitive programmer teams picking Rust do quite well in competitions (ICFP has been won by teams using Rust 3 years in a row, and in the last 3 years, two teams in each year's the top 3 used Rust): https://www.reddit.com/r/rust/comments/ctzmo2/icfp_2019_prog...
There are teaching materials for competitive programming with Rust, you might want to check those. I think they are a good way to learn how to "prototype" in Rust.
It's different enough from other languages that this is a skill that must be actively learned :/