Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Cloudef
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
Cloudef
1y ago
> Metal is the best designed Graphics API API that has dependency on objective-c runtime doesn't sound very good
62.
▲
by
Cloudef
1y ago
It mainly comes down how the std is designed. Zig has many good building blocks like allocators, and how every function that allocates something takes one. This allows you to reuse the same code for different kind of situations. Hash maps i
63.
▲
by
Cloudef
1y ago
I think zig generally composes better than rust. With rust you pretty much have to start over if you want reusable / composable code, that is not use the default std. Rust has small crates for every little thing because it doesn't
64.
▲
by
Cloudef
1y ago
Vulkan runs everywhere (apart from Apple ecosystem and browser), DirectX accepts SPIR-V nowadays.
65.
▲
by
Cloudef
1y ago
Right, of course SPIR-V is a IR format for the drivers and not the final GPU machine code. I don't think WGSL is a bad language by any means, but I still find it odd that the spec doesn't allow loading SPIR-V to cut out the extra
66.
▲
by
Cloudef
1y ago
So apple's making graphics apis worse this time around :)
67.
▲
by
Cloudef
1y ago
I don't understand why WebGPU does not accept pre-compiled shaders. Every WebGPU implementation supports loading SPIR-V, but the spec just doesn't have it.
68.
▲
by
Cloudef
1y ago
GPU compute? That said you can play x86 games using something like box64/box86
69.
▲
by
Cloudef
1y ago
The curvature makes the world seem big and gives quite beautiful scenic view when you are on the rooftop of a building in the town.
70.
▲
by
Cloudef
1y ago
VDSO
71.
▲
by
Cloudef
1y ago
io_uring doesn't really have equivalent[1], it can't batch multiple UDP diagrams, best it can do is batch multiple sendmsgs and recvmsgs. GSO/GRO is the way to go. sendmmsg/recvmmsg are indeed very old, and some kernel d
72.
▲
by
Cloudef
1y ago
Interesting I was not aware of GSO/GRO equivalent on Windows and MacOS, though unfortunate that they seem buggy.
73.
▲
by
Cloudef
1y ago
Remasters generally are worse than originals. There are rare exceptions, but usually you get either mixed bag, or outright worse experience than original. Ditto for remakes.
74.
▲
by
Cloudef
1y ago
There is no AGI. LLMs are very expensive text auto-completion engines.
75.
▲
by
Cloudef
1y ago
I think valve uses user namespaces if available nowadays. This also checks that devs arent accidentally relying on libs outside of the runtime. (Aside from mesa and libc of course)
76.
▲
by
Cloudef
1y ago
Until mesa fixes its dependance on libc, we will continue to need games to be dynamically linked and nothing will change. (Not saying mesa should be statically linked, but that we should be able to load and use it without libc)
77.
▲
by
Cloudef
1y ago
Yeah, its frightingly common CI not doing static analysis checks on C/C++ code. The compiler defaults being really bad doesn't help either. The nice thing about zig is that it defaults to "safe" behaviour, and even if yo
78.
▲
by
Cloudef
1y ago
To be honest, the generated machine code / assembly is often more readable than the actual c++ code in c++ stdlibs. So I can sympathize with the "This printf is more readable than that libfmt stuff." comment :)
79.
▲
by
Cloudef
1y ago
Im not sure if its a still issue, but there used to be a period when installing xcode through appstore was impossible as it was either reaally slow or never finished. There was even awesome review by someone making joke story about it in zo
80.
▲
by
Cloudef
1y ago
Zig can compile into C, but it's not portable C
81.
▲
by
Cloudef
1y ago
Sure and I'm excited for it (especially stackless), but I'd be wary of marketing something that doesn't actually exist yet.
82.
▲
by
Cloudef
1y ago
> modern online gaming with microtransactions I don't think anyone should develop such games either
83.
▲
by
Cloudef
1y ago
> On the other hand, this doesn't sound to me like an upside. Of course it's fine and well if it's easy to do this. But hopefully you'd prefer not to have to... ? Why wouldn't you? You can often make your code si
84.
▲
by
Cloudef
1y ago
For me its simply better C, and the stdlib is pretty well designed overall
85.
▲
by
Cloudef
1y ago
Its probably meant to try mitigate damage in case bad actor gets remote access to your phone or you have malware.
86.
▲
by
Cloudef
1y ago
Trying to read the text produced by this font makes my brain hurt
87.
▲
by
Cloudef
1y ago
Afaik theres some language hints nowadays but its kinda hack
88.
▲
by
Cloudef
1y ago
Indeed, one pain point of unicode is CJK unification. https://heistak.github.io/your-code-displays-japanese-wrong/
89.
▲
by
Cloudef
1y ago
BOM is awful as it breaks concatenation. In modern world everything should be just assumed to be UTF8 by default.
90.
▲
by
Cloudef
1y ago
The reputation is specific to UE5. UE3 used to have such reputation as well. UE5 introduced new systems that are not compatible with traditional systems and these systems especially if used poorly tank the performance. Its not uncommon for
More ›