← Back to home
Comparison · DevOps

Bun vs libosmium

A side-by-side editorial comparison of Bun and libosmium — release velocity, themes, recent moves, and the top alternatives to consider.

Bun vs libosmium: at a glance

FeatureBunlibosmium
SectorDevOpsDevOps
Velocity score3.80.0
Sparks · 30d00
Top themesruntime, nodejs-compatibility, rust-rewrite, performanceopenstreetmap, cpp-library, pbf-parsing, dependency-removal
Last editorial update1mo ago5h ago
WebsiteVisit →Visit →

What is Bun?

Bun is rewriting its core from Zig to Rust while shipping built-in APIs at a monthly clip.

Bun ships a substantial point release roughly monthly, each widening Node.js compatibility and folding more capability into the runtime itself — image processing, Markdown parsing, cron, archives, a headless WebView, HTTP/2 and HTTP/3 clients. Performance work is constant, with double-digit speedups landing release over release. In July the team disclosed it is rewriting Bun's implementation from Zig to Rust.

Read the full Bun trajectory →

What is libosmium?

libosmium is a stable OSM parsing library whose main work now is shedding old dependencies

libosmium ships roughly once or twice a year and the release notes read accordingly: a handful of additions, a longer list of fixes, and a steady drumbeat of code cleanups. Recent cycles have been dominated by removing things — Google Sparsehash, the ancient Proj projection support, regex filters, and a series of long-deprecated classes. The library's core job of reading and writing OSM data has been stable long enough that most fixes now cluster around compression edge cases and PBF parsing tolerance.

Read the full libosmium trajectory →

Bun vs libosmium: editorial side-by-side

B
Bun
DEVOPS
3.8

Bun is rewriting its core from Zig to Rust while shipping built-in APIs at a monthly clip.

◆ Current state

Bun ships a substantial point release roughly monthly, each widening Node.js compatibility and folding more capability into the runtime itself — image processing, Markdown parsing, cron, archives, a headless WebView, HTTP/2 and HTTP/3 clients. Performance work is constant, with double-digit speedups landing release over release. In July the team disclosed it is rewriting Bun's implementation from Zig to Rust.

◆ Where it's heading

Two arcs run in parallel: keep absorbing what developers reach for third-party packages to do, so the runtime is batteries-included, and re-lay the foundation in Rust for a larger contributor pool and easier maintenance. The near-term feature cadence has not slowed, which suggests the rewrite is incremental rather than a hard fork.

◆ Prediction

Expect continued monthly 1.3.x releases centered on Node compatibility and built-in APIs, with the Rust migration surfaced through engineering write-ups before it changes anything user-facing.

L
libosmium
DEVOPS
0.0

libosmium is a stable OSM parsing library whose main work now is shedding old dependencies

◆ Current state

libosmium ships roughly once or twice a year and the release notes read accordingly: a handful of additions, a longer list of fixes, and a steady drumbeat of code cleanups. Recent cycles have been dominated by removing things — Google Sparsehash, the ancient Proj projection support, regex filters, and a series of long-deprecated classes. The library's core job of reading and writing OSM data has been stable long enough that most fixes now cluster around compression edge cases and PBF parsing tolerance.

◆ Where it's heading

The direction is consolidation rather than expansion. C++14 became the floor in 2.21.0, CMake 3.10 in 2.23.0, and each release trims another external dependency or workaround for an obsolete compiler. What new surface does appear is narrow and pragmatic: one spare bit in a Location, a TagList comparison, a UTF-8 validity helper — small affordances for downstream tools like osmium-tool and osm2pgsql rather than new capability. The 2.23.1 revert is a useful signal that the maintainers treat diff and extract-update correctness as the property they will not trade for tidier ordering.

◆ Prediction

Expect the deprecation-removal pattern to continue, with RapidJSON support the most likely next casualty given it was marked deprecated back in 2.19.0. Nothing in the entries suggests a change in scope; the next release will most plausibly be another small additions-plus-fixes cycle.

Alternatives to Bun and libosmium

Other DevOps products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either Bun or libosmium.

See all Bun alternatives → · See all libosmium alternatives →

Recent activity from Bun and libosmium

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 1mo agoBunRewriting Bun in Rust
  2. 2mo agoBunBun 1.3.14 adds built-in image processing and HTTP/3
  3. 3mo agoBunBun 1.3.13 adds a parallel test runner and 17x-leaner installs
  4. 4mo agoBunBun 1.3.12 adds headless WebView automation and in-process cron
  5. 4mo agolibosmiumlibosmium 2.23.1 reverts an object-ordering change that broke extracts
  6. 4mo agoBunBun 1.3.11 adds OS-level cron and ANSI-aware string tools
  7. 5mo agoBunBun 1.3.10 adds a native REPL and browser-target compile
  8. 6mo agolibosmiumlibosmium 2.23.0 fixes PBF and bzip2 edge cases, raises CMake floor
  9. 1y agolibosmiumlibosmium 2.22.0 handles 64-bit relation IDs, drops regex filters
  10. 1y agolibosmiumlibosmium 2.21.0 requires C++14, drops Sparsehash and Proj
  11. 2y agolibosmiumlibosmium 2.20.0 accepts fractional-second timestamps
  12. 3y agolibosmiumlibosmium 2.19.0 removes BoolVector and NWRIdSet, deprecates RapidJSON

Frequently asked questions

What is the difference between Bun and libosmium?

They serve adjacent needs but don't currently overlap on shipped themes. Bun is currently shipping more aggressively (velocity 3.8 vs 0.0), with 0 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is Bun better than libosmium?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. Bun is currently shipping more aggressively (velocity 3.8 vs 0.0), with 0 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other DevOps products to evaluate alongside.

What are the best alternatives to Bun?

Top Bun alternatives in DevOps are ranked by recent ship velocity. Browse the "Bun alternatives" section above for the current picks, or visit /alternatives/bun for the full list with editorial commentary on each.

What are the best alternatives to libosmium?

Top libosmium alternatives in DevOps are ranked by recent ship velocity. Browse the "libosmium alternatives" section above for the current picks, or visit /alternatives/libosmium for the full list with editorial commentary on each.