865 karma · joined January 6, 2021
If you are not using a GC language, you WILL be managing lifetimes. Rust just makes it explicit, when the compiler can’t prove it’s safe, which Zig, C don't really care.
IMO this is not a good reason at all.
I don't mind but many do so I don't see this as a plus.
> Every function with an IO interface cannot be reasoned about locally because of unexpected interactions with the io parameter input
This means with IO interface is not quiet clear what WILL happen so it “depends”
There is no idiom about this. Do it if you like but clipply doesn't warn about any of it.
Wasn't this only true when CPUs were single core only? Only when multi core CPUs came, true parallelism could happen (outside of using multiple CPUs)
I read your response 3 times and I truly don't know what you mean. Mind explaining with a simple example?
More control over what exactly? Allocations? There is nothing Zig can do that Rust can’t.