Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: isolated contract execution environment #27

Closed
ppedziwiatr opened this issue Sep 14, 2021 · 3 comments
Closed

feat: isolated contract execution environment #27

ppedziwiatr opened this issue Sep 14, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@ppedziwiatr ppedziwiatr added the enhancement New feature or request label Sep 14, 2021
@ppedziwiatr ppedziwiatr self-assigned this Sep 14, 2021
@ppedziwiatr ppedziwiatr changed the title feat: isolated contractexecution environment feat: isolated contract execution environment Sep 14, 2021
@ppedziwiatr
Copy link
Contributor Author

ppedziwiatr commented Oct 28, 2021

As a reminder - protection agains inf. loops in contract's code. Currently added protection (Promise.race) is not enough (but not much more can be done in case of pure JS).
In case of WASM - it should possible with the help of bytecodealliance/wasmtime#1490
krustlet/krustlet#223

@jsoneaday
Copy link

My vote is for Wasm. Since it would allow you guys not to have to create multiple implementations for different languages. And allow you to focus on core functionality instead.
It's fast, widely supported across languages and OS platforms, and continues to be developed with better features. Like Gpu, threading, garbage collection, and Simd support.

@ppedziwiatr
Copy link
Contributor Author

Basic wasm support added in #101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants