logoalt Hacker News

nomel • today at 2:10 AM • 2 replies • view on HN

> on typed python code.

A fairly massive undertaking for existing code, which jit was supposed to be useful for.


Replies

EdwardDiego • today at 4:02 AM

You can use static type analysers and runtime type profilers to add type annotations to a legacy codebase, but the interesting bit would be if you're built on top of a large untyped codebase you don't control like, say, Django, how far it can go.

zahlman • today at 2:44 AM

I would imagine that the LLM has a much easier time adding correct type annotations to old Python code than it does translating it to C.

➕ show 1 reply