nodegui VS asm-dom

Compare nodegui vs asm-dom and see what are their differences.

nodegui

A library for building cross-platform native desktop applications with Node.js and CSS 🚀. React NodeGui : https://react.nodegui.org and Vue NodeGui: https://vue.nodegui.org (by nodegui)

asm-dom

A minimal WebAssembly virtual DOM to build C++ SPA (Single page applications) (by mbasso)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
nodegui asm-dom
17 7
8,740 2,773
0.7% -
7.6 0.0
about 2 months ago about 1 year ago
C++ C++
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nodegui

Posts with mentions or reviews of nodegui. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-20.
  • Brig: A user interface toolkit for Node.js, which is based on Qt for rendering
    3 projects | news.ycombinator.com | 20 Jan 2024
    This looks like it hasn't been maintained in years but there's a modern equivalent in NodeGUI [1] which also has React/Svelte/Vue implementations. Unfortunately it requires a custom build of Node that merges the libuv and Qt6 event loops so YMMV.

    It actually inspired me to write my own implementation with Svelte on top of QuickJS and Qt Widgets but the task of wrapping the entire Qt6 API in Rust proved to be intractable once I found out that most methods weren't marked Q_INVOKABLE and thus couldn't be called via reflection (requiring manual wrapping). Providing a `Document.createElement` API that created Qt Widgets with working attributes and event handling worked surprisingly well though!

    [1] https://github.com/nodegui/nodegui

  • Build performant, native and cross-platform desktop apps with Node.js and CSS
    1 project | news.ycombinator.com | 14 Nov 2023
  • Does anybody have trouble running NodeGui projects? Does 'nodegui-starter' repo work for you?
    2 projects | /r/node | 23 Apr 2023
    Hi, so this NodeGui library for building apps with native components is something I really want to get into, but, it does not work for me.. so I am starting this thread to check with yous (I depleted google results) if any one of you have tips or workarounds I can use. I wish to build a desktop app, but I really do not want to bundle a web browser for that purpose and NodeGui seems perfect.
  • [Hiring] Create UI to Accept User Input using NodeGui to create a Native Desktop Application
    1 project | /r/forhire | 29 Apr 2022
    Use NodeGui (or some equivalent tool) for this. Source: https://docs.nodegui.org/ This is needed because this entire project will run natively, by that I mean it will run with no browser, no local host and it no internet connection.
  • Neutralinojs - Alternativa para o Electron
    6 projects | dev.to | 21 Mar 2022
    NodeGUI
  • NodeGui – Build performant, native, cross platform desktop apps
    1 project | news.ycombinator.com | 13 Dec 2021
  • Electron Adventures: Episode 75: NodeGui React
    4 projects | dev.to | 6 Oct 2021
    Let's continue exploring Electron alternatives. This time, NodeGui. NodeGui uses Qt5 instead of Chromium, so we'll be leaving the familiar web development behind, but it tries to not be too far from it, as web development is what everyone knows.
  • How do you create a cross-platform GUI without using Electron?
    21 projects | news.ycombinator.com | 10 Sep 2021
  • Are we GUI Yet? The state of building user interfaces in Rust
    8 projects | news.ycombinator.com | 9 Jul 2021
    (Disclaimer: My knowledge of Rust very limited, but I have quite a bit of experience with getting Qt/KDE classes to work with other languages.)

    You are absolutely right. The effort to be acceptable bindings for Qt would be a tiny fraction of the cost compared to building a whole new Rust native GUI library.

    Qt is huge set of libraries with an equally huge API. But there are a lot of shortcuts and smart ways of approaching the problem to get what you want out of Qt for minimum effort.

    Bindings like PyQt and even PySide go for the nuclear option of generating bindings for the whole Qt API and trying to match the C++ API in style too. This is an absolutely massive huge task. Also, getting people to contribute to an open source bindings project is hard. Getting people to contribute to a bindings generator is even harder.

    NodeGui https://github.com/nodegui/nodegui, Qt bindings for Nodejs, on the other hand takes a very different approach which in one way is low-tech but I think is actually very smart. I'll summerise the differences:

    * It focuses on Qt Widgets first. This greatly reduces the amount of work to the parts that people actually need. (BTW, if you just want QML and Rust back-end then Jos van den Oever's work at https://invent.kde.org/sdk/rust-qt-binding-generator has probably got you covered already.)

  • Todo list of development tasks
    3 projects | /r/dogecoindev | 12 May 2021
    There is actually a new GUI framework based out of Qt (a C++ GUI framework) that I have found recently : https://docs.nodegui.org/

asm-dom

Posts with mentions or reviews of asm-dom. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-25.
  • Blazor United - When it ships it would be the most glorious way to do web with .NET
    5 projects | /r/programming | 25 Jan 2023
    Aside from Blazor there's already some other projects like Yew (rust), seed (rust), asm-dom (C++) and vugu (Go) and more that have decent followings and activity. A lot more (especially managed languages) are waiting for some features to come online like wasm GC and host bindings (direct wasm access to browser apis which includes the DOM). It'll take a bit of time, but it'll get there eventually.
  • WebAssembly and C++
    6 projects | news.ycombinator.com | 27 Jun 2022
    FWIW if you look around, C++ and Rust libraries 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 the right way to tackle this problem. The library user don't need to care about specific WASM features, and the library implementation can be simplified when those WASM features become available (and also implement per-browser fallback paths)

  • I really don't get it.
    2 projects | /r/ProgrammerHumor | 2 Jun 2022
  • Fengari – Lua for the Browser
    10 projects | news.ycombinator.com | 20 Feb 2022
  • At least it's not java
    1 project | /r/ProgrammerHumor | 19 Nov 2021
    Wasm is already around for a while. There are probably some libs to access the dom and frameworks around that wrap the js part completely Found this after a short search https://github.com/mbasso/asm-dom Also Blazor seems to work fine, but didn't really test it beside playing around a little bit with it
  • alia - A Declarative UI Library for C++
    4 projects | /r/cpp | 11 Mar 2021
    Thanks for the kind words! :-) Yeah, you've got a good description of the use case for it. You give me too much credit though. :-) It's built on top of Emscripten, which handles a lot of the low-level bindings between C++ and the browser. Also, asm-dom helps fill in a big gap between C++ and the DOM.

What are some alternatives?

When comparing nodegui and asm-dom you can also consider the following projects:

tauri - Build smaller, faster, and more secure desktop applications with a web frontend.

skia-opengl-emscripten - DEPRECATED! ~~C++ HTML/CSS UI. Supports subset of HTML/CSS. Based on chromium/cobalt.foo without JavaScript overhead. Uses SKIA 2D graphics library. Can be used to build UI for cross-platform app, game or website. Can support browser as HTML5 web framework or WebGL UI renderer.~~

neutralinojs - Portable and lightweight cross-platform desktop application development framework

snabbdom - A virtual DOM library with focus on simplicity, modularity, powerful features and performance.

QtScrcpy - Android real-time display control software

fengari - 🌙 φεγγάρι - The Lua VM written in JS ES6 for Node and the browser

awesome-electron-alternatives - A curated list of awesome Electron alternatives.

wasmr - Execute WebAssembly from R using wasmer

Jetpack-Compose-Playground - Community-driven collection of Jetpack Compose example code and tutorials :rocket: https://foso.github.io/compose

lunasvg - lunasvg is a standalone SVG rendering library in C++

Signal-Desktop - A private messenger for Windows, macOS, and Linux.

pretty-diff - Pretty printing a diff of two values