Title: Why not .py to .rs · Issue #6458 · RustPython/RustPython · GitHub
Open Graph Title: Why not .py to .rs · Issue #6458 · RustPython/RustPython
X Title: Why not .py to .rs · Issue #6458 · RustPython/RustPython
Description: Summary Hi RustPython team — thanks for your great work. I have a question/idea: RustPython runs Python on a Rust-based interpreter. Have you ever considered supporting the reverse workflow — transpiling Python into Rust code, then compi...
Open Graph Description: Summary Hi RustPython team — thanks for your great work. I have a question/idea: RustPython runs Python on a Rust-based interpreter. Have you ever considered supporting the reverse workflow — trans...
X Description: Summary Hi RustPython team — thanks for your great work. I have a question/idea: RustPython runs Python on a Rust-based interpreter. Have you ever considered supporting the reverse workflow — trans...
Opengraph URL: https://github.com/RustPython/RustPython/issues/6458
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Why not .py to .rs","articleBody":"## Summary\n\nHi RustPython team — thanks for your great work.\n\nI have a question/idea: RustPython runs Python on a Rust-based interpreter. Have you ever considered supporting the reverse workflow — transpiling Python into Rust code, then compiling it with rustc?\n\n## Proposed workflow:\n\nInput: Python source code\n\nStep 1: Parse Python → build AST (RustPython already has a parser/AST)\n\nStep 2: Convert Python AST → Rust AST / Rust source code\n\nStep 3: Compile generated Rust with rustc to produce a native binary\n","author":{"url":"https://github.com/MominIqbal-1234","@type":"Person","name":"MominIqbal-1234"},"datePublished":"2025-12-19T20:37:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/6458/RustPython/issues/6458"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:83f770d3-ca9e-161b-9dc6-a0236c3c282c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6B4:123BF1:9699B0:D510F1:696FB4FA |
| html-safe-nonce | 5eed0df0de6128995c6e4e3573c3db396ae00e3474df1e3ce560e72618365484 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkI0OjEyM0JGMTo5Njk5QjA6RDUxMEYxOjY5NkZCNEZBIiwidmlzaXRvcl9pZCI6IjI3NDczNTgzMjE3OTcyMTU0ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 756edd69b032f5cf858fd9c774ca0c5df0fce4f04bd630f736455f6f8abdc0aa |
| hovercard-subject-tag | issue:3748791258 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/RustPython/RustPython/6458/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1e8fe6a5fd35812fe86582783520777b0d12f3602af286d91480d694708fad35/RustPython/RustPython/issues/6458 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1e8fe6a5fd35812fe86582783520777b0d12f3602af286d91480d694708fad35/RustPython/RustPython/issues/6458 |
| og:image:alt | Summary Hi RustPython team — thanks for your great work. I have a question/idea: RustPython runs Python on a Rust-based interpreter. Have you ever considered supporting the reverse workflow — trans... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MominIqbal-1234 |
| hostname | github.com |
| expected-hostname | github.com |
| None | d146dfd2c89f9048de9fd6d73ec4ffcf201cc2c89880fcf1c73ff73970d46e64 |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1866f0fdabd6ce28d22bf272fe23b56a9d475be6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width