{"repo":"yaneurao/Pytra","free":true,"listed":false,"github":"https://github.com/yaneurao/Pytra","clone":"git clone https://github.com/yaneurao/Pytra.git","description":"Ultimate transpiler: converts Python to C++, Rust, C#, PowerShell, JavaScript, TypeScript, Dart, Go, Java, Swift, Kotlin, Ruby, Lua, Scala3, PHP, Nim, Julia, and Zig.","language":"Python","stars":297,"topics":["python","transpiler","cpp","csharp","rust","go","js","kotlin","swift","ts"],"license":"Apache-2.0","category":"self-hosted-apps","readme_excerpt":"Pytra is Pytra's input language — Pytra transpiles that code into multiple target languages. · Supported Backends · Features 🐍 Python → native code in each target language - 🌐 Transpiles to C++ / Rust / Go / Java / TS and many more - 🧩 Preserves the original code structure almost entirely - ⚡ Write in Python, generate high-performance code - ✨ Simple Python subset input - 🛠 Works with existing tools like VS Code out of the box - 🔧 The transpiler itself is written in Python — easy to extend - 🔁 Self-hosting capable — can transpile itself Performance Comparison Execution time of sample code written in Python versus execution time of the same code after transpilation. (Unit: seconds.) The Python column is the original code; PyPy is included for reference. No. Description - - -: -: -: -: -: -: 06 Julia set parameter sweep (GIF) 9.627 0.507 0.546 0.407 0.329 0.626 16 Glass sculpture chaos rotation (GIF) 6.847 0.606 0.277 0.246 1.220 0.650 Full data for all languages and all samples → Sample page Sample code : 06 julia parameter sweep.py - Full source: sample/py/06 julia parameter sweep.py Transpiled code (per language) C++ Rust C# JS TS Dart Go Java Swift Kotlin Ruby Lua Scala3 PHP Julia Sample code : 16 glass sculpture chaos.py - Full source: sample/py/16 glass sculpture chaos.py Transpiled code (per language) C++ Rust C# JS TS Dart Go Java Swift Kotlin Ruby Lua Scala3 PHP Julia Python vs C++ vs Rust vs Pytra Legend: ✅ = Good / 🔶 = Partial / limited / ❌ = Not supported / d","default_branch":null,"files":null,"tree":[],"storefront":"/r/yaneurao","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yaneurao/Pytra/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}