Skip to content

Difference between Lunatic and Bastion #27

Answered by bkolobara
zmilan asked this question in General
Discussion options

You must be logged in to vote

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:

  • Limit per process memory/cpu usage.
  • Disallow a specific process from reading from filesystem or opening network connections.

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).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zmilan
Comment options

@aschrijver
Comment options

Answer selected by zmilan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #25 on March 03, 2021 21:56.