Viewing profile — Measter
Measter
HN member- Joined
- Sat, Feb 08, 2020, 10:18 AM UTC
- HN karma
- 336
- Public activity
- 226 items
- HN profile
- View on Hacker News ↗
About Measter
No profile information was provided.
Recent public activity
-
comment
Comment #49249126
In terms of "finished" projects, I wrote a program that generated new, empty, histories for Crusader Kings II. It could create new cultures, religions, and titles, and did a simple…
-
comment
Comment #49143572
They're a long-time anti-Rust zealot. This is the sort of nonsense they've been coming out with for years.
-
comment
Comment #48880357
Which is probably a case of the human prompting the AI only being able to see the decoy message, so they think the AI was able to read it because it matches what they can see.
-
comment
Comment #48880339
There's also the element of actual humans being unable to read the intended message, and only seeing the decoy text. It's a pretty crappy system if a portion of your intended audie…
-
comment
Comment #48382093
Complete and utter nonsense. Every Windows tool I remember using has handled LF-only endings perfectly fine, meanwhile Linux tools regularly fail to handle CRLF endings.
-
comment
Comment #48382034
The only times I can remember having line-ending issues is using GNU's tools on Linux. Every Windows tool I can remember using accepts both CRLF and LF.
-
comment
Comment #48106808
Microsoft's PowerToys did add that in (I think) the last version. Alt + Left click moves, alt + right click resizes.
-
comment
Comment #48061677
That's not really that surprising when you think about it. Standard library-provided things are implemented on a basis of working OK for as many scenarios as possible, not on one o…
-
comment
Comment #47578006
Hilariously, I had the exact opposite. I use Fira Code, which I eliminated in the first round.
-
comment
Comment #47502419
> It's as if someone asked you how many 1s there are in the binary representation of this text. I'm actually kinda pleased with how close I guessed! I estimated 4 set bits per char…
-
comment
Comment #46684401
No, it isn't. Because that distinction is significant if you are using the language in an environment where those libraries are not available or suitable, such as the Linux project…
-
comment
Comment #46682568
The Rust language has exactly that level of control. Rust's Alloc and STD implementations do not yet provide it.
-
comment
Comment #46678601
Memory allocations in Rust are also always done explicitly, but Rust's library types don't have APIs that allow you to get it wrong.
-
comment
Comment #46616482
Another issue we have to consider here for the measurements taken then is that it was miscompiling, which, to me, calls into question how much we can trust that performance change.…
-
comment
Comment #46616322
> On the other hand, signed integer overflow being UB would count for C/C++ C and C++ don't actually have an advantage here because this is only limited to signed integers unless y…
-
comment
Comment #46172704
> In debug mode, rust programs also crash on unsigned integer overflow. All integer overflow, not just unsigned. Similarly, in release mode (by default) all integer overflow is ful…
-
comment
Comment #46034214
And, by default, panicking in Rust also doesn't crash, it begins a stack unwind which can be caught on any layer above it with catch_unwind.
-
comment
Comment #46033960
Fun fact: that's what an unwrap does. It panics, which causes the error to be logged and the thread ended.
-
comment
Comment #46014677
Back in 2015 when the Rust project first had to disable use of LLVM's `noalias` they found that performance dropped by up to 5% (depending on the program). The big caveat here is t…
-
comment
Comment #45935746
It's interesting that I've also heard the same from people involved in Rust. Expecting more interest from C++ programmers and being surprised by the numbers of Ruby/Python programm…
-
comment
Comment #45935717
For Rust vs C++, I'd say it'll be much easier to have a complete understanding of Rust. C++ is an immensely complex language, with a lot of feature interactions. C# is actually fai…
-
comment
Comment #45885965
So in Rust an unsafe block and an unsafe function mean two different things. An unsafe block allows you to do things that are unsafe, such as dereference raw pointers, access union…
-
comment
Comment #45883811
A segfault is not the program performing a runtime check and doing a controlled shutdown. A segfault is the OS detecting the program doing something it's not allowed to and killing…
-
comment
Comment #45883724
Only if that memory page is unmapped, and only if the optimizer doesn't detect that it's a null pointer and start deleting verification code because derefing null is UB, and UB is …
-
comment
Comment #45883661
> Take Herb Sutter for example, who argues that "memory safety" as defined in this article is an extreme goal and we should instead focus on a more achievable 95% safety instead to…