Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
weinzierl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
weinzierl
5d ago
W3C's Amaya browser [1] was as much an editor as it was a browser. Production and consumption were supposed to be symmetrical. This was the promise of the web. Instead we turned it into a worse version of television, where you still on
2.
▲
by
weinzierl
6d ago
The responsible approach is to wait before stabilizing a language feature until a consensus is reached and until we are confident we will not have to roll back or change the feature and break existing code. This is what Rust does. The discu
3.
▲
by
weinzierl
6d ago
What does "scavenged idle capacity" mean here?
4.
▲
by
weinzierl
6d ago
Determinism and host/target agreement are two different properties. The Zig core team is apparently not concerned enough about the second point to forbid transcendentals at comptime and this is something that'd be hard to take bac
5.
▲
by
weinzierl
6d ago
If you disregard performance, yes. Unfortunately forcing softfloat everywhere would result in abysmal performance, so this is not an option.
6.
▲
by
weinzierl
6d ago
There is no pyramid, he is buried in a mountain.
7.
▲
by
weinzierl
6d ago
You'd have to read the discussions the Rust community has about this to get a picture. It's complicated. From what I understand, there is hope for sqrt but there is no consensus on transcendentals.
8.
▲
by
weinzierl
6d ago
I feel you. I live in Germany and we have many people whose mother tongue is a slavic language here and they all get it wrong to some degree. I'd still like to encourage you to put some energy into getting it right because this mistake
9.
▲
by
weinzierl
6d ago
The official rule I learnt in my English (as foreign language) classes is vowel = thee and consonant = thuh. That's it. But I noticed that native speakers deviate from this at least in two cases: 1. Use thee to emphasize the following
10.
▲
by
weinzierl
7d ago
Yes, but no transcendentals on floats. You can add them and the like but you cannot calculate the sine.
11.
▲
by
weinzierl
7d ago
The practical value is that moving a computation from runtime to compile time can then be purely an optimization, rather than potentially changing its semantics. Think generated lookup tables or numeric constants. Ideally f(x) means the sa
12.
▲
by
weinzierl
7d ago
Endianness and pointer casts are the mechanical part and I would expect Zig to emulate them correctly. Other parts, like floats are harder. This is where a difference shows. Rust is like: "Sorry, since we cannot uphold our guarantees,
13.
▲
by
weinzierl
7d ago
Determinism and host/target agreement are two different properties. I meant the second one. It's something Rust guarantees (without me having to take care of it e.g. by manually branching) and Zig does not.
14.
▲
by
weinzierl
7d ago
This is a good question and there is a real practical answer. The tomb is not in a Pyramid but deep in a mountain reachable by a narrow stairway. You'd have to cut away or dig through the mountain to come close enough for a metal detec
15.
▲
by
weinzierl
7d ago
Yes, and for the last decade the circle has been closing. Native widgets and a common UI language are dying. Every app seems to start by collecting a hodepodge of "components" glued together half-heartedly by utility CSS classes
16.
▲
by
weinzierl
7d ago
I'm not sure there is something to be addressed. Zig has just a different approach and Zig people different expectations. In Rust we can expand what is possible at compile time without breaking existing code because we took a very car
17.
▲
by
weinzierl
7d ago
sin(x) can produce different results at comptime and runtime. In Rust there is no sin(x) at comptime for precisely this reason.
18.
▲
by
weinzierl
7d ago
Yes. For example in Rust it took a long time for floating point operations to be available at compile time and even now only a subset is. The reason is that a lot of energy and thought went into the issue of producing identical output (and
19.
▲
by
weinzierl
7d ago
Two additional points: 1. Tooling (as an extension to the mentioned IDE support point). Zig and Rust are both praised for their tooling and I think rightfully so. The C/C++ interop story and the cross-compiling story in Zig are great.
20.
▲
by
weinzierl
7d ago
Yes, Notes, sorry, totally forgot about 1-2-3.
21.
▲
by
weinzierl
7d ago
This was an enjoyable read. Especially the idea of someone living and creating between eras resonates with me. I've seen and played with Lotus but I'm too young to have worked in any environment where it was the primary communicat
22.
▲
by
weinzierl
7d ago
I think this is an unfair comparison. The "better" AI-generated posters in the article are all much more minimalist. Minimalist designs have much less opportunity to insert "personality" , be it that of a designer or
23.
▲
by
weinzierl
7d ago
I always thought the lack of a do-while loops in Rust was just a random quirk. Apparently not. Thanks for the insight.
24.
▲
by
weinzierl
7d ago
Reading this made me realize that I want two different things from an LSP that are sometimes at odds with each other: 1. Editing help 2. Reliable and comprehensive analysis The editing help needs to deal with incomplete and inconsistent sta
25.
▲
by
weinzierl
8d ago
For Rust the infinite loop is important enough to have its own keyword.
26.
▲
by
weinzierl
9d ago
Sorry, I accidentally posted it twice while fixing it and on a slow connection.
27.
▲
by
weinzierl
9d ago
The data center layout should look something like this: me (Middle East) ├── me-south-1 (Bahrain) DOWN since 2026-04 │ ├── mes1-az1 DOWN │ │ └── mes1-mct1-az1 (Oman, Muscat) ??? │ ├── mes1-az2 DOWN since 2026-0
28.
▲
by
weinzierl
9d ago
me (Middle East) ├── me-south-1 (Bahrain) DOWN since 2026-04 │ ├── mes1-az1 me (Middle East) ├── me-south-1 (Bahrain) DOWN since 2026-04 │ ├── me
29.
▲
by
weinzierl
11d ago
This cool as an encoder, but to me, the most interesting aspect is the generating part near the end of the article. I can see me using that for a game or for avatars.
30.
▲
by
weinzierl
12d ago
Good question. I ran Slackware Linux and DOS 5.0 on mine. I think Win95 was my Pentium 100 MHz already so it sounds a bit sus, but the FAQ section of OP had items about Win95, that is where I got the idea from.
More ›