Live data from Hacker News

Epsilon: A WASM virtual machine written in Go

github.com

1–10 of 47 posts

Re: Epsilon: A WASM virtual machine written in Go

#6
Do you have any plans to add timeouts or some other mechanism for limiting the amount of CPU a webassembly call can use?

I'm always interested in options for using WebAssembly as a sandbox to run untrusted code, but one of the things I need to protect against is an infinite loop.

(I had Claude knock up an experimental Python binding to try Epsilon out, notes from that here: https://github.com/simonw/research/tree/main/epsilon-python-... )

Re: Epsilon: A WASM virtual machine written in Go

#8
post #3

This could have been a Show HN? Also: would be nice to see wazero ( https://github.com/wazero/wazero ) mentioned. What was the reason to create Epsilon as an alternative?

> What was the reason to create Epsilon as an alternative?

I wanted to build something fun, I did not check for existing implementations on purpose. I ended up putting more effort than I originally expected into this and now it's starting to look like it could be actually useful, almost by accident.

Re: Epsilon: A WASM virtual machine written in Go

#9
post #4
post #2

How does this compare with wazero?

So far, seems interpreter only, lots simpler, etc. I'd be interested to understand the goal behind it better.

I knew I remember your name working with something of sqlite and golang

https://github.com/ncruces/go-sqlite3

Man I really enjoy golang and cross portability and wazero + sqlite could still be cross portable which is super fascinating

What are your thoughts on https://github.com/electric-sql/pglite (postgres in wasm)?

Also what were the goal behind a pure golang solution via wazero + wasm sqlite as you had made?

Was it cross platform support, if so, what are your thoughts on zig, I have seen a project use zig + golang to create cross platform C language support but I think that adding zig into the picture complicates the build process so there are tradeoffs and I am interested to hear your opinions about it!

Re: Epsilon: A WASM virtual machine written in Go

#10
Congratulations on the progress and getting the engine out there!

One nice thing about interpreters versus JIT compilers is that they can be used in places like iOS without too much fuss (AFAIK you have to bundle all the WASM you will run though, or something like that).

I'm biased since I work on it, but any considerations around adding support for the Component Model? It's more complex than the base spec of course but incredibly robust -- really the present/future of "modern" WebAssembly across languages.

Post reply on HN