|1 day ago||5 months ago|
|GNU General Public License v3.0 or later||MIT License|
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
PyTorch: Where we are headed and why it looks a lot like Julia (but not exactly)
18 projects | news.ycombinator.com | 26 Nov 2021
Show HN: prometeo – a Python-to-C transpiler for high-performance computing
19 projects | news.ycombinator.com | 17 Nov 2021
No intermediate AST. To understand the various stages of transpilation and separation of language specific and independent rewriters, this file is a good starting point:19 projects | news.ycombinator.com | 17 Nov 2021
This is awesome! The direction of using a subset of python, while leveraging the user base and static typing to accomplish some other everyday task in a different language is very legit IMO.
I took a cursory look at:
It seems quite similar in spirit to
I'm not spending much time on py2many last few months (started a new job). Let me know if any of it sounds useful - especially the ability to transpile to 7-8 languages including Julia, C++ and Rust.
Implicit Overflow Considered Harmful (and how to fix it)
2 projects | news.ycombinator.com | 5 Oct 2021
Link to the test that's relevant for this discussion:
This is an explicit deviation from python's bigint, which doesn't map very well to systemsey languages. The next logical step is to build on this to have dependent and refinement types.
Work in progress here:
Structural pattern matching in Python 3.10
2 projects | news.ycombinator.com | 20 Sep 2021
If you stick to this subset of python
The tool can convert your code to C++/Rust/Go and give you a native binary which like you observe will run faster without the python runtime.
There are many open tasks that could use help.
Nuitka: An extremely compatible Python compiler
10 projects | news.ycombinator.com | 1 Sep 2021
It seems to be fully statically typed, for starters:
But, given LuaJIT and V8, it's obviously possible to generate high-performance code without such restrictions.
As for PyPy adoption, it's hindered more by the lack of API compatibility with CPython native extensions.10 projects | news.ycombinator.com | 1 Sep 2021
Renaming the language in the future is still a possibility. For now, all the tests here:
are run with cpython interpreter and verified for compatibility.
Even when there is a desire to innovate (design by contract or pattern matching as an expression), hope to do so without breaking cpython (as long as you stick to the subset).
Kind: A Modern Proof Language
7 projects | news.ycombinator.com | 11 Aug 2021
I thought SMT2 (what you can feed to z3 -smt2), is a s-expression language that is the lowest level ("bytecode") thing. If you look at Dafny/Boogie, boogie is a much more human readable IR. I'm trying to build a pythonic variant of Boogie.
Paxos vs Raft: Have We Reached Consensus on Distributed Consensus?
5 projects | news.ycombinator.com | 16 Jul 2021
Functools – The Power of Higher-Order Functions in Python
5 projects | news.ycombinator.com | 9 Jul 2021
I'm interested in similar proposals that can provide the basis of some common syntax that could be transpiled to other functional programming languages https://github.com/adsharma/py2many
I'm less interested in the syntax (will take anything accepted by a modified ast module), more in the semantics.
Here's a syntax I played with in the past:
def area(s: Shape):
What are some alternatives?
PyO3 - Rust bindings for the Python interpreter
setuptools-rust - Setuptools plugin for Rust support
sparsehash - C++ associative containers
PEGTL - Parsing Expression Grammar Template Library
Optional Argument in C++ - Named Optional Arguments in C++17
julia - The Julia Programming Language
PyCall.jl - Package to call Python functions from the Julia language
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.