marigold-dev / deku

MIT License
80 stars 16 forks source link

OCaml WASM runtime #899

Open Marigold-infrabot opened 2 years ago

Marigold-infrabot commented 2 years ago

Objective Deadline: 2022-10-25 00:00:00

d4hines commented 2 years ago

Why

WASMer is fast, but it's complex. This, combined with requiring us to interop with Rust somehow, makes WASMer too expensive for Deku's current complexity budget.

What We'll Do

First step is to migrate back to the reference WASM runtime in OCaml. This will clean up a few things for us:

It's not that we're anti-Rust - we may rewrite Deku in Rust next year. But that's next years problem - if we're going to hit this year's benchmarks we've got to constrain our complexity. Rust isn't critical to our strategy, so lets drop it until it becomes such.