Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Jasper_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
391.
▲
by
Jasper_
4y ago
Mali's slides here still show them doing two vertex shading passes, one for positions, and again for other attributes. I'm guessing "memory" here means high-performance in-unit memory like TMEM, rather than a full frame&
392.
▲
by
Jasper_
4y ago
NV has vertex attributes "in-pipe" (hence mesh shaders), and the appearance of a tiler is a misread, it's just a change to the macro-rasterizer about which quads get dispatched first, it's not a true tiler. The big diffe
393.
▲
by
Jasper_
4y ago
Very rarely do you get that level of control even on modern systems. People aren't making music on ASIO-capable sound cards, they're using ASIO4All which implements ASIO on top of your boring MME/WASAPI audio stack. On any mo
394.
▲
by
Jasper_
4y ago
Huh, I always thought tilers re-ran their vertex shaders multiple times -- once with position-only to do binning, and then again when computing for all attributes with each tile; that's what the "forward tilers" like Adreno
395.
▲
by
Jasper_
4y ago
const foo = [...bar]; is about 20x slower than const foo = bar.slice(); Yes, 20x. It only gets worse the more you do it -- it's both slower and wastes more memory, because it relies on the Iterator protocol, which actually compiles t
396.
▲
by
Jasper_
4y ago
There were a lot of people that thought ELIZA was intelligent. There's some in-roads in finding specialized models that work very well, up until they don't, and when they fail, they fail hard, showing us just how different their p
397.
▲
by
Jasper_
4y ago
There's this belief that if we come up with a problem hard enough for computers that humans can already do, where there's no obvious search or brute force strategy, we'll be forced to make something like a generalized human,
398.
▲
by
Jasper_
4y ago
No, it's not either of those, it's just launching useless threads, plus all the down-stream effects of launching useless threads, e.g. if you have blending on, that will block the ROP unit which needs to wait for the threads for a
399.
▲
by
Jasper_
4y ago
You shouldn't use strips, they're slower than triangle lists on most GPUs. If by alpha cut you mean "discard", that's going to be much slower than two triangles. Two triangles will have a tiny bit of quad overshadin
400.
▲
by
Jasper_
4y ago
Oops, I forgot to add the `a.foo = 5;` line like I had in the other examples. Fixed.
401.
▲
by
Jasper_
4y ago
An object 'a' having a prototype of 'b' means that if a property is not found on 'a', it will then look it up on 'b'. It's just chaining. To set an object's prototype, you set the special __
402.
▲
by
Jasper_
4y ago
I use XXX to mean "this code is ugly and not the intended design, but I don't see a great way to fix it". If I did, I would leave a TODO with steps. The XXX is a formalized "ugh", a note for anyone reading my code
403.
▲
by
Jasper_
4y ago
In casual language, random means not "uniformly random", but something more like "without a discernable pattern". Playing a song from the same album is the start of a discernable pattern.
404.
▲
by
Jasper_
4y ago
The fast-paced "fail upwards" where you get a new job at a new FAANG every few months while leaving a trail of destruction in your wake astounds me, and I don't understand how it works and how companies keep falling for it. T
405.
▲
by
Jasper_
4y ago
A lot of companies boot you out if you don't get a promo. The idea is that you take the "worst" 10% of your workforce (where "worst" means not getting promos), and fire them, every year. Even if you have no desire i
406.
▲
by
Jasper_
4y ago
The current state of WASM is not really at this level yet. You can't call directly into the browser APIs from WASM, you need a JS layer to do the API call, and that involves interpreting WASM linear memory. This is slow. Yes, interface
407.
▲
by
Jasper_
4y ago
Ethereum makes no such guarantee after the introduction of delegatecall, where it's possible to replace one smart contract implementation with another.
408.
▲
by
Jasper_
4y ago
This talk from the Halo: Reach team might be one of my favorite game networking talks I've ever seen: https://www.youtube.com/watch?v=h47zZrqjgLc
409.
▲
by
Jasper_
4y ago
> In my measurements, the only case where UBOs actually improved performance across all platforms was in a multi-draw scenario, with UBOs being split by frequency of update, containing data for 100+ draws and being uploaded at most once
410.
▲
by
Jasper_
4y ago
> He has Vulkan support in here with a clearly marked file named Pipeline.cpp. The guy knows what a pipeline is... There is a Vulkan API wrapper. However, there is no "Vk Renderer" -- no code seems to use the Vulkan parts of th
411.
▲
by
Jasper_
4y ago
Yikes, a GL-inspired graphics library... let's see, how many sins do I count: * Still using global enable/disable flags for all the state bits (e.g. depth test, face culling) rather than packing them into a PSO struct. Why? * Unif
412.
▲
by
Jasper_
4y ago
No, it still uses triangles. That seems to be a misunderstanding of how they do their clusters: They switched to a software rasterizer for drawing light volumes and decals into the clustered light buffer, meaning it's now a scatter rat
413.
▲
by
Jasper_
4y ago
Every 10 years, someone will reinvent Larabee.
414.
▲
by
Jasper_
5y ago
Some compilers have a dynamic dispatch for this; you run the "cpuinfo" instruction and check for capability bits, and then dispatch to the version you can support. Some dynamic linkers can even link different versions of a functio
415.
▲
by
Jasper_
5y ago
Fusion isn't cheap and I'd say it's part of the weirdness bucket to rely on fusion instead of making a combined instruction.
416.
▲
by
Jasper_
5y ago
The firmware can only do this by turning on an extremely slow fallback path. It's not common and it's seen as an avenue of last resort.
417.
▲
by
Jasper_
5y ago
You don't need to check readyState; onload is only called when the readyState switches to 4.
418.
▲
by
Jasper_
5y ago
I still write XMLHttpRequest and see no reason to switch. I depend on things like progress notifications and cancelations which fetch has iffy support for. https://github.com/magcius/noclip.website/blob/master
419.
▲
by
Jasper_
5y ago
I would really love a synchronous spinMicrotasks() API, but for obvious reasons it's likely never happening.
420.
▲
by
Jasper_
5y ago
Don't limit yourself to technology and computers. These systems are political in nature; that is, they concern the basic fabric of how society is structured. One of the biggest tricks any new field has is thinking we're way differ
More ›