quickjs VS tigerbeetle

Compare quickjs vs tigerbeetle and see what are their differences.

quickjs

Public repository of the QuickJS Javascript Engine. (by bellard)

tigerbeetle

A distributed financial accounting database designed for mission critical safety and performance. [Moved to: https://github.com/tigerbeetledb/tigerbeetle] (by coilhq)
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
quickjs tigerbeetle
65 37
7,674 1,012
- -
9.1 9.5
12 days ago over 1 year ago
C Zig
GNU General Public License v3.0 or later Apache 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.

quickjs

Posts with mentions or reviews of quickjs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-02.
  • Show HN: Happy Pi day with this PWA to cut 100k Pi digits offline
    1 project | news.ycombinator.com | 13 Mar 2024
    It uses service workers to cache static files, by the time it opens up you already free to be offline, try toggle network switch to verify.

    It has download link at bottom of the about page ([accdoo.app/about]) which you could then self host it by dropping into any static hosting services.

    btw, the Pi feature was by-product from the original App but I won't expand here, if you'd like to learn more, please checkout its two Show HN post (39115559 and 39138957) previously.

    [wiki]: https://en.wikipedia.org/wiki/Chudnovsky_algorithm

    [quickjs/pi]: https://bellard.org/quickjs/pi.html

    [pi_bigint.js]: https://github.com/bellard/quickjs/blob/master/examples/pi_b...

    [accdoo.app/about]: https://accdoo.app/about#releases

    [39115559]: https://news.ycombinator.com/item?id=39115559

    [39138957]: https://news.ycombinator.com/item?id=39138957

  • Ask HN: C/C++ plugin make JavaScipt end up with C/C++ binary?
    2 projects | news.ycombinator.com | 2 Mar 2024
    Just go with quickjs, I think this is what you are looking for.

    https://bellard.org/quickjs/

  • Show HW: accdoo cipher web app now fused with offline Pi cutter (100k digits)
    1 project | news.ycombinator.com | 2 Feb 2024
  • QuickJS JavaScript Engine
    1 project | news.ycombinator.com | 18 Jan 2024
  • A list of JavaScript engines, runtimes, interpreters
    23 projects | /r/learnjavascript | 10 Dec 2023
    QuickJS
  • Can you make your own JavaScript by implementing ECMAScript standard?
    10 projects | /r/learnjavascript | 10 Dec 2023
    I think QuickJS, written in C, is a user-"friendly" starting point for implementing ECMA-262. Documentation QuickJS Javascript Engine.
  • New QuickJS Release
    1 project | /r/hypeurls | 9 Dec 2023
    6 projects | news.ycombinator.com | 9 Dec 2023
    There is a readme on the project's main page: https://bellard.org/quickjs/

    The newsworthy bit here is that the activity seemed to have stalled for year or two and now Fabrice pushed a few fixes and made a new release.

  • GitHub
    1 project | /r/learnjavascript | 6 Dec 2023
    Just to demonstrate GitHub repositories do not necessarily reflect upon a programmers' body of work, Fabrice Bellard has one (1) repository published on GitHub, quickjs. Compare the list of work on Bellard's home page https://bellard.org/.
  • WinterJS
    6 projects | news.ycombinator.com | 28 Oct 2023
    > I am still confused, it's a JavaScript runtime intended to be deployed to JavaScript/Wasm runtimes?

    Seemingly.

    > Why does a JavaScript runtime need a JavaScript runtime?

    Because if you want to create a Service Worker server for CloudFlare Workers and other JavaScript/Wasm runtimes, that's the only option for doing that AFAIK.

    FWIW, this isn't a new idea. For example, Figma uses QuickJS (https://bellard.org/quickjs/) for their plug-in runtime: https://www.figma.com/blog/an-update-on-plugin-security/

tigerbeetle

Posts with mentions or reviews of tigerbeetle. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-10.
  • SQLite Helps You Do Acid
    3 projects | news.ycombinator.com | 10 Aug 2022
    Indeed!

    I was so glad to see you cite not only the Rebello paper but also Protocol-Aware Recovery for Consensus-Based Storage. When I read your first comment, I was about to reply to mention PAR, and then saw you had saved me the trouble!

    UW-Madison are truly the vanguard where consensus hits the disk.

    We implemented Protocol-Aware Recovery for TigerBeetle [1], and I did a talk recently at the Recurse Center diving into PAR, talking about the intersection of global consensus protocol and local storage engine. It's called Let's Remix Distributed Database Design! [2] and owes the big ideas to UW-Madison.

    [1] https://github.com/coilhq/tigerbeetle

    [2] https://www.youtube.com/watch?v=rNmZZLant9o

  • 20 years of payment processing problems
    3 projects | news.ycombinator.com | 18 Jul 2022
    > It sounds like payments might be part of the larger concept of declarative programming (DP)

    Yes, exactly! The idea with TigerBeetle's state machine [1] is to expose double-entry accounting as higher level financial primitives, so that developers can think in terms of declaring transfers from one account to another. The business logic behind the scenes is detailed, but the interfaces and data structures are simple.

    [1] https://github.com/coilhq/tigerbeetle/blob/main/src/state_ma...

    > Maybe TigerBeetle could be generalized to support any multi-step distributed process?

    That's part of the plan, that the distributed database framework of TigerBeetle can be used as a ”distributed Iron Man suit” to support any kind of state machine.

  • How Safe Is Zig?
    8 projects | news.ycombinator.com | 23 Jun 2022
    It's a pleasure. Let me know if you have any more questions about TigerBeetle. Our design doc is also here: https://github.com/coilhq/tigerbeetle/blob/main/docs/DESIGN....
  • TigerStyle – TigerBeetle's coding style guide
    1 project | news.ycombinator.com | 2 Jun 2022
  • Distributed Systems Shibboleths
    3 projects | news.ycombinator.com | 2 May 2022
    Surprisingly, some of the most powerful distributed systems algorithms or tools are actually deterministic. They're powerful because they can "load the dice" and so make the distributed system more intuitive for humans to reason about, more resilient to real world network faults, and do all this with more performance.

    For example, Barbara Liskov and James Cowling's deterministic view change [1], which isn't plagued by the latency issues of RAFT's randomized dueling leader problem. Viewstamped Replication Revisited's deterministic view change can react to a failed primary much quicker than RAFT (heartbeat timeouts don't require randomized "padding" as they do in RAFT), commence the leader election, and also ensure that the leader election succeeds without a split vote.

    Determinism makes all that possible.

    Deterministic testing [2][3] is also your best friend when it comes to testing distributed systems.

    [1] I did a talk on VSR, including the benefits of the view change — https://www.youtube.com/watch?v=Wii1LX_ltIs

    [2] FoundationDB are pioneers of deterministic testing — https://www.youtube.com/watch?v=OJb8A6h9jQQ

    [3] TigerBeetle's deterministic simulation tests — https://github.com/coilhq/tigerbeetle#simulation-tests

  • Lies we tell ourselves to keep using Golang
    8 projects | /r/fasterthanlime | 29 Apr 2022
    This is the chasm problem, where people don't use a technology because people aren't using that technology, thus the technology has difficulty gaining adoption. I did see that Zig does have it's own killer app and startup that's using Zig: TigerBeattle.
  • Ask HN: Codebases with great, easy to read code?
    35 projects | news.ycombinator.com | 21 Mar 2022
    Control flow statements should always be on their own lines, then it's easy to find all of them by visually scanning top-down, without needing to look all the way down each line.

    [1]: https://github.com/coilhq/tigerbeetle/blob/main/src/vsr/repl...

  • Database functions to wrap logic and SQL queries
    1 project | news.ycombinator.com | 28 Feb 2022
    > In hindsight, data logic should be in the database itself.

    This is the reason we are creating TigerBeetle [1] at Coil, as an open source distributed financial accounting database, with the double entry logic and financial invariants enforced through financial primitives within the database itself.

    This is all the more critical for financial data, because raw data consistency is not enough for financial transactions, you also need financial consistency, not to mention immutability.

    The performance of doing it this way is also easier. For example, around a million financial transactions per second on commodity hardware, with p100 latency around 10-20ms.

    [1] https://github.com/coilhq/tigerbeetle

  • Building Payment systems for the World at Hackathons
    2 projects | dev.to | 7 Feb 2022
    You probably already know this — because we’ve mentioned it a few times — but Coil champions and supports open-source projects and is privacy-first, by default. Over the years, Developer Relations at Coil has championed and sponsored teams that write Open Web Documentations and projects that empower open-source developers to get paid. Coil has also incubated many open-source projects like Tigerbeetle and Rafiki.
  • Durability and Redo Logging
    1 project | news.ycombinator.com | 26 Jan 2022
    [6] Partial logical sector reads/writes even when using O_DIRECT — https://github.com/coilhq/tigerbeetle/blob/main/src/storage....

What are some alternatives?

When comparing quickjs and tigerbeetle you can also consider the following projects:

Duktape - Duktape - embeddable Javascript engine with a focus on portability and compact footprint

zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

jerryscript - Ultra-lightweight JavaScript engine for the Internet of Things.

raft - Golang implementation of the Raft consensus protocol

mjs - Embedded JavaScript engine for C/C++

Co-dfns - High-performance, Reliable, and Parallel APL

edex-ui - A cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support.

raft-grpc-example - Example code for how to get hashicorp/raft running with gRPC

Nuitka - Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.

viewstamped-replication-made-famous - A $20k consensus challenge based on TigerBeetle's implementation of the pioneering Viewstamped Replication protocol. [Moved to: https://github.com/tigerbeetledb/viewstamped-replication-made-famous]

esp8266-quickjs - An attempt on getting QuickJS working on ESP8266 hardware

LevelDB - LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.