← Back to context

Comment by josephg

21 hours ago

Another argument as to why rust isn't the forever-language. My forever language should include effects!

Even rust has need of this. For example, I want a nopanic effect I can put on a function which makes it a compile error for anything that function calls to panic.

Though I think it's the closest language right now, ideally you have something that is close to "zero-overhead" as your forever language.

I really like how flix.dev looks, but there's always a little nagging at the back of my head that something like rust will always produce more performant software.

> Even rust has need of this. For example, I want a nopanic effect I can put on a function which makes it a compile error for anything that function calls to panic.

This!

This apart from build times is my biggest request for the language.

Nopanic, nomalloc, etc.