Generative AIDeveloper ToolsOpen in portfolio
Code Converter · Gemini Edition
Translate Python into C++17 or Rust 2021 with Gemini inside the portfolio, then review and download the generated program.
- Python
- Gemini API
- Next.js
- C++17
- Rust 2021
Problem
A code translation needs to preserve a Python program’s behavior while making its assumptions easy to review.
Approach
The original project compared several language models and compilation benchmarks. This portfolio edition uses the available Gemini key to translate one program at a time into C++17 or Rust 2021. It surfaces warnings and leaves compilation and correctness testing to the developer.
Key features
- 01Python → C++17 and Python → Rust 2021 with faithful or optimized prompts
- 02Working example and in-place code comparison
- 03Explanation, warnings and explicit unverified-code status
- 04Copy and download generated code without leaving the portfolio
Demo
Next project
SQL Analysis Studio