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

Hear me out: javascript integrates types as comments (ignored by default) in its standard and engines start to use types as performance / optimization hints. If you mistype, your program runs, but you get worse performance and warnings in console. If you type correctly, your program runs more efficiently. We already have different levels of optimization in V8 or JSC, why can't they use type hints to refine predictions?


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

Search: