50 points | by lukastyrychtr 6 days ago ago
4 comments
Seems like objc2 crate uses same approach (MainThreadMarker).
It would be more interesting if it was on how to combine C++20 co-routines with Rust async-await models.
Combining single-threaded C++ with multi-threaded languages has been a thing for quite some time.
I have done this integrating wasmtime into a a C++ seastar.io application. I’ll have to write a post about it
Pretty sure I’ve done similar, combined a Rust multi-threaded emulator with single threaded SystemC simulation
Seems like objc2 crate uses same approach (MainThreadMarker).
It would be more interesting if it was on how to combine C++20 co-routines with Rust async-await models.
Combining single-threaded C++ with multi-threaded languages has been a thing for quite some time.
I have done this integrating wasmtime into a a C++ seastar.io application. I’ll have to write a post about it
Pretty sure I’ve done similar, combined a Rust multi-threaded emulator with single threaded SystemC simulation