Function
Dev tools
python compiler
SHOW HN2025
How HN took it
2 positive, 8 neutral or asking, 0 mixed, 10 critical, out of 20 comments about the project. Thread score -0.41.
Idea: 1 for, 4 againstPerformance: 0 for, 3 againstExecution: 1 for, 2 againstPrivacy: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Useful for on-device ML inference, including edge hardware and browsers.
From 1 comment
Super cool! Have been a fan of this project for a while. I think this is super important for anyone who is trying to do ml inference on edge hardware, but also the browser too.
shannonclaude on HN
Objections
Performance claims are unrigorous; microbenchmark may be misleading.
From 2 comments
I think that the compilation flags utilized are needed in order to properly justify the validity of the microbenchmark here. At opt-level 2 and 3 rust completely optimizes away…
cbondurant on HNhow come performance is worse than Rust? Isn’t this misleading
nsethi89 on HN
Compiling Python requires reimplementing libraries and stdlib, which is hard to cover.
From 2 comments
Much of the stdlib is written in C. What happens when you use @compile on a function that calls into stdlib directly or indirectly? How do you deal with existing extensions, GIL…
adsharma on HNSpot on! We're starting from specific functions for now, and will expand the scope if/when feasible. The challenges exist across two axes: language coverage and library coverage.…
olokobayusuf on HN
Uploading user code to cloud servers and API key concerns.
From 1 comment
I'm confused about the introduction mentioning API keys? The function is compiled on and/or uploaded to your servers? The introduction could benefit from discussing a less toyish…
croemer on HN
Prior projects have tried this; the language spec and C-API are hard.
From 1 comment
Others have been here before. You'll have to deal with: ``` * C-API * Have a language spec * Deal with differences in pattern matching * Translating library calls * Compete with…
adsharma on HN
Requests
Support NumPy and other scientific libraries.
From 1 comment
So will this only work with standard Python? If I start pulling in Numpy, igraph, scikit, etc, will it still work? The article mentions Numpy as a gang up when trying to use…
j_bum on HN
Better benchmarks, such as a quicksort example.
From 1 comment
I think that the compilation flags utilized are needed in order to properly justify the validity of the microbenchmark here. At opt-level 2 and 3 rust completely optimizes away…
cbondurant on HN
Questions
How does this compare to Mojo?
From 2 comments
How does this compare to a project like Mojo, which also seems to aim at filling that "treacherous gap" you note? They seem to believe that they can't just write a Python…
ModernMech on HNHave you seen Mojo?
thatxliner on HN
Can it compile full programs or frameworks like Django?
From 1 comment
What's the end goal of this? Would I be able to compile any Python program? Will I be able to compile Django or FastApi apps?
DeathArrow on HN
Alternatives named
Mojo
From 2 comments
How does this compare to a project like Mojo, which also seems to aim at filling that "treacherous gap" you note? They seem to believe that they can't just write a Python…
ModernMech on HNHave you seen Mojo?
thatxliner on HN
Numba
From 1 comment
I'm with you. I thought this was going to be an article about Numba.
grandma_tea on HN
py2many
From 1 comment
Much of the stdlib is written in C. What happens when you use @compile on a function that calls into stdlib directly or indirectly? How do you deal with existing extensions, GIL…
adsharma on HN
Python C-API with C extensions
From 1 comment
> Get Rust performance without having to learn Rust I do that by using the Python C-API, no rust, no fuss... Thinking about it, I haven't tried to see how well the robots do with…
UncleEntity on HN