ggweb VS ffi-gen

Compare ggweb vs ffi-gen and see what are their differences.

ggweb

Template for C++ GUI apps that can run in the browser (by ggerganov)

ffi-gen

Call rust from any language. (by cloudpeers)
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
ggweb ffi-gen
1 3
84 20
- -
1.8 1.8
about 2 years ago about 2 years ago
C Rust
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.

ggweb

Posts with mentions or reviews of ggweb. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-08.
  • Show HN: Zaplib – Speedup your web app with Rust and WASM
    10 projects | news.ycombinator.com | 8 Apr 2022
    I've been using a similar stack (C++ and WASM) to build some simple applications and I enjoy it very much. For the UI components I use Dear ImGui [0] as I am very familiar with it and it allows me to implement GUIs very fast. The biggest convenience is that you can run the same code both as a native application and as a web app. The biggest drawback is you usually get 100% CPU usage when there is an active animation in the WebGL canvas because you need to redraw everything (similar to the OP's example).

    If you are interested, checkout my Github template repo [1] - it contains a few examples:

    [0] https://github.com/ocornut/imgui

    [1] https://github.com/ggerganov/ggweb

ffi-gen

Posts with mentions or reviews of ffi-gen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-28.
  • Thanks to Rust Kotlin makes me like JVM
    4 projects | /r/rust | 28 Aug 2022
    didn't used flutter_rust_bridge , used https://github.com/cloudpeers/ffi-gen for FFI, quite simple API access via dart.
  • X: Production ready UI on mobile/desktop
    3 projects | /r/rust | 14 Apr 2022
    It's actually a combination of two projects x and ffi-gen.
  • Show HN: Zaplib – Speedup your web app with Rust and WASM
    10 projects | news.ycombinator.com | 8 Apr 2022
    Nice project, although pretty opinionated. But I guess you have to do that when targeting the crazy browser environment with all its weird quirks (at least for non-web devs)..

    Somewhat related is a library I've been working on to generate an ffi between Rust and js code: https://github.com/cloudpeers/ffi-gen

    Also I really like your universal_thread abstraction, hiding the whole web worker mess. I did a similar thing here: https://github.com/wngr/wasm-futures-executor

What are some alternatives?

When comparing ggweb and ffi-gen you can also consider the following projects:

zaplib - ⚡ Zaplib is an open-source library for speeding up web applications using Rust and WebAssembly.

imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

radixdb - radix tree with fast persistence and different storage backends

axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper

x - Cross compile rust to any platform [Moved to: https://github.com/cloudpeers/xbuild]

webviz - web-based visualization libraries

ringbuf.js - Wait-free thread-safe single-consumer single-producer ring buffer using SharedArrayBuffer