|1 day ago||8 days ago|
|GNU General Public License v3.0 or later||Boost Software License 1.0|
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.
How do you set up C++ to call python functions?
2 projects | reddit.com/r/cpp_questions | 12 Jan 2022
And how to do this in the best modern way instead of dealing with Pythons native and annoying 30 year old C API: https://github.com/pybind/pybind11
Was wondering how many of you work 100% remotely as a C++ programmer if so what's your daily tasks mostly or it's just for webdev ? also if a few of you work in the video game industry how is it compared another fields pay / job security ? (compared to finance, banks, or something else)
1 project | reddit.com/r/cpp | 27 Nov 2021
Lots of asio on the C++ side, and lots of asyncio on the python side. Also pybind11 is just plain awesome.
Using C++ static libraries from Python?
1 project | reddit.com/r/learnpython | 19 Nov 2021
Just use https://github.com/pybind/pybind11 . Your life will be a lot simpler that way.
What to use to develop GUIs in C++?
4 projects | reddit.com/r/cpp_questions | 18 Nov 2021
Some work on the C++ side will be required. There's https://github.com/pybind/pybind11 for example.
error C2039: '_invalid_parameter': is not a member of '`global namespace''
1 project | reddit.com/r/cpp_questions | 17 Nov 2021
Switch to c++ (from c#)
1 project | reddit.com/r/cpp_questions | 30 Aug 2021
Also if you need to write libraries for Python in C++: https://github.com/pybind/pybind11
10 year matplotlib/python programmer coming to c++, tips for being more productive?
4 projects | reddit.com/r/cpp | 19 Aug 2021
You should also be aware of pybind11, which makes calling c++ code from python (or vice-versa) a fairly straightforward task, if this becomes necessary or convenient.
Bi-directional marriage of C++ and Python
1 project | reddit.com/r/Cplusplus | 27 Jul 2021
Share data between a C++ application and Python.
2 projects | reddit.com/r/cpp | 10 Jul 2021
Pybind11 is what you are looking for.
wrapping c++ in python
1 project | reddit.com/r/csMajors | 24 Jun 2021
We Built a C++ Rendering Engine for the Web
2 projects | news.ycombinator.com | 10 Jul 2021
As a professional C++ programmer I feel a lot of the reasons C++ gets this response is because it's simply not "batteries included" like Go or Rust.
C++ is a very powerful, unopinionated language, that gives you a lot of freedom to attack your problem domain the way you best see fit.
If you're writing a networked application, don't use POSIX sockets, go and find a higher level library. If you're parsing complex text formats, don't iterate over buffers with char*'s, go pick up PEGTL. If you're working on graphs, or need to properly index in-memory data, go pick up Boost. If you need a GUI, go pick up Qt.
It's extremely common in C++, due to the lack of a universal package management solution, for people to try and "muddle through" and do shit themselves when it's far outside their core competency.
At one of my last employers, the core product was parsing JSON with std::regex, simply because they couldn't be bothered to integrate a JSON library.
Is there anything like sly for C++?
3 projects | reddit.com/r/cpp | 1 Jul 2021
You are looking for Boost.Spirit (https://www.boost.org/doc/libs/1_76_0/libs/spirit/doc/x3/html/index.html) or PEGTL (https://github.com/taocpp/PEGTL)
Why no more Lex/Yakk/ANTLR/whatever?
5 projects | reddit.com/r/cpp | 20 Jun 2021
I personally prefer to use parsing combinator libraries in C++, where the "grammar" is just part of normal C++ and directly integrate. Examples are Boost.Spirit, pegtl, or (my own) lexy.
Rust's Most Unrecognized Contributor
1 project | reddit.com/r/rust | 2 May 2021
Wondered if anyone is interested in a c++ parser combinators library?
1 project | reddit.com/r/cpp | 13 Apr 2021
While I'm not quite sure how this might transfer to your approach, with your Haskell-inspired style being quite different from our C++ templates, in the PEGTL our equivalent to your Char, which is called one, is variadic (true to the T in PEGTL a variadic template) and takes a list of possible matches.
A hand-written recursive descent parser for Lua 5.3, in Lua 5.3!
2 projects | reddit.com/r/lua | 6 Apr 2021
In case you are still fighting with left-recursion you might be interested in this: https://github.com/taocpp/PEGTL/blob/master/src/example/pegtl/lua53.hpp
Ditch regex for parser combinators, a Rust / nom step-by-step guide
5 projects | reddit.com/r/programming | 30 Mar 2021
I've found https://github.com/taocpp/PEGTL to be easier to use than boost parser generators.
What are some alternatives?
PyO3 - Rust bindings for the Python interpreter
setuptools-rust - Setuptools plugin for Rust support
lexy - C++ parsing DSL
sparsehash - C++ associative containers
C++ B-tree - Git mirror of the official (mercurial) repository of cpp-btree
Optional Argument in C++ - Named Optional Arguments in C++17
sparsepp - A fast, memory efficient hash map for C++
py2many - Python to CLike languages transpiler
sparsehash-c11 - Experimental C++11 version of sparsehash
dynamic_bitset - Simple Useful Libraries: C++17/20 header-only dynamic bitset
Hashmaps - Various open addressing hashmap algorithms in C++
FunctionalPlus - Functional Programming Library for C++. Write concise and readable C++ code.