Most active commenters
  • koakuma-chan(3)

←back to thread

217 points amazonhut | 15 comments | | HN request time: 0.766s | source | bottom
1. Charon77 ◴[] No.45248010[source]
Absolutely love how readable the entire project is
replies(3): >>45248035 #>>45248141 #>>45248297 #
2. yieldcrv ◴[] No.45248035[source]
Never knew Rust could be that readable. Makes me think other Rust engineers are stuck in a masochistic ego driven contest, which would explain everything else I've encountered about the Rust community and recruiting on that side.
replies(2): >>45248099 #>>45248436 #
3. jmaker ◴[] No.45248099[source]
Not sure what you’re alluding to but that’s just ordinary Rust without performance or async IO concerns.
4. emporas ◴[] No.45248141[source]
It is very procedural/object oriented. This is not considered good Rust practice. Iterators make it more functional, which is better, more succinct that is, and enums more algebraic. But it's totally fine for a thought experiment.
5. koakuma-chan ◴[] No.45248297[source]
It's AI generated
replies(2): >>45248323 #>>45248330 #
6. ◴[] No.45248323[source]
7. Revisional_Sin ◴[] No.45248330[source]
How do you know? The over-commenting?
replies(2): >>45248379 #>>45248422 #
8. koakuma-chan ◴[] No.45248379{3}[source]
I know because this is how an AI generated project looks. Clearly AI generated README, "clean" code, the way files are named, etc.
replies(2): >>45248400 #>>45248434 #
9. cmrdporcupine ◴[] No.45248400{4}[source]
To me it looks like LLM generated README, but not necessarily the source (or at least not all of it).

Or there's been a cleaning pass done over it.

replies(1): >>45248433 #
10. GardenLetter27 ◴[] No.45248422{3}[source]
The repeated Impls are strange.
replies(1): >>45248471 #
11. koakuma-chan ◴[] No.45248433{5}[source]
I think pretty clearly the source is also at least partially generated. None the less, just a README like that already sends a strong signal to stop looking and not trust anything written there.
12. magackame ◴[] No.45248434{4}[source]
Not sure myself. Commit messages look pretty human. But the emojis in readme and comments like "// Re-export key structs for easier access", "# Add any test-specific dependencies here if needed" are sus indeed.
13. GardenLetter27 ◴[] No.45248436[source]
Most Rust code looks like this - only generic library code goes crazy with all the generics and lifetimes, due to the need to avoid unnecessary mallocs and also provide a flexible API to users.

But most people aren't writing libraries.

14. magackame ◴[] No.45248471{4}[source]
Where? Don't see any on latest main (685467e).
replies(1): >>45248667 #
15. yahoozoo ◴[] No.45248667{5}[source]
`llm.rs` has many `impl LLM` blocks