HNHacker News
TopNewBestAskShowJobs

gdxhyrd

233 karma · joined November 6, 2019

submissionscomments
gdxhyrd··on Async-await on stable Rust
Rust futures are just types that implement an interface providing a method to advance execution if possible and signal when they have more work to do.
gdxhyrd··on Async-await on stable Rust
Rust cannot guarantee the lack of deadlocks or overall thread-safety. It does guarantee no data races, though.
gdxhyrd··on Rust async/await hits stable tomorrow
You are mixing up asynchronous IO with non-blocking IO with async syntax sugar.

As the name implies, async syntax sugar is a convenience, it does not magically improve performance.

gdxhyrd··on Rust async/await hits stable tomorrow
If you are deadlocking, you have a bug. If you hit OOM, you most likely have leaks or went wild with threads or allocations.

Both of those conditions are orthogonal to async/thread pools, so what do you mean?

gdxhyrd··on Rust async/await hits stable tomorrow
The same can be achieved easily with non-blocking IO with an event loop.

In addition, several threads will go faster than one as soon as any two remotes overlap.

gdxhyrd··on Rust async/await hits stable tomorrow
That already happens with any competent scheduler, no?
gdxhyrd··on TheForger's Win32 API Programming Tutorial
Abandoned? Every single Windows application uses it, regardless of the language, framework or anything else.

It is the equivalent to Linux syscalls, since it is the lowest stable layer in Windows land.

← PreviousPage 5 of 5