Show HN: NoDOM high performance WASM UI kit for DuckDB-WASM osullivj.github.io ·...

@show

Show HN: NoDOM high performance WASM UI kit for DuckDB-WASM osullivj.github.io · 2 points · 0 comments · HN thread

The article could not be read, so this summary is based on the title and the discussion.

TL;DR A Show HN post introducing NoDOM, a WebAssembly UI framework written in Data Oriented C++ that replaces the browser DOM, CSS and HTML rendering with a custom engine built on Dear ImGui and ImPlot. It is aimed at low-latency financial trading dashboards and integrates closely with DuckDB-WASM so any table can be shown as a grid or chart. The thread has no comments yet.

  • NoDOM replaces Chrome's DOM, CSS and HTML rendering with a custom WASM engine, with a stated goal of minimising tick-to-render latency.
  • The render hotpath is described as zero allocation and zero copy, with no emscripten::val roundtrips.
  • GUI layout is declarative JSON served over a websocket after page load, or packaged in an HTML shell such as the UK property demo.
  • Layout JSON can embed Forth fragments for glue computation, and NoDOM can call JavaScript both synchronously and asynchronously.
  • It builds on Dear ImGui and ImPlot, compiles to WASM with Emscripten and to Win32 with MSVC 2022, and is closely integrated with DuckDB-WASM.
  • The author designed it for trading apps after seeing quants and traders frustrated by slow Plotly charts.

Links in the post

  • NoDOM Low Latency WASM Dashboard Framework: GitHub repository README listing the feature set: C++ implementation, Emscripten and MSVC builds, DuckDB integration, JSON GUI over websocket, and WebGL rendering.
  • NoDOM Wiki: Wiki page giving background reading on browser rendering internals and the author's central thesis that a custom WASM engine is needed for acceptable performance.

Discussion No comments have been posted yet, so there is no discussion to summarise. The story has 2 points and no replies.

#wasm #dataVisualization #duckdb #cpp #trading #showHN