23
What are you working on this week? (Apr. 21, 2024)
(programming.dev)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
I'm still working on a benchmark for my wordle solver. The thing itself works, but I want it to print statuses while benching.
I cannot do it. I've spent hours on this, even tried to make the bench async and run it in a separate Tokio task. I cannot share my bench strict over a thread, and cloning is impossible too, because of something.
Sometimes, the lifetime and ownership stuff of rust really gets annoying. C would've just done the stuff and be done with it. (Maybe)
I you share your code here, maybe someone can help.
The whole code is here
(It does not compile right now)
I understand why it does not work, but I don't know how to achieve what I'm looking for.
This is the code snippet from the binary:
From the CI