(no title)
adsharma | 3 months ago
But why limit to an interpreter? Translate to other excellent compiled languages and benefit from the optimization work there.
Giving up on C-API and the dynamic parts of python that 1% of the people use is a good trade-off.
In the age of cursor and windsurf it's not hard to auto replace incompatible code with something that works in the static-py ecosystem.
Would love to participate in an effort to standardize such a subset.
rich_sasha|3 months ago
Not sure an AI can fix it yet. It's not just adding type annotations.
adsharma|3 months ago
Beyond adding type annotations, there are other important problems to solve when translating python to rust (the most popular path in py2many so far).
This is why I've urged FastAPI and pydantic maintainers to give up on BaseModel and use fquery.pydantic/fquery.sqlmodel decorators. They translate much better.nusl|3 months ago
> 3. We have a compiler for deployment and performance. The interpreter and the compiler are guaranteed to produce the exact same results at runtime.
adsharma|3 months ago