ringbuf.js VS ffi-gen

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

ringbuf.js

Wait-free thread-safe single-consumer single-producer ring buffer using SharedArrayBuffer (by padenot)

ffi-gen

Call rust from any language. (by cloudpeers)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
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
ringbuf.js ffi-gen
1 3
194 20
- -
5.3 1.8
5 months ago about 2 years ago
JavaScript Rust
Mozilla Public License 2.0 -
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.

ringbuf.js

Posts with mentions or reviews of ringbuf.js. 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 always encourage users to use vite, and it is quite easy for the dev server.

    https://github.com/vitejs/vite/issues/3909

    For deployment it's a different story then but for example netlify has a quite intuitive way to set headers for CORS:

    https://github.com/padenot/ringbuf.js/blob/master/public/_he...

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 ringbuf.js 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