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

What do you use to optimize a bottleneck in Ruby or Python? (After you have profiled, exhausted the higher level optimizations, and all that.)


Well, most languages use C for their FFI so you're almost stuck with that. You can still use D, since it can call C functions transparently. Though, if I were designing a high-level language and wanted it to be able to call a fast lower-level one, I might choose Forth or OCaml. Once it matures a bit, I might change my answer to Fortress.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: