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: github.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:fbcb8faa-30a9-c913-9034-feeae315ef53 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D73A:D4F9E:243B1A0:325DABF:696FF7C4 |
| html-safe-nonce | 910aee75bdc06df4c398dfad19f31d7ae7f1d6385f90ab4c642a5eb7c35b19e3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzNBOkQ0RjlFOjI0M0IxQTA6MzI1REFCRjo2OTZGRjdDNCIsInZpc2l0b3JfaWQiOiI2NzAxODI1Njc4NjMxNzYxODYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7733c55fa84831905cd0dd1c0d4bac6cf8aa3a791a1032128c71a4060a630cb0 |
| 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 | 61db99bbb6a7517db80567029869280bdefa9fa883092d6c2aa07ec4ea15f359 |
| 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 | 91ceb31fcdebd150222e05551caf4a28f9532341 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width