|
|
|
|
|
by skybrian
13 days ago
|
|
When I tried it a while back, Go was not very good for writing fast interpreters, even when compiled natively rather than to WebAssembly. Interpreter inner loops are a niche use case that they apparently haven’t tried to optimize, and interface values are rather inefficient union types. If I were going to write a fast interpreter using WebAssembly, I would use a different language. It’s experimental, but it might be fun to try Zena to see what WebAssembly can do: https://zena-lang.dev/ |
|