Viewing profile — ifreund
ifreund
HN member- Joined
- Wed, Nov 20, 2019, 2:11 PM UTC
- HN karma
- 177
- Public activity
- 26 items
- HN profile
- View on Hacker News ↗
About ifreund
Recent public activity
- story
-
comment
Comment #34429926
(plz read the article, pkgconf is discussed)
-
comment
Comment #33450342
Maybe try opening the PDF instead of the PNG, the PNG images of text look off to me as well but the font rendering in the PDF looks fine.
-
comment
Comment #31152459
comptime is absolutely the biggest difference, in Zig you'll find high quality, performant generic hash map implementations in the standard library. In hare there are no generics a…
-
comment
Comment #30499233
For example: zig cc -target x86_64-linux-gnu.2.28
-
comment
Comment #29460758
> it actually builds a stub program and runs it in qemu for your target arch That's not at all how the implementation works, the zig compiler does not depend on qemu. The comptime …
-
comment
Comment #28555685
From that spamhaus link .xyz has a lower bad percentage (4.4%) than .com (5.1%) and .net (10.5%).
-
comment
Comment #28065691
> Andrew: In release fast mode, which is unsafe, you will get actual undefined behavior. So, you might crash or you might get overflow. You might go down to zero or you might run a…
-
comment
Comment #28063901
This comment is a perfect example of what Andrew was talking about here: > Andrew: It’s funny how it just kind of changes course as the language gets taken more and more seriously.…
-
comment
Comment #27876955
This person has been for many months now: https://www.youtube.com/watch?v=124wdTckHNY We hope to be using TigerBeetle which is written in zig in production in 2022: https://github.…
-
comment
Comment #27851353
The fact that the author was able to find success with Zig so quickly speaks not only to the author's abilities but to the simplicity of Zig. Learning enough C++ or Rust to be prod…
-
comment
Comment #27851295
zig's standard library `std.fmt` functions support named arguments as well: var tuple_params = html.create("{[foo]} ... {[bar]} ... {[observable]}", .{ .foo = a, .bar = b+c, .obser…
-
comment
Comment #27103998
This is due to zig enabling clangs UBSAN by default in unoptimized builds. This can be disabled with `-fno-sanitize=undefined` or by enabling optimizations with `-O2` or `-O3`. htt…
-
comment
Comment #26417667
The zig standard library also has a ComptimeStringMap type for this use case which is used by the self hosted tokenizer for example. https://github.com/ziglang/zig/blob/master/lib/…
-
comment
Comment #26375963
The implementation of the pinned keyword proposed here should fix most if not all @fieldParentPtr() footguns https://github.com/ziglang/zig/issues/7769
- story
-
comment
Comment #24618762
Compile times of the stage1 zig compiler may seem fast compared to e.g. rust or C++ but they are slow compared to what the WIP stage2 compiler can do :)
-
comment
Comment #24616566
You're totally right that at least 90% of the infrastructure is there. Andrew's been threatening to implement hot code swapping in a live stream but has been busy with other tasks …
-
comment
Comment #24616493
It already does, dynamic linking is orthogonal to @import() semantics.
-
comment
Comment #24616324
Incremental debug builds will of course not be reproducible. Release builds will be.
-
comment
Comment #24614556
Why nest them? Wayland already has multi-seat.
-
comment
Comment #24483516
Here's one example: https://github.com/ziglang/zig/pull/2701
-
comment
Comment #23806422
No, this is to make the transition from a one-man show into a sustainable organization.
-
comment
Comment #22679552
That's true, though systems programming is in practice dominated by the C ABI (great post on that here by the way https://drewdevault.com/2020/03/03/Abiopause.html ). Zig does some…
-
comment
Comment #22679499
Afaik the only drawback is that this functionality is very new and still has some open issues (linked at the end of the post). As stated there are no dependencies for Zig and it is…