swift-cross-ui VS libui-ng

Compare swift-cross-ui vs libui-ng and see what are their differences.

swift-cross-ui

A cross-platform declarative UI framework, inspired by SwiftUI. (by stackotter)

libui-ng

libui-ng: a portable GUI library for C. "libui for the next generation" (by libui-ng)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
swift-cross-ui libui-ng
3 15
487 565
- 6.5%
8.8 6.8
14 days ago 7 days ago
Swift C
MIT License MIT License
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.

swift-cross-ui

Posts with mentions or reviews of swift-cross-ui. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-27.
  • Writing Gnome Apps with Swift
    11 projects | news.ycombinator.com | 27 Mar 2024
    For another SwiftUI-like wrapper, see also https://github.com/stackotter/swift-cross-ui (used by Adawaita to generate widgets, and mentioned in other comments).

    The key premise of this approach is to provide a SwiftUI-like declarative wrapper around Gnome functionality. It's unclear what it adds over swift-cross-ui.

    SwiftUI itself has growing pains mainly around being on the right thread for processing/updates and getting data binding right.

    Blog entries on swift.org or from Apple tend to be little demos that show the happy path, but when discussing new frameworks (like a Gnome wrapper) or platforms (like the recent embedded), I'd like more demonstration that the authors understand and address key issues and will sustain development. Cross-platform UI frameworks get complicated quickly and have a long tail of issues (cf Flutter, Java/Eclipse, et al) that can be blockers for clients/users. For Swift it doesn't help to have multiple concurrency models and obviously different behaviors on apple platforms and Linux (where UI is not officially tested).

  • Mousetrap.jl: a GUI library for Julia and C++ that fully wrap GTK4
    4 projects | news.ycombinator.com | 19 Aug 2023
    Some interesting stuff happening here [1] and here [2] too.

    [1] https://github.com/stackotter/swift-cross-ui/tree/main

  • SwiftCrossUI - cross-platform SwiftUI-like UI framework built on SwiftGtk
    1 project | news.ycombinator.com | 14 Mar 2023

libui-ng

Posts with mentions or reviews of libui-ng. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-27.

What are some alternatives?

When comparing swift-cross-ui and libui-ng you can also consider the following projects:

OpenSwiftUI - WIP — OpenSwiftUI is an OpenSource implementation of Apple's SwiftUI DSL.

raygui - A simple and easy-to-use immediate-mode gui library

Mousetrap.jl - Finally, a GUI Engine made for Julia

nappgui - Cross-Platform C SDK (precompiled)

CImGui.jl - Julia wrapper for cimgui

Gtk4-tutorial - GTK 4 tutorial for beginners

Tokamak - SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms

libui - Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.

SwiftGtk - A Swift wrapper around gtk-3.x and gtk-4.x that is largely auto-generated from gobject-introspection

nuklear - A single-header ANSI C immediate mode cross-platform GUI library

OpenCombine - Open source implementation of Apple's Combine framework for processing values over time.

med - Micro Emacs in D