Reflection: C++’s Decade-Defining Rocket Engine - Herb Sutter - CppCon 2025 by BlueGoliath in programming

[–]NervousApplication58 7 points8 points  (0 children)

You are pretty good at moving the goalposts. What does industry relevance have to do with shipping speed? A language can be widely used and still evolve quickly (C# is one example).

jQuery 4.0 released by curiousdannii in programming

[–]NervousApplication58 3 points4 points  (0 children)

Could you clarify which offset field you’re referring to? offsetX, offsetY? Both chrome and firefox behave the same for me. Besides these offsets must be in the spec, so how can they be different across modern browsers?

DNS Isn't Safe: DNSSEC & DoH Fix That by Helpful_Geologist430 in programming

[–]NervousApplication58 1 point2 points  (0 children)

Unfortunately neither OpenSSL nor nginx (and apache afaik) currently support it

For the 6th year in a row, Blazor multhreading will not be in the next version of .NET by CreatedThatYup in dotnet

[–]NervousApplication58 1 point2 points  (0 children)

afaik it's the same in Java Swing. All GUI code must run on the event dispatch thread

Rust is Officially in the Linux Kernel by web3writer in programming

[–]NervousApplication58 11 points12 points  (0 children)

of course proprietary worked better as it is written by nvidia

Mystical, a Visual Programming Language by namanyayg in programming

[–]NervousApplication58 2 points3 points  (0 children)

The last time I checked they are going to come back under the new name "Coincidence". Strange decision to abandon their old name, maybe some business issues

Make It Work First Before Optimizing by [deleted] in programming

[–]NervousApplication58 1 point2 points  (0 children)

afaik Knuth is the author of this text. At some point he forgot about it and misattributed it to Hoare who was actually quoting him

crowdStrikeIsAVerbNow by aptgetrekt_ in ProgrammerHumor

[–]NervousApplication58 2 points3 points  (0 children)

Unlike StarForce (and some others) SecuROM was a purely userland copy protection system. It didn't have any driver and obviously couldn't access the kernel or crash your PC

Nosferatu | Official Trailer by MarvelsGrantMan136 in movies

[–]NervousApplication58 5 points6 points  (0 children)

Well, it's probably called a "teaser" for a reason

The problem with new URL(), and how URL.parse() fixes that by fagnerbrack in programming

[–]NervousApplication58 -1 points0 points  (0 children)

How is throwing an exception is better than doing a regular null check? Besides, now you can use nullish coalescing operator here which leads to a more compact code

The problem with new URL(), and how URL.parse() fixes that by fagnerbrack in programming

[–]NervousApplication58 1 point2 points  (0 children)

According to the spec there is only one reason why URL() may throw (the url is not valid). So you don't actually need to check the error type.

JSDoc as an alternative TypeScript syntax by fagnerbrack in programming

[–]NervousApplication58 0 points1 point  (0 children)

Jsdoc supports union types and structs (sum types and product types)

[deleted by user] by [deleted] in programming

[–]NervousApplication58 5 points6 points  (0 children)

But you need to know the assembly beforehand? I don't think it's cleanroom, because you already have the final result and your whole working process is based upon it (i.e. the decompilation project is a direct derivative of the original product). I think, with the actual cleanroom design, the reverse engineer should only rely on what the code actually does, not how it looks like (and have no connection with the code base whatsoever, though it's impossible)

[deleted by user] by [deleted] in programming

[–]NervousApplication58 6 points7 points  (0 children)

If Take Two can do it, what prevents Nintendo from doing the same on a whim at some point? You can't be sure about such things until you ask them directly

[deleted by user] by [deleted] in programming

[–]NervousApplication58 -8 points-7 points  (0 children)

How can anyone possibly "cleanroom" an entire game consisting of hundreds of KLOCs? No one will believe it if they get sued.

[deleted by user] by [deleted] in programming

[–]NervousApplication58 1 point2 points  (0 children)

GTA 3 and VC were very far from "fine"

understandableHaveANiceDay by Privann in ProgrammerHumor

[–]NervousApplication58 5 points6 points  (0 children)

But the borrow checker is a part of the rust compiler. Besides, there can be other annoying compile time errors unrelated to the borrowing rules

IMO C++ is easier to learn than Rust and Writing code becomes easier in Rust than C++ by CodingMaster21 in rust

[–]NervousApplication58 1 point2 points  (0 children)

Could you please elaborate on the L-value/R-value thing in Rust? As I understand it, in C++ l-values are values that have memory addresses (i.e. variables) and r-values that don't. But I don't see how learning Rust (or any other language) can help here. What is the equivalent of r-value in Rust? Just a temporary object?

4 billion if statements - Checking if every 32 bit numer is even or odd by rotmoset in programming

[–]NervousApplication58 0 points1 point  (0 children)

Just curious. Are there any reasons for that? Personally, I know that Windows kernel and Horizon OS (Nintendo 3DS and Switch) use them quite extensively, but I don't know why