alxschwrz/codex_py2cpp

Converts python code into c++ by using OpenAI CODEX.

43
/ 100
Emerging

Leverages OpenAI's Codex API to translate Python scripts into compilable C++ code, automatically validating output through g++ compilation and executable generation. The tool constructs structured prompts from input Python files, feeds them to Codex for semantic code translation, and persists only successfully compiled binaries as .cpp and .exe artifacts. Designed for performance optimization workflows, enabling developers to identify performance bottlenecks and benchmark execution speed improvements between interpreted and compiled implementations.

505 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 17 / 25

How are scores calculated?

Stars

505

Forks

48

Language

Python

License

MIT

Last pushed

Jul 10, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/alxschwrz/codex_py2cpp"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.