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

Joke aside, imagine a language that is optimized, to allow for ease of later optimization. As in object orientated, fancy beginner level code goes in, and the hot-loop could be rewritten if needs be by a professional, without doing a complete data-orientated refactoring of the original code.


I don't think that is possible to be honest. I'd love it, but most sub optimal choices require extensive refactorings to work around. I'd love to be proven wrong though.


The current frontiers are nowhere near what is possible though; E.g., python, bash, ruby could be a lot faster if their development was subsidized by governments. Cpp doesn’t have a good package manager (and likely will not have one in the coming decade either). Go doesn’t have obvious features such as string interpolation and generics. Rust’s tooling still isn’t pleasant. ...


ADA and in a minor extent COBOL, were heavily subsidized by the government. Probably even PL/1


From my experience that's a bit like what Cpython is


It would be a set of two languages. One classic, defining operations, sets, flow direction. Then another, which defines containers and the (parallel) paths of execution.




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

Search: