Hacker News new | past | comments | ask | show | jobs | submit login

I gave your prompt to o1-preview and with one correction it did something that seems good to me (I am not a rust programmer, so please double check). :)

first attempt: https://onecompiler.com/rust/42w2duuqh

final result: https://onecompiler.com/rust/42w2e3jr4

PS: it "thought" about it for 2 x 60 seconds




This is looking better! L49 is giving me a little anxiety though, I'd really love to see some kind of justification for that decision. Compare e.g. to Lemire's[1].

EDIT: To be clear, I do understand that I'm making an unreasonable demand. I know the process that came up with this program has no ability to justify this or that "decision" (deliberately scare quoted because it doesn't actually have agency and can't decide at all). And that's the problem. That's why I find it very difficult to trust it.

[1] https://github.com/lemire/FastPFor/blob/52e45deeab9c3a481daa...




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: