← Back to home
Comparison · Analytics

epidemics vs mirai

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

epidemics vs mirai: at a glance

Featureepidemicsmirai
SectorAnalyticsAnalytics
Velocity score3.82.5
Sparks · 30d10
Top themesepiverse-trace, compartmental-models, odin, breaking-changesparallel-computing, async, backpressure, shiny
Last editorial update2h ago1h ago
WebsiteVisit →Visit →

What is epidemics?

epidemics swapped its C++ engine for odin — and quietly inverted how contact matrices must be passed.

epidemics ships composable compartmental model structures — default SEIR-V, Vacamole, diphtheria and Ebola — with classes for populations, interventions and vaccination campaigns. After more than two years without a release, 0.5.0 landed in July 2026 carrying both an engine migration and a breaking input-convention change. Maintainership moved to a new lead back in 0.4.0.

Read the full epidemics trajectory →

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 →

epidemics vs mirai: editorial side-by-side

E
epidemics
ANALYTICS
3.8

epidemics swapped its C++ engine for odin — and quietly inverted how contact matrices must be passed.

◆ Current state

epidemics ships composable compartmental model structures — default SEIR-V, Vacamole, diphtheria and Ebola — with classes for populations, interventions and vaccination campaigns. After more than two years without a release, 0.5.0 landed in July 2026 carrying both an engine migration and a breaking input-convention change. Maintainership moved to a new lead back in 0.4.0.

◆ Where it's heading

The package's history is a sequence of deliberate breaking releases: 0.2.0 renamed every model function and vectorised the ODE models, 0.3.0 restructured the Ebola model into two levels and made replicates the default, and 0.5.0 rewrites the compiled core. The direction is toward a smaller, more declarative model definition layer with the numerical work delegated to a dedicated tool.

◆ Prediction

With the default, Vacamole and diphtheria systems now declared in odin, the Ebola model is the obvious remaining candidate for the same treatment.

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.

Alternatives to epidemics and mirai

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 epidemics or mirai.

See all epidemics alternatives → · See all mirai alternatives →

Recent activity from epidemics and mirai

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

  1. 25d agomiraiMap collection and daemon lifecycle fixes
  2. 25d agoepidemicsODE models migrate to odin; contact matrices must no longer be transposed
  3. 2mo agomiraiAgent skill ships in-package; HTTP headers take over auth
  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. 2y agoepidemicsPeak timing and scenario comparison helpers; negative-susceptible bug fixed
  9. 2y agoepidemicsEbola model accepts vector inputs and defaults to 100 replicates
  10. 2y agoepidemicsODE models vectorised; every model function renamed
  11. 2y agoepidemicsFirst release: four composable compartmental model structures

Frequently asked questions

What is the difference between epidemics and mirai?

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

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. epidemics is currently shipping more aggressively (velocity 3.8 vs 2.5), with 1 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 epidemics?

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

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.