Viewing profile — damon_dam
damon_dam
HN member- Joined
- Fri, Feb 14, 2025, 3:31 PM UTC
- HN karma
- 11
- Public activity
- 11 items
- HN profile
- View on Hacker News ↗
About damon_dam
No profile information was provided.
Recent public activity
-
comment
Comment #43081661
Fun stuff. A long time ago, I did something similar by reverse-engineering the Adobe Illustrator format (technically a PostScript macro dialect.) We generated files that could then…
-
comment
Comment #43080344
> How do I allocate memory for addressing it with FS/GS? Allocate the variable normally, then compute the offset in one thread (e.g. offset = uintptr_t(&variable) - get_fs()), then…
-
comment
Comment #43079698
To the author: If you have a specific situation that the codegen is failing to optimize well (e.g. the ctor cases that you ran into) you can store the offset to your variable in a …
-
comment
Comment #43069861
I've switched the default to DDG when they started requiring JS. I run with JS enabled, but the fact that it's now required screams fingerprinting and other shenanigans. 90% of my …
-
comment
Comment #43060572
I don't really disagree with what you wrote. To expand upon my argument, the issues you mention can also be self-policed, or maybe enforced with higher safety levels of the presump…
-
comment
Comment #43058493
Agreed. I would add to your argument as follows. If you stick with "21st Century C++" [1], you never have to use a pointer. At some point, there will be (say) a -W20 flag that prod…
-
comment
Comment #43055140
Halloween came early this year. Pretty ghoulish too.
-
comment
Comment #43051019
> Who says you can’t make a library that does both? Of course you can. I just meant that the linked article didn't. > On LR/SC: to any atomics experts listening, isn’t it technical…
-
comment
Comment #43050974
> How are you counting "advantages", and how did you come up with the requisite number being 4 or 5? The vagueness was intentional. There is of course no homogeneous way of combini…
-
comment
Comment #43050659
A much better solution to the ABA problem is to use load-linked and store-conditional instructions [1] on platforms where they are available (ARM, RISC-V, etc.) Unfortunately x86 i…
-
comment
Comment #43049344
"Safety" is just an attack vector. AI has a few very motivated enemies with a lot to lose.