3 ms·
How is Elm/Om doing so well in those benchmarks? I would think that most wasm frameworks would be able to blow past any js framework fairly easily. edit: Ah, c
by leshow 7y ago
How is Elm/Om doing so well in those benchmarks? I would think that most wasm frameworks would be able to blow past any js framework fairly easily.
edit: Ah, calls to js are still necessary to create DOM elements, so there's lots of back and forth necessary in the wasm frameworks.
- pohl 7y agoWould it be fair to expect the performance to get better once the Web IDL Bindings Proposal for WebAssembly is done?
- leshow 7y agoIf my hypothesis is correct and it loses ground in benchmarks due to overhead of calling js dom methods, then I would expect native bindings to improve performance. I'm not an expert or anything in this field though, so maybe someone closer to the issue can chime in.
- steveklabnik 7y agoYes, that's why it's being pursued.