← Back to home
Comparison · Analytics

mirai vs sftime

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

mirai vs sftime: at a glance

Featuremiraisftime
SectorAnalyticsAnalytics
Velocity score2.50.0
Sparks · 30d00
Top themesparallel-computing, async, backpressure, shinyspatiotemporal, r-spatial, interoperability, tidyverse-integration
Last editorial update3h ago1h ago
WebsiteVisit →Visit →

What is mirai?

mirai removed its dispatcher process and added memory backpressure to the queue.

The async evaluation framework releases roughly monthly and moves fast at the architecture level. In 2.7.0 the dispatcher stopped being a separate process and became a thread, after its loop had already been rewritten in C inside nanonext one release earlier. The same release added an opt-in memory budget for queued task payloads and try_mirai(), which returns NULL immediately rather than blocking when that budget is exhausted.

Read the full mirai trajectory →

What is sftime?

The spatiotemporal companion to sf, moving at the pace of the packages around it.

sftime extends sf with an active time column, giving R a data frame class for data that is both spatial and temporal. Its recent history is almost entirely integration work: 0.3.0 added conversion methods from spatstat point patterns, sftrack and sftraj movement objects and cubble data frames, plus dedicated tidyr::drop_na() and dplyr::dplyr_reconstruct() methods. The two releases since are a namespace version-check correction and a switch from the magrittr pipe to the native pipe in examples.

Read the full sftime trajectory →

mirai vs sftime: editorial side-by-side

M
mirai
ANALYTICS
2.5

mirai removed its dispatcher process and added memory backpressure to the queue.

◆ Current state

The async evaluation framework releases roughly monthly and moves fast at the architecture level. In 2.7.0 the dispatcher stopped being a separate process and became a thread, after its loop had already been rewritten in C inside nanonext one release earlier. The same release added an opt-in memory budget for queued task payloads and try_mirai(), which returns NULL immediately rather than blocking when that budget is exhausted.

◆ Where it's heading

Two threads of work run together: cutting overhead out of the task path — thread-based dispatcher, in-process transport for synchronous daemons, lower per-element dispatch cost in mirai_map() — and making the framework safe to embed in an event loop, where blocking the host R thread is not acceptable. Deployment reach is growing too, with http_config() launching remote daemons over HTTP APIs and auto-configuring for Posit Workbench. Each release pins a minimum nanonext version, so the two packages advance as one unit.

◆ Prediction

With backpressure in place but opt-in, the open question these notes leave is whether a default memory budget arrives; continued overhead reduction and Shiny-facing non-blocking paths are the safer bet.

S
sftime
ANALYTICS
0.0

The spatiotemporal companion to sf, moving at the pace of the packages around it.

◆ Current state

sftime extends sf with an active time column, giving R a data frame class for data that is both spatial and temporal. Its recent history is almost entirely integration work: 0.3.0 added conversion methods from spatstat point patterns, sftrack and sftraj movement objects and cubble data frames, plus dedicated tidyr::drop_na() and dplyr::dplyr_reconstruct() methods. The two releases since are a namespace version-check correction and a switch from the magrittr pipe to the native pipe in examples.

◆ Where it's heading

The package's job is to be interoperable, so its releases follow whatever the surrounding spatial and tidyverse packages do. The dplyr_reconstruct() work is the clearest example of why that matters: inheriting sf's method caused column binding to silently return an sf object where an sftime object was expected, which is the kind of class-preservation bug that only surfaces two steps downstream. Development is sparse, roughly one release a year.

◆ Prediction

Expect further conversion methods as new spatiotemporal classes appear in the R spatial ecosystem, and continued tracking of dplyr and tidyr generics. The entries do not indicate any planned change to the sftime class itself.

Alternatives to mirai and sftime

Other Analytics 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 mirai or sftime.

See all mirai alternatives → · See all sftime alternatives →

Recent activity from mirai and sftime

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

  1. 25d agomiraiMap collection and daemon lifecycle fixes
  2. 2mo agomiraiAgent skill ships in-package; HTTP headers take over auth
  3. 3mo agosftimeExamples switched to the native R pipe
  4. 3mo agomiraiDispatcher becomes a thread, and the queue gains a memory budget
  5. 5mo agomiraiParallel RNG seeding leaves experimental status
  6. 6mo agomiraiRemote daemons over HTTP, and a C dispatcher loop
  7. 8mo agomiraiTelemetry span timing and daemon-switch fix
  8. 11mo agosftimeFixes the cubble namespace version check
  9. 1y agosftimeConverts from spatstat, sftrack and cubble objects

Frequently asked questions

What is the difference between mirai and sftime?

They serve adjacent needs but don't currently overlap on shipped themes. mirai is currently shipping more aggressively (velocity 2.5 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 mirai better than sftime?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. mirai is currently shipping more aggressively (velocity 2.5 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 Analytics products to evaluate alongside.

What are the best alternatives to mirai?

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

What are the best alternatives to sftime?

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