Menu

📰
0

Do you miss effect handlers in Rust?

Reddit r/rust·u/Ecstatic-Panic3728·about 1 month ago
#Vw8vvfzK
#rust#languages#effect#handlers#scala#article
Reading 0:00
15s threshold

Do you miss effect handlers in Rust? I've been programming on mainstream languages for quite some time, but since I started to use more Scala and Rust my mindset has completely shifted and I can't put the genie back in the bottle. But I'm facing some philosophical dilemas now. I really can't decide on what to use, and I don't want to be a jack of all trades. Not that I'll not learn new languages, but I would like to go deep in one. In terms of type system I think Rust nails the idea of "make invalid states unrepresentable", at least on, let's say, reasonable adopted languages. What is bothering me is that I'll not write any sort of systems code and I'm totally fine with a GC, which would massively simplify the code. But I don't think there is anything on this space today and maybe Rust is the best we have? For example, OCaml would be a good alternative, but very very very little adoption and missing libraries.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More