Settings

Theme

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

antithesis.com

107 points by lukastyrychtr 3 months ago · 11 comments

Reader

wsx-antithesis 3 months ago

Hi, I (Shuxian) worked with Michael on this project. Happy to answer any questions! We'll also post a followup next week on formally verifying our unsafe primitives in the style of RustBelt (https://plv.mpi-sws.org/rustbelt), if that interests you.

pjmlp 3 months ago

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.

mchlgibs 3 months ago

I'm the author.

Thanks for the interest; I've never had a post on Hacker News before.

I'm happy to answer any questions.

chris_money202 3 months ago

Pretty sure I’ve done similar, combined a Rust multi-threaded emulator with single threaded SystemC simulation

yuryk 3 months ago

Seems like objc2 crate uses same approach (MainThreadMarker).

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection