alxschwrz/codex_py2cpp
Converts python code into c++ by using OpenAI CODEX.
This tool helps software developers automatically convert their Python scripts into C++ code to significantly improve execution speed. It takes an existing Python file as input and, using AI, outputs equivalent C++ source code and a compiled executable. This is ideal for developers who need to optimize Python performance but prefer to avoid manually rewriting code in C++.
505 stars. No commits in the last 6 months.
Use this if you are a developer with Python code that needs to run faster and you're considering C++ for performance gains.
Not ideal if you need perfectly robust, production-ready C++ code without manual review or if you don't have access to the OpenAI Codex API.
Stars
505
Forks
48
Language
Python
License
MIT
Category
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.
Higher-rated alternatives
k4black/codebleu
Pip compatible CodeBLEU metric implementation available for linux/macos/win
LiveCodeBench/LiveCodeBench
Official repository for the paper "LiveCodeBench: Holistic and Contamination Free Evaluation of...
EdinburghNLP/code-docstring-corpus
Preprocessed Python functions and docstrings for automated code documentation (code2doc) and...
hendrycks/apps
APPS: Automated Programming Progress Standard (NeurIPS 2021)
solis-team/Hydra
[FSE 2026] Do Not Treat Code as Natural Language: Implications for Repository-Level Code...