Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
drekipus
on Jan 30, 2024
|
parent
|
context
|
favorite
| on:
A Tour of the Lisps
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
nerdponx
on Jan 30, 2024
[–]
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!
drekipus
on Jan 30, 2024
|
parent
[–]
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:
Hy is nice, but "compiling to python" isn't