Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mandarax8
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
1.
▲
by
mandarax8
3mo ago
> 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 it 'in place'. > And a simple
2.
▲
by
mandarax8
4mo ago
Is there any reason that you couldn't implement this on Xorg?
3.
▲
by
mandarax8
4mo ago
Please read up some more about Java and GCs. Memory allocation and GC are heavily intertwined.
4.
▲
by
mandarax8
6mo ago
See https://fgiesen.wordpress.com/2012/07/21/the-magic-ring-buff... which takes it even further :)
5.
▲
by
mandarax8
6mo ago
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 :)
6.
▲
by
mandarax8
6mo ago
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 see how to handle the nested interrupt. Also indeed the
7.
▲
by
mandarax8
6mo ago
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?
8.
▲
by
mandarax8
7mo ago
I give up, tell me the AABB trick please
9.
▲
by
mandarax8
9mo ago
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?
10.
▲
by
mandarax8
9mo ago
Maybe we can even find some correlation in the bit pattern of the input and the Boolean table!
11.
▲
by
mandarax8
10mo ago
The pixel position has to be known, how else are you rasterizing something?
12.
▲
by
mandarax8
11mo ago
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.
13.
▲
by
mandarax8
11mo ago
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 platforms, there's VK_EXT_line_rasterization whi
14.
▲
by
mandarax8
11mo ago
That said MSVC,GCC and clang all implement it to allocate an exact value.
15.
▲
by
mandarax8
1y ago
Can you point me to some good middleware then? I haven't been able to find any.
16.
▲
by
mandarax8
1y ago
Any kind of relative/offset pointers require negative pointer arithmetic. https://www.gingerbill.org/article/2020/05/17/relative-point...
17.
▲
by
mandarax8
1y ago
You can still statically link all your own code but dynamically link libc/other system dependencies.
18.
▲
by
mandarax8
1y ago
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.
19.
▲
by
mandarax8
1y ago
std::bind is bad for him for the same reasons std::function is bad though
20.
▲
by
mandarax8
1y ago
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/function_ref/blob/
21.
▲
by
mandarax8
1y ago
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.
22.
▲
by
mandarax8
1y ago
Because the only way to do metaprogramming in C++ is via the type system. Thismakes it so you need to implement 'functions' as types.
23.
▲
by
mandarax8
2y ago
Guess: it's too much water to cool down in a small local reservoir.
24.
▲
by
mandarax8
2y ago
I would allow it, given they physically write down all N square root on a piece of paper.
25.
▲
by
mandarax8
2y ago
'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) project.
26.
▲
by
mandarax8
2y ago
You're saying this as if psychedelics cannot 'have all sorts of severe, life-altering, mostly permanent side effects'.
27.
▲
by
mandarax8
2y ago
I've never had hotspot not be fast enough. Even on 20Gb traces, everything is instant. Only thing that ever takes some time is the initial load of the perf file and filtering (bit still really fast).
28.
▲
by
mandarax8
2y ago
But this doesnt have the property that the product of the distances to the focal points is constant no?
29.
▲
by
mandarax8
2y ago
Heres two examples for 3 and 6 points in 2D, 3D respectively: https://en.wikipedia.org/wiki/Cassini_oval#Generalizations These are symmetric as well though.
30.
▲
by
mandarax8
2y ago
Abstract: We present PReQuaL (Probing to Reduce Queuing and Latency), a load balancer for...
More ›