Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sobeston
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
sobeston
5mo ago
Level1Techs' KVM products have always been expensive, and they're arguably the best around. There aren't many competing products.
2.
▲
by
sobeston
2y ago
It doesn't. This article doesn't measure that, and full screen works differently. This article also only measures gnome.
3.
▲
by
sobeston
2y ago
You could probably make a good docs site in hugo with enough work, but Docusaurus has pretty much everything I need out of the box (and is less annoying to extend). I think it really is a lot better for documentation.
4.
▲
by
sobeston
2y ago
Small self plug: https://zig.guide is ready for Zig 0.12. Some notable changes in zig.guide since Zig 0.11 came out: - Changed from following master, to following major releases (Zig is more stable now, less work for me. Yay
5.
▲
by
sobeston
3y ago
Win32 isn't stable on Linux, though.
6.
▲
by
sobeston
4y ago
You claim to be healthy, yet you have not died yet. Curious.
7.
▲
by
sobeston
4y ago
I believe where this stands is that if someone were to contribute and maintain this, then it could be part of the Zig compiler, however it is not something the Zig team themselves are planning on doing. Maybe give it a shot? I personally fi
8.
▲
by
sobeston
4y ago
https://www.reddit.com/r/learnprogramming/comments/y1zuzv/is... https://www.reddit.com/r/AskProgramming/comments/y1zwan/is_t... Assuming this is you also. There were
9.
▲
by
sobeston
4y ago
I actually saw multiple people in the Zig core team (and others) actively working on the Zig compiler in person this weekend! Development may have slowed in the last 2 weeks or so because of the SYCL conference; given the turnout I can assu
10.
▲
by
sobeston
5y ago
Author here, I'm just showing how I did it. It took a few minutes to do it for myself - figured it would be worth the 15 minutes or so it'd take to write it down. Just sharing my process, there's nothing too serious about thi
11.
▲
by
sobeston
5y ago
ptr.field works.
12.
▲
by
sobeston
5y ago
I think Zig does cross compilation (ignoring for the moment, projects with C dependencies) better because it comes out-of-the-box with the libraries and headers needed to target a lot of systems. In Rust, you typically get additional toolch
13.
▲
by
sobeston
6y ago
This is silly. If you make code that requires allocation and does not have an allocator passed into it, there is literally nothing stopping you from allocating anyway. Zig does not stop you from, for example, heap allocating without the usa
14.
▲
by
sobeston
6y ago
The concept of the heap is in the userspace of the language. This terminology is confusing to someone thinking of usermode/kernelmode - this is instead talking of userspace versus language-space. As in, users implement code to reason a
15.
▲
by
sobeston
6y ago
Getting command line arguments is covered here: https://ziglearn.org/chapter-2/#iterators I don't think that going further into parsing is in scope. std.log is something that definitely needs to be covered. HTTP,
16.
▲
by
sobeston
6y ago
Hi, I am currently writing ziglearn.org which aims to show a lot of detailed examples.
17.
▲
by
sobeston
6y ago
Maintainer of ziglearn.org here. I have just now added details on using stat and directory creation + walking here: https://ziglearn.org/chapter-2/#filesystem And details on reading the next line here: https:/&#x
18.
▲
by
sobeston
6y ago
For future proofing, I just don't want to exactly support tagged releases as of now. Zig could release breaking changes next week and I would update the guide to fit that; master is followed.
19.
▲
by
sobeston
6y ago
https://ziglearn.org/ should be up to date for 0.7.0 already. Do have a peak if you haven't yet learned how to use Zig; the first chapter (most of the language) should be readable in under an hour.
20.
▲
by
sobeston
6y ago
It's been working great on windows for me for the last year or so. When did you last try it?
21.
▲
by
sobeston
6y ago
The version that tio has is very old at this point. Godbolt stays up to date.
22.
▲
by
sobeston
6y ago
https://godbolt.org/ hosts zig, try zig trunk.
23.
▲
by
sobeston
6y ago
I pushed some changes to reflect this
24.
▲
by
sobeston
6y ago
I have done this as zig makes many breaking changes often, not because new features come out all the time (almost all of the things showcased on the site if not all were around back in 0.6). I do not want to teach people things that are al
25.
▲
by
sobeston
7y ago
Traits are a part of the stdlib (under std.meta) as opposed to the language. This is unlikely to change