← Back to home
Comparison · DevOps

clock vs promises

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

clock vs promises: at a glance

Featureclockpromises
SectorDevOpsDevOps
Velocity score0.00.0
Sparks · 30d00
Top themesdate-time, calendar arithmetic, tidyverse, c++ interopasync, observability, performance, shiny
Last editorial update55m ago1h ago
WebsiteVisit →Visit →

What is clock?

clock is turning calendar conventions lubridate hard-coded into parameterized types.

clock provides typed date-time handling for R on top of the C++20 date library, with explicit calendar and time-point types instead of implicit coercion. The visible history splits between genuine arithmetic additions and a long tail of compiler and CRAN-policy repairs. Recent releases are mostly the latter, with 0.7.3 raising the tzdb and R floors.

Read the full clock trajectory →

What is promises?

promises drops R6 for plain environments and wires async work into OpenTelemetry

promises supplies the async primitives behind Shiny and plumber. After years of small domain and future() fixes, the last two releases changed both what a promise costs and what it can report: 1.4.0 corrected nested domain ordering and added the first OpenTelemetry integration, and 1.5.0 replaced the R6 promise class with a classed environment while stabilizing the tracing API.

Read the full promises trajectory →

clock vs promises: editorial side-by-side

C
clock
DEVOPS
0.0

clock is turning calendar conventions lubridate hard-coded into parameterized types.

◆ Current state

clock provides typed date-time handling for R on top of the C++20 date library, with explicit calendar and time-point types instead of implicit coercion. The visible history splits between genuine arithmetic additions and a long tail of compiler and CRAN-policy repairs. Recent releases are mostly the latter, with 0.7.3 raising the tzdb and R floors.

◆ Where it's heading

The feature arc moves toward making conventions explicit and parameterized rather than fixed: counting units between dates in 0.6.0, duration modulus and integer division alongside it, then a week-start-parameterized calendar in 0.7.0 that subsumes both ISO and CDC epidemiological weeks. Since 0.7.0 the package has added almost no surface, spending releases on C++ toolchain compliance instead. The 0.7.3 parsing change, following upstream to character-width rather than digit-count parsing, is the one recent break users must handle.

◆ Prediction

The last three releases are maintenance-shaped, so the next most likely tracks another tzdb or compiler requirement rather than adding calendars.

P
promises
DEVOPS
0.0

promises drops R6 for plain environments and wires async work into OpenTelemetry

◆ Current state

promises supplies the async primitives behind Shiny and plumber. After years of small domain and future() fixes, the last two releases changed both what a promise costs and what it can report: 1.4.0 corrected nested domain ordering and added the first OpenTelemetry integration, and 1.5.0 replaced the R6 promise class with a classed environment while stabilizing the tracing API.

◆ Where it's heading

Two things are being fixed at once. Promise domains - the mechanism that carries context across async boundaries - have been the source of nearly every bug in this window, and they are now being used deliberately as the vehicle for tracing rather than just for error handling. Meanwhile the object itself is being made cheap enough to create in volume.

◆ Prediction

Expect the OpenTelemetry surface to lose its experimental label and pick up the same span coverage Shiny would need end to end; the deprecated ospan function names should be removed in a following release.

Alternatives to clock and promises

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 clock or promises.

See all clock alternatives → · See all promises alternatives →

Recent activity from clock and promises

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

  1. 9mo agopromisesOpenTelemetry spans across async work; R6 dropped for environments
  2. 9mo agopromisesNested promise domains fixed; then() gains a tee argument
  3. 1y agopromisesRealigns future object creation with the future package
  4. 1y agoclockParsing switches to character widths; tzdb 0.5.0 required
  5. 1y agoclockdiff() method added for time points and calendars
  6. 1y agopromisesFixes stack overflow on long promise chains
  7. 1y agopromisesFixes domains forgotten inside nested handlers
  8. 2y agoclockInternal C++ cleanup for CRAN warnings
  9. 3y agopromisesfuture_promise() returns early when workers are exhausted
  10. 3y agoclockyear_week_day() calendar and spanning sequences added
  11. 4y agoclockZero-length sequences allowed; dependency floors raised
  12. 4y agoclockdate_count_between() and duration modulus arithmetic

Frequently asked questions

What is the difference between clock and promises?

They serve adjacent needs but don't currently overlap on shipped themes. clock and promises are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is clock better than promises?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. clock and promises are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other DevOps products to evaluate alongside.

What are the best alternatives to clock?

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

What are the best alternatives to promises?

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