Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

So if the big trick is using optional strong typing, couldn't CPython just do the same? And syntax for type hints is stable enough now, that there would be only little changes necessary on the front. It will likely not give the same level of speedup as Mojos new runtime delivers, but could there be at least some significant boost possible which would make in impact?


I guess JIT type specialization / "monomorphization" might be one way to do it, but I expect that it would be bottlenecked by all the surrounding CPython interpreter stuff.

/amateur_two_cents




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: