Better HN
topnewbestaskshowjobs
Log inSign up

nicebyte

223 karma · joined Dec 18, 2014 (11y ago) · 96 submissions

http://gpfault.net/ http://twitter.com/nice_byte http://github.com/nicebyte nicebyte at gpfault.net
Submissions

comment 1y ago · link · parent

I was 11 or 12 when I first saw Clint Eastwood and the video + the song lived in my head rent free. Genius work, and aged well.

comment 1y ago · link · parent

>. they are an extremely unusual person and have spent upwards of $10,000

eh? doesn't the distilled+quantized version of the model fit on a high-end consumer grade gpu?

comment 1y ago · link · parent

ARM would have been a better example because the amount of people that care about RISC-V is a rounding error compared to x86 or ARM.

64.

Celebrating Ten Years of Gpfault.net(gpfault.net ↗)

2 points · by nicebyte · 1y ago · discuss

comment 1y ago · link · parent

It's also very funny that he decided to publish this _now_ of all times.

comment 1y ago · link · parent

I've lived long enough to see pg turn into a boomer-ass uncle lmao.

comment 1y ago · link · parent

if it makes you feel any better, it is almost impossible to do anything practically useful at all with quantum computation at the moment. this is a field for researchers, people who are okay with not seeing the fruits of their work materialize for decades, if ever. by not understanding it, you're not missing anything more than what you're missing by not understanding e.g. string theory.

68.

My Gripes with Tech Talks(gpfault.net ↗)

3 points · by nicebyte · 1y ago · discuss

comment 2y ago · link · parent

this really does not belong on the front page of hn

> One with tools more powerful, elegant, and accessible: Linux.

triple ha

comment 2y ago · link · parent

> D3D is clearly more integrated into the OS than Vulkan is.

sure, but addressing the two points that you brought up would not entail changing windows _the operating system_, just the stuff that ships with it. you could easily ship swift shader along with warp and the loader library, both of those are just some application libraries as far as the os/kernel is concerned. of course now we're in the territory of arguing about "what constitutes an OS" :-)

comment 2y ago · link · parent

I haven't laid my hands on any ARM windows devices so I wouldn't be able to tell you. I'd be somewhat surprised if the newer snapdragon stuff doesn't have vulkan support because qcom supports vulkan first-class on its gpus. in fact, on newer android devices OpenGL support might already be implemented on top of vulkan, but don't quote me on that.

comment 2y ago · link · parent

I say this because vulkan is hamstrung by being an "open API" intended to run on a very wide range of devices including mobiles. this has major repercussions, like the awkward descriptor set binding model (whereas d3d12's descriptor heaps are both easier to deal with and map better to the actual hardware that d3d12 is intended to run on, see e.g. https://www.gfxstrand.net/faith/blog/2022/08/descriptors-are...). overall d3d has the benefit of a narrower scope.

Another problem with being an open API is that (and this is my own speculation) it's easier for IHVs to collaborate with just Microsoft to move faster and hammer out the APIs for upcoming novel features like work graphs for example, vs bringing it into the public working group and "showing their cards" so to speak. This is probably why vk gets all new shiny stuff like rtrt, mesh shaders etc. only after it has been in d3d for a while.

One could argue this is all solvable by "just" adding a torrent of extensions to vulkan but it's really not clear to me what that path offers vs d3d.

comment 2y ago · link · parent

what do you mean when you say "built into the os"? d3d12 is just an api. the d3d runtime is user-space, both the UMD that wraps it and the KMD are supplied by the hardware vendor. In the end, both a d3d app and a vulkan app end up talking to the very same KMD. See here for reference:

https://learn.microsoft.com/en-us/windows-hardware/drivers/d...

comment 2y ago · link · parent

vulkan is already supported on windows as a first-class citizen by all major IHVs. I am not sure what this "adoption" you speak would entail. If you're talking about replacing d3d12, that actually is a terrible idea.

comment 2y ago · link · parent

> ("software" means it runs on the CPU instead of GPU)

no, in this context it means that the rasterisation algorithm is implemented in a compute kernel, rather than using the fixed hw built into the gpu. so rasterization still happens on the gpu, just using programmable blocks.

comment 2y ago · link · parent

Take it from someone who has worked on android dev tools - yes.

comment 2y ago · link · parent

c++ isn't memory safe and will probably never be. that being said, it's not more or less possible to create an efficient browser engine for multicore systems with c++ than any other language. programming language is not the thing that makes the task difficult.

comment 2y ago · link · parent

Let it burn.

> If the summer blockbuster season is ever to recover, it's going to require some blue-sky thinking.

Yeah, revolutionary thinking like: stop producing recycled content slop, lower the budgets, make original films not based on pre-existing IPs. Maybe even try some relatable human-scale stories instead of wannabe grandiose "save the galaxy" type stuff.

I can't believe a human being with a pulse can sit through a superhero movie. The way those things are constructed, their "nutritional value", is worse than run-of-the-mill degenerate isekai harem anime, expect the latter costs a lot less to make and wastes less human potential.

comment 2y ago · link · parent

No it does not. You can absolutely add copy and move ctors without function overloading.

comment 2y ago · link · parent

I'd be very surprised if they were actually using geometry shaders (at least this conclusion can't be drawn from their post). Geom shaders are basically dead weight, a holdover from a bygone time, and are better avoided for modern renderers.

