Viewing profile — mandarax8
mandarax8
HN member- Joined
- Wed, Sep 01, 2021, 9:25 PM UTC
- HN karma
- 143
- Public activity
- 85 items
- HN profile
- View on Hacker News ↗
About mandarax8
No profile information was provided.
Recent public activity
-
comment
Comment #48608142
> I actually don't understand the tearing they're talking about. If the fields are final then you can't modify the Value Type anyway? You can assign the object again to overwrite i…
-
comment
Comment #48245468
Is there any reason that you couldn't implement this on Xorg?
-
comment
Comment #48134880
Please read up some more about Java and GCs. Memory allocation and GC are heavily intertwined.
-
comment
Comment #47532667
See https://fgiesen.wordpress.com/2012/07/21/the-magic-ring-buff... which takes it even further :)
-
comment
Comment #47515941
Indeed I misread. I figured the NMI must have been nested or otherwise they wouldn't have gone through all this trouble just to drop samples :)
-
comment
Comment #47486763
Not OP: how would you handle the second interrupt during the interrupt handler here then? I can see how you could use two separate ring buffers for different contexts, but I don't …
-
comment
Comment #47453163
One thing wasn't clear for me in the article: is there only one such ringbuffer defined by the kernel or can the eBPF program specify as many ringbuffers as it wants?
-
comment
Comment #47183446
I give up, tell me the AABB trick please
-
comment
Comment #46410909
The entire point of the article is that you cannot throw from a destructor. Now how do you signal that closing/writing the file in the destructor failed?
-
comment
Comment #46248864
Maybe we can even find some correlation in the bit pattern of the input and the Boolean table!
-
comment
Comment #46024316
The pixel position has to be known, how else are you rasterizing something?
-
comment
Comment #45595926
Their current OpenGL 4.1 actually does run on top of metal making it even more blatantly obvious that they just don't want to.
-
comment
Comment #45542803
I'm not sure exactly what you mean, but you can both output line primitives directly from the mesh shader or output mitered/capped extruded lines via triangles. As far as other pla…
-
comment
Comment #45528728
That said MSVC,GCC and clang all implement it to allocate an exact value.
-
comment
Comment #44582740
Can you point me to some good middleware then? I haven't been able to find any.
-
comment
Comment #44398514
Any kind of relative/offset pointers require negative pointer arithmetic. https://www.gingerbill.org/article/2020/05/17/relative-point...
-
comment
Comment #44307615
You can still statically link all your own code but dynamically link libc/other system dependencies.
-
comment
Comment #44285131
Yeah it's a shame that to go from your idea to something that's 'general' (ie just some arbitrary arguments) you need to write this arcane garbage.
-
comment
Comment #44284772
std::bind is bad for him for the same reasons std::function is bad though
-
comment
Comment #44284735
What he shows here is 75% of c++26's std::function_ref. It's mainly missing variadic arguments and doesn't support all types of function objects. https://github.com/TartanLlama/fun…
-
comment
Comment #44174121
But you can embed this 1 byte lock into other bigger objects (eg. high bytes of a pointer). With 4 byte locks your run into the exact same false sharing issues.
-
comment
Comment #43509145
Because the only way to do metaprogramming in C++ is via the type system. Thismakes it so you need to implement 'functions' as types.
-
comment
Comment #43193490
Guess: it's too much water to cool down in a small local reservoir.
-
comment
Comment #43154778
I would allow it, given they physically write down all N square root on a piece of paper.
-
comment
Comment #43067405
'So what are the requirements for this project?' 'Requirements? Were agile, we'll figure it out as we go!' ... Actual conversation a while back at work regarding a (now failed) pro…