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

I tried Hy for 2023 AoC and loved it, but it broke after day 8 because the solution I wrote crashed after 40mins. but re writing the same logic in python took 2 mins to complete.

Hy is nice, but "compiling to python" isn't



That's a new one to me, I've never had a Hy program perform substantially worse than the equivalent Python. I'm curious what the offending code was!


I think from memory it was to do with recursion (ie: stack overflow error) from having a few too many nested `lfor`s

I'll try and find it




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: