mbasso/asm-dom
View on GitHub ↗ ★ 2,825 C++
A minimal WebAssembly virtual DOM to build C++ SPA (Single page applications)
16 mentions on Hacker News by 12 people: 5 stories, 11 comments · first 2017-05-20 · latest 2022-06-27
20082026
-
…for DOM manipulation exist (I haven't searched for other languages which compile to WASM): https://github.com/mbasso/asm-dom https://github.com/sycamore-rs/sycamore I think solving the problem of DOM access on the library level is exactly…
comment by flohofwoe · 2022-06-27 · in WebAssembly and C++ -
Via https://github.com/mbasso/asm-dom ? (for example). For every complex self generated challenge there is an even more complex solution?
comment by intc · 2022-02-20 · in Fengari – Lua for the Browser -
There are already several libs that compile to WebAssembly and let you manipulate the DOM, e.g. https://github.com/mbasso/asm-dom You can already call out to small JS code snippets that work on the DOM from WAM, and since DOM manipulation…
comment by flohofwoe · 2018-06-21 · in V8 release v6.8 -
…which that could be ported to WASM. Here's an example of someone who has written one already: https://github.com/mbasso/asm-dom
comment by mshenfield · 2018-03-14 · in Making WebAssembly better for Rust and for all languages -
…io/emscripten-site/docs/porting/conne... also debug this project and see how it controls html via c++ https://github.com/mbasso/asm-dom
comment by billconan · 2018-01-20 · in Can webassembly push output to JavaScript? -
Rust -- https://github.com/koute/stdweb C++ -- https://github.com/mbasso/asm-dom I don't know exactly how these work but Emscripten allows interop both ways (embedding JS in native code and calling native code from JS) --…
comment by logn · 2018-01-18 · in Firefox’s new streaming and tiering compiler -
…folks will, replace Javascript. [1]: https://github.com/WebAssembly/design/blob/master/FAQ.md [2]: https://github.com/mbasso/asm-dom
comment by sli · 2017-11-14 · in WebAssembly support now shipping in all major browsers -
…bridge this gap by using javascript as a bridge or "glue" between WebAssembly and the DOM. Example: https://github.com/mbasso/asm-dom > Page scripting will still be done in JS for several years. There are people who thought that corporate…
comment by flavio81 · 2017-09-18 · in Ask HN: For those moving away from React what options are you considering? -
https://github.com/mbasso/asm-dom/commit/1e1659ebc2357bf34be... Is in the example the usual place to put this?
comment by simooooo · 2017-05-21 · in Asm-Dom – WebAssembly Virtual DOM -
…are meant to imply different meanings, or if they are just different styles for the same thing: https://github.com/mbasso/asm-dom/blob/master/src/js/domApi.... 'setAttribute'(nodePtr, attr, value) { 'parentNode': nodePtr => (…
comment by DonHopkins · 2017-05-20 · in Asm-Dom – WebAssembly Virtual DOM -
…I assume either snabbdom was used as a starting point or the inspiration is very much wilful? [0] https://github.com/mbasso/asm-dom#inline-example [1] https://github.com/snabbdom/snabbdom#inline-example
comment by masklinn · 2017-05-20 · in Asm-Dom – WebAssembly Virtual DOM