← Back to home
Comparison · DevOps

cpp11 vs httr2

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

cpp11 vs httr2: at a glance

Featurecpp11httr2
SectorDevOpsDevOps
Velocity score0.02.5
Sparks · 30d00
Top themesr-cpp, non-api-migration, cran-compliance, performancer, http-client, oauth, opentelemetry
Last editorial update1h ago2h ago
WebsiteVisit →Visit →

What is cpp11?

cpp11 has spent two years rebuilding itself on R's supported API surface

cpp11 is the header-only C++ interface for R packages, and nearly every release in this window is governed by one force: R core's tightening of what counts as non-API. 0.5.0 removed the growable-vector internals that made push_back() cheap, 0.5.3 and 0.5.4 removed further non-API usage, and the small releases in between are crash and compiler-warning fixes.

Read the full cpp11 trajectory →

What is httr2?

httr2 is growing production concerns: tracing, throttling and token hygiene.

httr2 is the tidyverse's modern HTTP client and the designated successor to httr. Recent releases have moved past request-building ergonomics into operational concerns — OpenTelemetry traces for every request, throttling that behaves correctly across repeated calls, and a fix for OAuth token caches that were never actually being pruned.

Read the full httr2 trajectory →

cpp11 vs httr2: editorial side-by-side

C
cpp11
DEVOPS
0.0

cpp11 has spent two years rebuilding itself on R's supported API surface

◆ Current state

cpp11 is the header-only C++ interface for R packages, and nearly every release in this window is governed by one force: R core's tightening of what counts as non-API. 0.5.0 removed the growable-vector internals that made push_back() cheap, 0.5.3 and 0.5.4 removed further non-API usage, and the small releases in between are crash and compiler-warning fixes.

◆ Where it's heading

The package is trading a little performance for the right to keep passing CRAN checks indefinitely, and saying so plainly in the release notes. With R >= 4.0 now required, whole compatibility branches have been deleted rather than maintained. The remaining work is narrow: finish the non-API migration, then get back to interface features like cpp_source() handling multiple files.

◆ Prediction

Expect the last non-API dependencies to be cleared and the deprecated compatibility defines to be removed outright; the entries suggest maintenance discipline rather than new C++ surface.

H
httr2
DEVOPS
2.5

httr2 is growing production concerns: tracing, throttling and token hygiene.

◆ Current state

httr2 is the tidyverse's modern HTTP client and the designated successor to httr. Recent releases have moved past request-building ergonomics into operational concerns — OpenTelemetry traces for every request, throttling that behaves correctly across repeated calls, and a fix for OAuth token caches that were never actually being pruned.

◆ Where it's heading

The package is maturing into infrastructure for long-running R services rather than interactive scripts. The 1.2.0 lifecycle purge removed deprecated streaming and mocking APIs in favour of a connection-based model, and debugging affordances like httr2_translate() point at users who need to reproduce a failing request outside R.

◆ Prediction

Expect further observability and credential-handling work, with the rlang-driven cache hash change in 1.3.0 likely to surface follow-up issues as existing caches silently invalidate.

Alternatives to cpp11 and httr2

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 cpp11 or httr2.

See all cpp11 alternatives → · See all httr2 alternatives →

Recent activity from cpp11 and httr2

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

  1. 1mo agohttr2httr2 1.3.0 fixes OAuth token caches that never expired
  2. 1mo agohttr2httr2 1.2.3 translates requests into curl commands
  3. 3mo agocpp11cpp_source() accepts multiple files; template crash fixed
  4. 4mo agocpp11R_NamespaceRegistry usage removed
  5. 6mo agocpp11ATTRIB() removed; C++ compatibility headers tidied
  6. 8mo agohttr2httr2 1.2.2 emits OpenTelemetry traces for every request
  7. 1y agohttr2httr2 1.2.1 stops escaping colons in paths
  8. 1y agohttr2httr2 1.2.0 removes deprecated mocking and streaming APIs
  9. 1y agohttr2httr2 1.1.2 fixes AWS request signing and header checks
  10. 1y agocpp11cpp11 0.5.2
  11. 1y agocpp11R 4.0 required; unwind-protect and ALTREP defines retired
  12. 1y agocpp11Growable-vector internals dropped for R's supported API

Frequently asked questions

What is the difference between cpp11 and httr2?

They serve adjacent needs but don't currently overlap on shipped themes. httr2 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 cpp11 better than httr2?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. httr2 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 DevOps products to evaluate alongside.

What are the best alternatives to cpp11?

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

What are the best alternatives to httr2?

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