logoalt Hacker News

znpytoday at 8:08 AM1 replyview on HN

Is this another llm-driven rewrite?

I wonder how many "unsafe" blocks are in there...


Replies

queoahfhtoday at 8:11 AM

From what I skimmed manually, not that many, but the code itself seems labyrinthical. Like, why have both Rust Try-supporting Error-like tagged union, but also booleans, for error handling, in the same function?

https://github.com/malisper/pgrust/blob/3646a73515a5e4ac7d0b...

https://github.com/malisper/pgrust/blob/3646a73515a5e4ac7d0b...

show 1 reply