alxschwrz/codex_py2cpp
Converts python code into c++ by using OpenAI CODEX.
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.
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)
AS-SiliconMind/SiliconMind-V1
Inference Engine for SiliconMind-V1 Verilog Coding Models