bun VS ozzo-dbx

Compare bun vs ozzo-dbx and see what are their differences.

bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one (by oven-sh)

ozzo-dbx

A Go (golang) package that enhances the standard database/sql package by providing powerful data retrieval methods as well as DB-agnostic query building capabilities. (by go-ozzo)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
bun ozzo-dbx
284 1
70,251 622
2.6% 0.5%
10.0 0.0
about 24 hours ago 12 months ago
Zig Go
- 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.

bun

Posts with mentions or reviews of bun. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-02.
  • Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?
    4 projects | dev.to | 2 Apr 2024
    Let’s say you are interested in learning more about Bun and probably give it a try. Bun has a website, where you can learn more about Bun and its features (including all the benchmark data captured in this issue), and here is the link.
  • Bun 1.1
    17 projects | news.ycombinator.com | 1 Apr 2024
    I found Bun to be faster. Monorepo support is a bit kludgy though. Once you know of the workarounds, it's ok. See my comment on https://github.com/oven-sh/bun/issues/5413#issuecomment-1956...

    AFAIK, Pnpm monorepos do not follow standard npm. Bun does follow standard npm monorepos.

    17 projects | news.ycombinator.com | 1 Apr 2024
    I was quite curious about the .bunx file format. I think this could be a quite a useful thing, a universal binary format. Some tech companies have internal implementations of this sort of system. Then I see the shim DLL:

    https://github.com/oven-sh/bun/blob/801e475c72b3573a91e0fb4c...

    Even before this past week's XZ backdoor revelation, checking binaries into source control rather than building from source seems quite questionable. In fairness to the Bun developer's, they have a comment in their build.zig file acknowledging that this shim should be built more normally rather than being checked in.

    Then I look into the source for it:

    https://github.com/oven-sh/bun/blob/801e475c72b3573a91e0fb4c...

    For no discernible reason, it is using a bunch of undocumented Windows APIs. The source cites this Zig issue as one reason for why they think it is OK to use undocumented APIs:

    https://github.com/ziglang/zig/issues/1840

    I don't see any good reasons here cited for using undocumented, unstable interfaces. For Zig's part, there seems to be some poorly-explained interest in linking against "lower level" libraries without any motivating use case (just some hand waving about security and drivers, neither of which makes much sense. Onecore.lib is a thing if you wanted a documented way of linking an executable that run on a diverse set of Windows form factors. And compiling drivers may as well be treated as a seperate target, since function names are different). For Bun, I assume they are trying to have low binary size. But targeting NTDLL vs. Kernel32 should not make a big difference, especially when the shim is just doing basic file IO. For an example of making small executable with standard API, you can make hello world 4kb using MSVC just by using /NODEFAULTLIB and /ENTRY:main with link.exe and this program :

        #include 
    17 projects | news.ycombinator.com | 1 Apr 2024
    Kind of. When you do try to run bun in production you'll find out that it has significant differences to node -- like not handling uncaught exceptions: https://github.com/oven-sh/bun/issues/429

    Then you'll use bun build and run node in production, only to find that sourcemaps don't actually work at all: https://github.com/oven-sh/bun/issues/7427

    So you'll switch to esbuild + node in production :)

    Definitely excited for the promise of bun, but it's not quite baked yet.

    17 projects | news.ycombinator.com | 1 Apr 2024
    Looks like it, it seems the 2% are mostly odd platform specific issues that the authors' did not deem very important (my assumption for the release happening anyway). AFAIK this[1] PR tries to fix them.

    [1]: https://github.com/oven-sh/bun/pull/9729

    17 projects | news.ycombinator.com | 1 Apr 2024
    Yeah I saw a Github discussion where he mentioned that the code for uploading telemetry data was disabled, but he also said he plans to re-enable that at some point: https://github.com/oven-sh/bun/discussions/2605

    Granted, this was a year ago, so the Bun team's plans might have changed.

    17 projects | news.ycombinator.com | 1 Apr 2024
    You can track the progress here: https://github.com/oven-sh/bun/issues/1825

    There's still a ways to go but folks are actively contributing.

  • I have created a small anti-depression script
    4 projects | dev.to | 5 Mar 2024
    Install Node.js (or Bun, or Deno, or whatever JS runtime you prefer) if it's not there
  • JSR: The JavaScript Registry
    9 projects | news.ycombinator.com | 1 Mar 2024
    I think maybe I was unclear. I'm talking about writing libraries that abstract across these differences and provide a single API, as sibling describes. I already know it's possible. I made a simple filesystem abstraction here[0] and a very simple HTTP library that uses it here[1]. They both work in Node/Deno and the browser. Unfortunately I ran into issues with Bun's slice implementation[2]. But I suspect there's a much better way of detecting and using the different backends.

    [0]: https://github.com/waygate-io/fs-js

    [1]: https://github.com/waygate-io/http-js

    [2]: https://github.com/oven-sh/bun/issues/7057

  • SelectorHound: The tool for Sniffing out CSS Selectors
    2 projects | dev.to | 29 Feb 2024
    For, for more speed (requires installing bun first):

ozzo-dbx

Posts with mentions or reviews of ozzo-dbx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-02.
  • What SQL library are you using?
    20 projects | /r/golang | 2 Jul 2022
    If you are looking for a query builder only, I also could recommend https://github.com/go-ozzo/ozzo-dbx (it doesn't seem to be maintained but its stable and so far I haven't stumbled on a bug using it for an internal tool)

What are some alternatives?

When comparing bun and ozzo-dbx you can also consider the following projects:

vite - Next generation frontend tooling. It's fast!

GORM - The fantastic ORM library for Golang, aims to be developer friendly

nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions

fastify - Fast and low overhead web framework, for Node.js

go-pg - Golang ORM with focus on PostgreSQL features and performance

deno - A modern runtime for JavaScript and TypeScript.

just - the only javascript runtime to hit no.1 on techempower :fire:

Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

Svelte - Cybernetically enhanced web apps

pgx - PostgreSQL driver and toolkit for Go

Next.js - The React Framework

µWebSockets - Simple, secure & standards compliant web server for the most demanding of applications