Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kllrnohj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
kllrnohj
7d ago
> Zig is aiming to be lower level than Rust. Zig and Rust are equivalently "low level". Zig isn't any closer to the hardware than Rust is. > but I believe its advantage over Rust for that specific application is that yo
2.
▲
by
kllrnohj
7d ago
Zig is exciting to people that still actually like C. Is that a rationale choice? Not very often. Is it a wrong choice? Also again not very often. At least, not for anything in scope of a solo dev. The industry where it seems strongest po
3.
▲
by
kllrnohj
7d ago
std::allocator was so painful to use it was almost always easier to just reimplement the container instead (especially for trivial ones like vector). I haven't used the relatively new C++17 polymorphic_allocator, though, maybe it fixes
4.
▲
by
kllrnohj
7d ago
And those games do so in a language (C++) where allocators is not a headline feature, and is barely even supported at all in the standard library. The important part is a language where the standard library isn't special, and Rust has
5.
▲
by
kllrnohj
8d ago
the trillion dollar AI companies will be the chip designers for the hyperscalers, and probably not worth a trillion dollars as a result
6.
▲
by
kllrnohj
8d ago
The labs still have performance as a differentiator for coding usages and similar, and for other things there's still all the same reasons people switched cloud hosted stuff in the first place. AWS & friends didn't get popular
7.
▲
by
kllrnohj
11d ago
> There's only a platform version, And of the 4 non-preview JSRs in the Java 27 release, only 1 of them is actually part of the "platform version". The other 3 are strictly changes to Hotspot internals with no platform inv
8.
▲
by
kllrnohj
11d ago
Fair, although even there I don't know if I'd call that "lots" at just 23 added or modified methods that aren't in preview
9.
▲
by
kllrnohj
11d ago
When you think a garbage collected language is a good fit for whatever you're building?
10.
▲
by
kllrnohj
11d ago
> First off, Oracle are doing versions at approximately twice the cadence Is that actually a good thing? But Oracle started playing a game, for better or worse, where they decided to couple the "language version" with a single
11.
▲
by
kllrnohj
11d ago
> GTA 6 preorders beat that in like a week and the game isn't even out and no gameplay footage was even show. Really? That's going to be your measuring stick? So anything that isn't as successful as GTA 6 is a failure that
12.
▲
by
kllrnohj
12d ago
Starcraft 2 was over 6 million sales before its final expansion even came out. That seems like the obvious player base for a Starcraft 3, and it seems more than large enough for a major release.
13.
▲
by
kllrnohj
12d ago
I don't really get why people just assume RTS means it's going to fail? Like what major RTS games have come out since Starcraft 2 (which was not a critical or commercial flop) that resulted in cementing the genre as being dead &
14.
▲
by
kllrnohj
13d ago
it doesn't seem like Windows makes it easy, but it's not really required that mirror'd displays must have the same resolution. Sure can throw fancier and more powerful hardware at it, but this is something software could rath
15.
▲
by
kllrnohj
13d ago
why not just configure Windows to mirror the displays? That seems a lot cheaper and more flexible than pass through. And you wouldn't need to worry about matching resolutions and refresh rates
16.
▲
by
kllrnohj
15d ago
Yes, which is why this doesn't really do much. Readers still have to primarily rely on trust for whether or not they believe the news and who is reporting it.
17.
▲
by
kllrnohj
15d ago
Not many GPUs support full pre-emption. And by "not many" I mean like Nvidia desktop GPUs only added this shockingly recently ( specifically with Pascal generation: https://docs.nvidia.com/cuda/pascal-tuning-g
18.
▲
by
kllrnohj
15d ago
Well this is easy to detect and kind of intentionally so, but the broader issue is quite a bit harder. Replace "infinite loop" with some very difficult program that simply takes 30+ seconds to finish and you're back to the sa
19.
▲
by
kllrnohj
16d ago
> The editing history show what had been changed compare to the previous version, from the color adjustment to blur areas... That's not a thing. Straight from Apple: "When a photo is taken in the new Reference mode, the camera
20.
▲
by
kllrnohj
16d ago
Reporters who only capture pictures on an iPhone and not a "real" camera, and who also never need to edit the photo to crop off or obscure identifying information, innocent bystanders/victims, gory violence or nudity, etc...
21.
▲
by
kllrnohj
17d ago
Pixel Fold has had it for a few years, it's called "tabletop mode". Beyond just the keyboard "mini laptop" style, different apps also have special UIs for it, too. Like youtube puts playback controls on it.
22.
▲
by
kllrnohj
17d ago
> the "use it as a tiny laptop" mode... It's all things they pioneered. This feature is also standard in existing folding phones. It's a pretty obvious feature tbh.
23.
▲
by
kllrnohj
17d ago
JerryRigEverything won't tell you how easily the hinge gunks up or cruft gets stuck in places it's not supposed to be or how quickly crease marks show up and how bad they are. While Apple certainly looked at the competitors to see
24.
▲
by
kllrnohj
18d ago
do you know of any that actually exist? All I can find are active cables that go up to 15 feet which is a lot better than the 3ft of copper but still a far cry short of running to another room easily
25.
▲
by
kllrnohj
18d ago
HDMI over fiber is readily available. USB is more annoying depending on the speeds you desire, but again USB over optical exists. And then of course once it's over fiber, nearly any length desired is easily achieved
26.
▲
by
kllrnohj
19d ago
Except people aren't leaving C++ for C, if they're leaving it at all they're likely leaving it for Rust or some other memory safe language.
27.
▲
by
kllrnohj
19d ago
In the case of this article, even assembly isn't low level. It's not possible at all to write low level code for a modern superscalar CPU. So no, Mojo wouldn't be low level. It can't be.
28.
▲
by
kllrnohj
19d ago
So what should they do instead? Just give up? Assume that it's simply inevitable that Google will cancel AOSP entirely and so Graphene should hurry up and die?
29.
▲
by
kllrnohj
21d ago
Which wouldn't have actually done anything about this bug fwiw since this wasn't a memory safety issue with any C/C++ code itself
30.
▲
by
kllrnohj
21d ago
This "only" escapes the JavaScript sandbox. You still need to chain it with an escape for the process sandbox. So it's not just the boring stuff of turning a predictable crash into arbitrary execution, but also finding a se
More ›