News for hackers. Stuff that matters.
Re:Rust Starter Kit 2020 by Matthias247 on Sunday October 04, 2020 @07:42PM (#24683140)
I can probably. I guess a few prinicpal/staff engineers can too. But doing cross FFI async function invocations and trying to unify runtimes in that fashion is not a thing that people usually do. And it still wouldn't allow you to call QT socket APIs and Netty socket APIs from the same thread.
Re:Rust Starter Kit 2020 by pjmlp on Monday October 05, 2020 @02:40AM (#24685147)
You missed the point, the languages I mentioned have it as relevant enough to have the async runtime as part of the standard library, instead of leaving it to 3rd parties.
Re:Rust Starter Kit 2020 by Matthias247 on Monday October 05, 2020 @03:38AM (#24685423)
C++ coroutines are not more „part of the standard library“ than rusts async support. One might say it might be less, since they arrived so late in c++ lifetime and more Production libraries have been built without them und mind.

And again, they don’t make GTK and Qt and boost Asia eventloops interoperable. Even if you implement co_await support for each of them individually

Re:Rust Starter Kit 2020 by dathinab on Tuesday October 06, 2020 @02:04PM (#24700626)
Yes it's VERY important to differenciate between async/await support (co-rutine) and doing async-io.

The problems all come from async-io.

"Pure" async/await can be mixed and matched in rust without any problems.

But the moment you touch IO (including timeout) a reactor is needed and things get complicated.

Re:Rust Starter Kit 2020 by pjmlp on Monday October 05, 2020 @03:47AM (#24685486)
They surely are defined by ISO C++ standard.

Like any ISO standard, certain details are expected to be implementation dependent in any ISO C++20 compliant compiler, not missing like on Rust's case.