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

If you squint, Porffor[1] might end up being something like that.

It doesn't use type hints yet, and the difficulty there is that you'd need a sound type system in order to rely on the types. You may be able to use type hints to generate optimized and fallback functions, with type guards, but that doesn't exist yet and it sounds like the TypeScript team wants to move pretty quickly with this.

[1]: https://porffor.dev/



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

Search: