Now you have me wondering 😅
Rust dev, I enjoy reading and playing games, I also usually like to spend time with friends.
You can reach me on mastodon @sukhmel@mastodon.online or telegram @sukhmel@tg
Now you have me wondering 😅
Well, there is cve-rs, just sayin’
If you want everyone to stop trying to shove Rust everywhere, just use smart pointers more. I may somehow get over Rust not replacing every other language if those languages will be safe
I think, the idea was along the lines of “because C++ was not memory-safe, and it has to stay compatible with how it was, there are still a lot of ways to not write memory-safely”
This makes sense, there are memory-safely features available but there are a lot of programmers that will never willingly use that features, because the olden ways are surely better
Other than that, I agree, when you’re paid to fix an unfixable problem you will probably claim something like that and advocate for your solution being the only one that solves this
I see now, that you were misunderstood in some parts.
even if I got reported a really weird bug related to UB, I should (I am not experienced enough to make a claim) be able to know it’s UB since the game’s gonna crash when I try to recreate the bug in Debug.
This may be problematic for several reasons: it may be hard to reproduce, the more complicated the state, the harder; bug may rely on some race condition that may be much rarer in Debug because of speed difference; UB is notorious for causing things that should (seemingly) never happen, like returning from infinite loops, proving false statements true, and such, so it may be hard to understand what at all happened and why.
Regarding optimisations, it might still be better to try to profile the code (I will be honest, I don’t do that until the moment when I can’t go further without optimisation, and I haven’t reached that with Rust) and see what are the real hot spots that require optimisations. I hope that someday you will be able to upgrade your machine, and hope that your game will be a good example of something that really runs anywhere
I just wanted to advice you against thinking that if there’s something in all cases you’ve tried, there’s something every time. When you put something in an optional and then unwrap, it’s okay because you can see that the value is there, but even then there are usually better ways to express that. When you expect that since you’ve run the code thousands of times and it didn’t break [in a way that you would notice, e.g. panic in another thread will only affect that thread] means that everything is fine, you may get weird bugs seemingly out of nowhere and will also need to test much more than strictly necessary.
Regarding the borrow checker, it has limitations and there are improvements that I hope will some day find way into upstream, but most of the time it may be better to change the code flow to allow borrow checker to help with bugs, instead of throwing it away completely. The same goes for unsafe, as in most cases it’s better to not uphold invariants manually.
The main issue is that it tries to fix government trust issues with private actors trust issues. It’s still trust issues
I use it and it’s okay but man, how long could it take them to separate search results in tests from not in tests.
Last time I think I found a similar issue for vscode or rust-analyzer, and the devs said it requires a lot of rework and will not be done for a while. Now I can’t find that but maybe it is a task that is harder than it looks. It would’ve been a total killer feature for me, though
Same, and it looks like nix is not going to get a good support soon, because it’s at the same time not widespread enough and has a complicated semantic. Well at least complicated enough for me as a dev that uses it but still struggles a lot to debug issues.
You didn’t listen when we told you there’s malware in torrents, so we put malware in torrents
Yeah, the propaganda machine is running full steam, and the worst thing is you never really know if something is said in good faith or by the bot account.
I heard that they employ a lot of different strategies, among the other goals it is to plant doubt, so even if something sounds half-reasonable it may still be part of the propaganda :(
What a better place the world could probably be if all this effort went into something good
Skype used to store all history unencrypted for years after MS bought it, this seems to be a tradition of not caring enough
Mine was in the EU, and with a language restricted version, too
I can assume that the region may make a difference
Then you can’t proceed at all, and the error message doesn’t even explain it
Ahah, no, I installed Professional edition a couple of months ago and I needed to do the OOBE/something-somethinNO to proceed with the install
Intel network card also helped because it didn’t work out of the box and I really had no internal other than mobile
Well, I don’t think any government is different in that regard 😅
Techies: what if it bricks accidentally?
Manufacturer: *spinning the key fob* we didn’t think that far, to be honest
A few moments later
Manufacturer: *proceeds to drop the remote and accidentally bricks everything*
Reminds me of how I found some safety measures to be in China some years back, basically those were signs saying “plz don’t fall to your death, if you do it’s your fault”