News for hackers. Stuff that matters.
Re:Zlib-rs is faster than C by cmrdporcupine on Sunday March 16, 2025 @09:25PM (#43384296)
IMO shipping async without a standardized API for basic common async facilities (like thread spawning, file/network I/O) was a mistake and basically means that tokio has eaten the whole async side of the language.

Why define runtime independence as a goal, but then make it impossible to write runtime agnostic crates?

(Well, there's the "agnostic" crate at least now)

Re:Zlib-rs is faster than C by dralley on Sunday March 16, 2025 @11:08PM (#43384821)
>IMO shipping async without a standardized API for basic common async facilities (like thread spawning, file/network I/O) was a mistake and basically means that tokio has eaten the whole async side of the language.

I would argue that it's the opposite of a mistake. If you standardize everything before the ecosystem gets a chance to play with it, you risk making mistakes that you have to live with in perpetuity.

Re:Zlib-rs is faster than C by no_wizard on Monday March 17, 2025 @12:44AM (#43385278)
Unless you clearly define how and when you’re going to handle removing a standard or updating it to reflect better use cases.

Language designers admittedly should worry about constant breakage but it’s fine to have some churn, and we shouldn’t be so concerned of it that it freezes everything