PEGTL VS sparsepp

Compare PEGTL vs sparsepp and see what are their differences.

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
PEGTL sparsepp
8 3
1,531 1,122
1.4% -
8.4 0.6
8 days ago 10 months ago
C++ C++
Boost Software License 1.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

PEGTL

Posts with mentions or reviews of PEGTL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-07-10.

sparsepp

Posts with mentions or reviews of sparsepp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-27.
  • Who here is ready to see some 64MB blocks on mainnet?
    5 projects | reddit.com/r/btc | 27 Oct 2021
    But it's pretty easy to address this. The CoinsViewCache's underlying storage is just a std::map. A while ago, I replaced that with a sparsepp hashtable to improve the memory efficiency. It wasn't hard to do; took a couple of hours. We could do the same thing with a concurrent hashtable implementation. The hardest part of doing this would be picking an implementation and validating that it's mature and stable enough to be used in BCHN. Intel's Threading Building Blocks has some good candidates, but it's also possible that another implementation might be more suitable.
    5 projects | reddit.com/r/btc | 27 Oct 2021
    Hey thanks for the mention /u/jtoomim. I see that you used sparsepp in CoinsViewCache. A phmap::flat_hash_map would probably be similar for memory usage, but likely faster (because of parallel lookup with SSE instructions and contiguous memory storage in one array).

What are some alternatives?

When comparing PEGTL and sparsepp you can also consider the following projects:

lexy - C++ parsing DSL

C++ B-tree - Git mirror of the official (mercurial) repository of cpp-btree

pybind11 - Seamless operability between C++11 and Python

cpp-peglib - A single file C++ header-only PEG (Parsing Expression Grammars) library

lalrpop - LR(1) parser generator for Rust

spirit - Boost.org spirit module

Optional Argument in C++ - Named Optional Arguments in C++17

Hopscotch map - C++ implementation of a fast hash map and hash set using hopscotch hashing

Learn Project - go study

sparsehash - C++ associative containers

Inja - A Template Engine for Modern C++