Rust implementation: ~15x speedup in equivalent commands#5
Rust implementation: ~15x speedup in equivalent commands#5Paladynee wants to merge 15 commits intoFlamethr0wer:mainfrom
Conversation
|
Augh, someone beat me to it. Nice job, though! |
|
hey i saw your project is implemented in Python. i have opened a pull request in your repository containing a different implementation in Rust. i AI-generated it. i have no faith that it is correct in the slightest. if somebody could do all the work of testing it for me in the already opened pull request that would be great. thank you. |
At least I don't try shoving it down their throats, nor am I doing any unsupervised vibe coding, and I'm transparent about it. They reserve all the rights to just outright close this PR, and I'd respect that. |
|
lol changed it to a draft |
|
are you going to contribute anything or are you just here to shame the ai usage? |
|
that is my contribution ❤️ |
|
message received. |
|
why are you so caught up on the AI mention? i was talking about you using AI for a grand total of 4 words in a 62 word comment. |
|
let it go already bro |
|
let what go |
|
are you going to focus on the PR itself or are we going to continue this? |
|
i've been doing nothing but document my progress on the thing other than my interaction with you |
|
i'm currently triyng to fix a problem within the algorithm, when i run it with i don't really know whether this is expected or not, because there is no verification step in the original python script. |
|
Okay guys stop arguing! Poor triangles are getting stressed. |
|
I just randomly got a YouTube video about this on my feed and oh my god this is hilarious. |
you've honestly lost the plot |
There's nothing to "respect" here. It's not your repo to begin with. So far you've done almost anything to "shove it down their throats". |
I don't think I have. There's no plot to begin with. Just an AI Andy trying to prompt their way in. It would maybe be acceptable if he had at least checked the code himself, but it's literally just unchecked vibe session. |
you think the rust re-write is vibe coded? I really don't see how, and if it is then I'm sorry |
Dude, did you even read the PR messages or are you just blindly white knighting this guy? He basically admitted himself. Come on. |
well yes the commit messages are clearly AI, but that could be githubs little commit message generator thing, and i use claude to make me .toml files all the time, the code looks clean enough to me. |
I'm losing faith in humanity, really.
It's not about the commit message. Come on. |
|
To those who it may concern: I know a bit about Rust, and may have some free time to make a cleaner, from-scratch rewrite of the system (the tricky part will be finding a scipy-adjacent Rust library, but there are probably a few good ones) |
I mean, it's written in plain text in the initial message within the first two sentences:
And like, this is entirely math. The whole program is a math heavy section. |
thats actually really funny |
after rewatching your video the overlaps started to make sense, i'll remove it in the next commit. the current differences between the Rust version and the python version are
|



I added a translation of the program in Rust, which provided a notable speedup.
note: i took permission from the author before making this PR. this is not an AI spam PR.
Screenshot
Disclaimer:
im not a math guy. for the math heavy sections, i had to resort to text generation. im just a guy who knows a bunch of optimization patterns. i've been testing the end to end results between the two programs to make sure they align. i do not believe in the faithfulness of the translation or the correctness of it in the slightest. if anybody could verify the correctness of it, i'd be very glad.