←back to thread

217 points amazonhut | 5 comments | | HN request time: 0.837s | source
1. ramon156 ◴[] No.45248373[source]
Cool stuff! I can see some GPT comments that can be removed

// Increased for better learning

this doesn't tell me anything

// Use the constants from lib.rs

const MAX_SEQ_LEN: usize = 80;

const EMBEDDING_DIM: usize = 128;

const HIDDEN_DIM: usize = 256;

these are already defined in lib.rs, why not use them (as the comment suggests)

replies(3): >>45248872 #>>45249589 #>>45249956 #
2. tialaramex ◴[] No.45249589[source]
For the constants is it possible the author didn't know how? I remember in my first week of Rust I didn't understand how to name things properly, basically I was overthinking it.
replies(2): >>45249834 #>>45249967 #
3. vlovich123 ◴[] No.45249834[source]
Lots of signs this is an LLM-generated project. All the emojis in the README are a hint as well.
4. ericdotlee ◴[] No.45249956[source]
Do you think vibe coded rust will rot the quality of language code generally?
5. tayo42 ◴[] No.45249967[source]
From his reddit post

https://old.reddit.com/r/rust/comments/1nguv1a/i_built_an_ll...