Replies: 2 comments 5 replies
-
Unfortunately I don't think Livebook is a good model for this because it runs via Distributed Erlang. Which means any notebook (code execution) has access to all other notebooks. You need a different execution model (it is not easier nor harder, just different) in order to enable functionality like this. |
Beta Was this translation helpful? Give feedback.
2 replies
-
The use cases you mentioned are more about stateless evaluation and that itself is fairly straightforward to implement. The important part is sandboxing the evaluation and as @josevalim mentioned that's not something Livebook does. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I'm just wondering is it possible to expose an API that take in code as input and have the executor run the code and return the result? It will allow a few interesting use case such as:
iex
and Livebook. Furthermore, some of the browser based IDE such as repl.it has support for Elixir as well.mdBook
specific features.One of the limitations/challenges/concerns I could thought of:
Given that Livebook is already such an amazing software to use, I understand that the costs of implementing this might outweighs the benefits or use cases mentioned above.
As I'm unsure about the complexity involved, I would like to hear different perspectives on this. So, what's you all thoughts about this?
Beta Was this translation helpful? Give feedback.
All reactions