|
Hi, I'm very new to both of these tools and both look very much awesome to me. But I'm not able to understand deeply what is difference between them except that the Lunatic target is wasm while Bastion stays in Rust. Could anyone help me to understand this better? Thanks in advance. |
Answered by
bkolobara
Mar 3, 2021
Replies: 1 comment 2 replies
|
Hi @zmilan! The biggest difference to me is that Bastion's processes are just Rust Futures. This makes them extremely lightweight and fits perfectly into the existing Rust eco-system. But you can't do some of the stuff that Lunatic enables:
From the perspective of a process in Lunatic, it owns the whole memory. You can never read/write directly to the memory of other processes (not even through unsafe pointer dereferencing). |
2 replies
Answer selected by
zmilan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @zmilan!
The biggest difference to me is that Bastion's processes are just Rust Futures. This makes them extremely lightweight and fits perfectly into the existing Rust eco-system.
But you can't do some of the stuff that Lunatic enables:
From the perspective of a process in Lunatic, it owns the whole memory. You can never read/write directly to the memory of other processes (not even through unsafe pointer dereferencing).