The techniques they're drawing on mentioned in the post - parallax mapping, shell mapping - do not generate explicit geometry, rather they rely on raymarching through heightfields in the frag shader. It's more likely that they're doing something like that.

comment 2y ago · link · parent

they're not. they're saying "if we had constructors in c, we'd need a mechanism to allow multiple constructors for the same type". in c++ function overloading and mangling are used to get that, but it's far from the only way something like that could be achieved. imo that whole part could be removed, it's like a little distraction and doesn't really have anything to do with the core of their argument.

comment 2y ago · link · parent

I respect Jean-Heyd very much, but I'm unconvinced by this article. First, the whole name mangling discussion is completely irrelevant to the issue and can be omitted. Second, one could tack on both copy and move constructors on to C in order to solve the double-free issue, in much the same way regular ctors are tacked on in the email proposal. In fact, I would argue that it is _necessary_ because A in RAII stands for Acquisition not Allocation. "Acquisition" implies ownership, which can be transferred or shared, so your copies and moves _have_ to have a special meaning to them. The fact that the proposal is bad or incomplete does not mean that it is "impossible" to have RAII in C. I don't claim that it _is_, but reading this did not reveal to me anything fundamental that would preclude RAII, only that all the preceding RAII proposals have been sloppy.

comment 2y ago · link · parent

I'm calling eBPF "kernel shaders" to confuse graphics, os and gpgpu people all at the same time.

84.

Vulkan Synchronization Made Easy (Vulkanised 2024 Talk) [video](youtube.com ↗)

4 points · by nicebyte · 2y ago · discuss

comment 5y ago · link · parent

while i agree with the spirit of the title, i find the specific conclusions dubious and the arguments presented unconvincing.

if touch ui wasn't more convenient for _everybody_, it would remain a weird niche use case. so it's still building for the majority use case - it's just building the right thing, not a "faster horse", so to speak.

the problem ive seen with data-driven design is overfocus on specific metrics, and the resulting tunnel vision leading to building "faster horses".

comment 5y ago · link · parent

and to answer your other questions - Java and Python both have what I consider good, detailed specifications (which one could call "standards").

comment 5y ago · link · parent

a "language standard" is something i can use to hold implementation developers accountable. it doesn't matter if it's an actual international standard, or just a document on the internet. I want a dry, exhaustive and systematic description of the features and intended behaviors. Refer to the Vulkan spec (https://www.khronos.org/registry/vulkan/specs/1.2/html/) to get an example of what i consider a good specification.

The rust docs don't currently meet that bar. They're quite WIP, and I imagine someone hitting a particular edge case will not necessarily be well equipped to understand whether the behavior they're observing is intended, a bug in the implementation or something else entirely.

comment 5y ago · link · parent

while i agree with your sentiment, hk is not "another country" by any stretch.

comment 5y ago · link · parent

why is this on the front page?

comment 5y ago · link · parent

medium isn't amazing - it's probably one of the _worst_ ways of putting writing on the web. pastebin is better than medium.
1234