[-] Giooschi@lemmy.world 3 points 5 days ago

Can't those be installed in toolbox?

[-] Giooschi@lemmy.world 28 points 1 month ago* (last edited 1 month ago)

Because Rust is not the only language that made this faulty assumption. It is an issue that affects Rust's stdlib, just like it is an issue that affects Python's stdlib and other libraries. In fact this was first reported as a vulnerability to yt-dlp (where it was actually exploitable) and then discovered it applied to many other libraries (where the exploitability is highly dependent on how the feature is used).

Rust here is only used as clickbait because of its aim to be "safe", but its position is no different from other languages.

If you read the article from the researcher that discovered the vulnerability you'll see they never call out Rust in particular, only as part of a list of languages that are affected. https://flatt.tech/research/posts/batbadbut-you-cant-securely-execute-commands-on-windows/

[-] Giooschi@lemmy.world 14 points 1 month ago

Loop unrolling is not really the speedup, autovectorization is. Loop unrolling does often help with autovectorization, but is not enough, especially with floating point numbers. In fact the accumulation operation you're doing needs to be associative, and floating point numbers addition is not associative (i.e. (x + y) + z is not always equal to (x + (y + z)). Hence autovectorizing the code would change the semantics and the compiler is not allowed to do that.

[-] Giooschi@lemmy.world 13 points 2 months ago

However, how are they sabotaging it working on Linux.

For example they discontinued support for Rocket League on Linux (and Mac) after buying Psyonix.

[-] Giooschi@lemmy.world 20 points 2 months ago

Citra is a 3DS emulator, this is a DS one, how are you comparing them?

[-] Giooschi@lemmy.world 27 points 3 months ago* (last edited 3 months ago)

Even after reading the key points it wasn't clear "how" they manage to do that. The article is not much more detailed, but at least mentions them exploiting android's accessibility services.

[-] Giooschi@lemmy.world 12 points 3 months ago

Even if the compiler was available to the public most software doesn't use it, so the benchmark is still not representative of real world performance.

[-] Giooschi@lemmy.world 12 points 3 months ago

People can only remember a limited number of passwords without resorting to systems or patterns.

People also don't have a backup device though.

[-] Giooschi@lemmy.world 16 points 10 months ago

I did that a couple of times, but it was more like "I don't want to grind all of this stuff, I want to skip to the fun part". Also, it's morally different because it impacts nobody else.

[-] Giooschi@lemmy.world 20 points 10 months ago

Hey, I switched to Firefox because I liked its UI better (after Quantum though)

[-] Giooschi@lemmy.world 47 points 10 months ago

If you live in the USA you don't suffer from the problem it solves because you have ~5 IP v4 addresses per capita (totaling to 41% of all the IP v4 addresses), and likewise many european countries have ~2 per capita (although there are expeptions like Italy and Spain which are a bit under 1 per capita). However many other countries don't have such luxury, for example in india there's one for every 36 people, which is obviously not enough and thus they have to either use NAT everywhere or switch to IPv6.

[-] Giooschi@lemmy.world 19 points 11 months ago

To run something on multiple cores you need to detect a bunch of different tasks it is doing that don't depend on one another. Then you can execute each task in its own thread. The problem is that most often these different task don't exist, or, if they do, figuring them out automatically by the code is likely equivalent to solving the halting problem, that is it's undecidable and there can't exist a program that does this.

view more: next ›

Giooschi

joined 11 months ago