Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
AndyKelley
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
AndyKelley
8mo ago
When people like you finally realize what is happening in this country, I'm ready to quickly forgive and move on so that we can work together to preserve what freedoms we have left. but please hurry... we really need you to pay attenti
32.
▲
by
AndyKelley
8mo ago
Yes but we already have to do that for our own standard library. For shared codepaths (e.g. math) it's strictly fewer potential bugs.
33.
▲
by
AndyKelley
8mo ago
The very same day I sat at home writing this devlog like a coward, less than five miles away, armed forces who are in my city against the will of our elected officials shot tear gas, unprovoked, at peaceful protestors, including my wife. h
34.
▲
by
AndyKelley
9mo ago
In effort to imagine something even funnier: ReactOS developers use Copilot to extract and copyright launder Windows source code, and then rather than fight it, Microsoft starts shipping ReactOS.
35.
▲
Prediction: Microsoft will eventually ship a Windows-themed Linux distro
(gamesbymason.com)
197 points
by
AndyKelley
9mo ago
|
262 comments
36.
▲
by
AndyKelley
9mo ago
Good thing I didn't develop an unnecessary dependency on this product, so now I don't have to suffer through its enshittification. It's almost like it was obvious this was going to happen years ago. By the way don't slee
37.
▲
by
AndyKelley
9mo ago
Microsoft and Google are on the Rust Foundation board: https://rustfoundation.org/about/ They benefit by having more of the industry using technologies they control. Studies from independent third parties would be less
38.
▲
by
AndyKelley
9mo ago
Thank you for the kind words. > every line of C/Zig is unsafe This is trivially false... for instance here's a line: const pi = 3.14; It's actually a pretty small subset of the language that can cause unchecked il
39.
▲
Profession by Isaac Asimov (1957)
(web.archive.org)
4 points
by
AndyKelley
9mo ago
|
1 comments
40.
▲
by
AndyKelley
9mo ago
If you wanted to match Ghostty's performance in Rust, you'd need to use unsafe in order to use these memory mapping APIs, then you'd be in the exact same boat. Actually you'd be in a worse boat because Zig is safer than
41.
▲
by
AndyKelley
9mo ago
It makes your development workflow smooth enough that you have the time and energy to do stuff like all the bullet points listed in https://news.ycombinator.com/item?id=46437289
42.
▲
by
AndyKelley
9mo ago
Maybe you don't know this but Apple has a donation-matching program. If you make donations to non-profits through some special internal mechanism, the company will send a donation of equal value (up to some limit). If I recall correctl
43.
▲
by
AndyKelley
10mo ago
As the application author you can set the release mode in the build script so that the release flag looks like `zig build --release` instead, and the user doesn't choose the optimization mode. As a user you can pass `--release` to `zig
44.
▲
by
AndyKelley
10mo ago
That's a great idea, but if they did, then YouTube could retaliate by specifically using features that MicroQuickJS does not support.
45.
▲
by
AndyKelley
10mo ago
2026 will be Year of the Linux Desktop, at least for Mr. Diallo!
46.
▲
by
AndyKelley
10mo ago
99.99999% of modern software is crap that I don't want to be forced or even peer pressured into using
47.
▲
by
AndyKelley
10mo ago
this would provide the optimizer the unfair chance to replace the entire application with a compile time constant
48.
▲
by
AndyKelley
10mo ago
C doesn't make you dependent on constant Internet connectivity, charge a monthly subscription, or expose you to lawsuits from powerful companies claiming copyright over your work. IDEs don't make you dependent on constant Internet
49.
▲
by
AndyKelley
10mo ago
flagged for astroturfing
50.
▲
by
AndyKelley
10mo ago
There's a second problem here that musl also solves. If the signal is delivered in between checking for cancelation and the syscall machine code instruction, the interrupt is missed. This can cause a deadlock if the syscall was going t
51.
▲
by
AndyKelley
10mo ago
they already have CFHostStartInfoResolution / CFHostCancelInfoResolution
52.
▲
by
AndyKelley
10mo ago
(1) DNS is hard It's really not. Just because some systems took something fundamentally simple and wrapped a bunch of unnecessary complexity around it does not make it hard. At its core, it's an elegant, minimal protocol.
53.
▲
by
AndyKelley
10mo ago
There are steps that three different parties can take, which do not depend on other parties to cooperate: POSIX can specify a new version of DNS resolution. libcs can add extensions, allowing applications to detect when they are targeting t
54.
▲
by
AndyKelley
10mo ago
What's crazy is that it's almost good. All they had to do was make the next syscall return ECANCELED (already a defined error code!) rather than terminating the thread. Musl has an undocumented extension that does exactly this:
55.
▲
by
AndyKelley
10mo ago
I completely agree. Huge respect and appreciation to Joran & team.
56.
▲
by
AndyKelley
10mo ago
Imagine you have a thriving, successful open source project with many users. Eventually, you want to move on to other things, but you don't want the project to die, or to be absorbed into AWS. Furthermore, you have a bunch of contribut
57.
▲
by
AndyKelley
10mo ago
OK I think I understand now, thank you. My takeaways: 1. Yes, Zig is doing basically the same thing as Haskell 2. No, it's not a monad in Zig because it's an imperative language.
58.
▲
by
AndyKelley
10mo ago
Are you saying "monad" is a synonym of "interface"?
59.
▲
by
AndyKelley
10mo ago
It used to be arena-allocated but now it's using a different technique which I outlined in this talk: https://vimeo.com/649009599
60.
▲
by
AndyKelley
10mo ago
> At its core Zig is marketed as a competitor to C, not C++/Rust/etc What gives you this impression? I directly created Zig to replace C++. I used C++ before I wrote Zig. I wrote Zig originally in C++. I recently ported Chromap
More ›