Live data from Hacker News

We interfaced single-threaded C++ with multi-threaded Rust

antithesis.com

1–10 of 12 posts

Re: We interfaced single-threaded C++ with multi-threaded Rust

#5
post #2

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

Re: We interfaced single-threaded C++ with multi-threaded Rust

#9
post #2

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.

Wow, I wouldn't have thought that it would be possible to do this (at least, not ergonomically, although now that you mention it I guess I don't see why not). That would be amazing to see.

Re: We interfaced single-threaded C++ with multi-threaded Rust

#10
post #5
post #2

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

https://rockwotj.com/blog/async-wasm-in-seastar/ - been meaning to write about this for a long time. Thanks for the nudge :)
Post reply on HN