Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
squeek502
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
squeek502
2mo ago
> a plan to transition to it for C compilation That's not planned AFAIK (see https://github.com/ziglang/zig/issues/16269 ). `translate-c` is really only intended for header translation, not C source co
2.
▲
by
squeek502
4mo ago
Might not make it in time for 0.17 but there is a contributor making progress on the COFF linker: https://codeberg.org/kcbanner/zig/src/branch/coff_linker_wip
3.
▲
by
squeek502
10mo ago
That would only interact with the shell, as `%` is not actually part of the environment variable name, it's just a way to tell the shell you want it to get the value of an environment variable. The environment block itself is a NULL te
4.
▲
by
squeek502
10mo ago
They work just fine, as the drive-specific CWD is stored in the environment as a normally-hidden =<drive-letter>: environment variable which has all the same WTF-16 and case-insensitive properties as drive letters: C:\> cd &#
5.
▲
by
squeek502
10mo ago
> Any Mods you create for Minecraft: Java Edition from scratch belong to you (including pre-run Mods and in-memory Mods) and you can do whatever you want with them, as long as you don't sell them for money / try to make money f
6.
▲
by
squeek502
1y ago
0.15.0 was effectively skipped: https://github.com/ziglang/www.ziglang.org/commit/1be0f80b15...
7.
▲
by
squeek502
1y ago
Good catch, that does indeed look like a mistake in the spec. Everything past the first sentence of that error description is suspect, honestly (seems like it was naively adapted from the example in [1] but that example isn't relevant
8.
▲
by
squeek502
1y ago
Appreciate it (I'm the author). I'd like to think there's a good bit of interesting stuff in here outside of the specific topic of named character reference tokenization.
9.
▲
by
squeek502
1y ago
FWIW here's what that looks like for Zig: https://ziglang.org/news/2024-financials/
10.
▲
by
squeek502
1y ago
Relevant: https://github.com/ziglang/zig/issues/4055#issuecomment-1646...
11.
▲
by
squeek502
1y ago
As far as I'm aware, using the self-hosted backend for anything other than Debug mode is a goal, but a far-future goal. I believe the most relevant links are https://github.com/ziglang/zig/issues/16270 a
12.
▲
by
squeek502
2y ago
I'm probably not describing it fully accurately. See the link for the proper explanation.
13.
▲
by
squeek502
2y ago
My understanding is that Zig's incremental compilation will work on a much more granular level (i.e. functions, etc), so, for example, change one function and only that function (and its dependencies) will get recompiled/relinked
14.
▲
by
squeek502
2y ago
For the miscompilations, the fix wouldn't add a new compile error. Instead, rc.exe would just start doing the right thing in certain scenarios, so previously broken things would start working. For example, padding bytes that were previ
15.
▲
by
squeek502
2y ago
I think everything labeled 'miscompilation' could be fixed without breaking backwards compatibility, since triggering them always leads to an unusable/broken .res file. No clue how likely it is they'll be fixed, though.
16.
▲
by
squeek502
2y ago
See https://www.ryanliptak.com/blog/zig-is-a-windows-resource-co... for an example of using the Zig build system to cross-compile an existing Windows GUI program written in C from any supported host system.
17.
▲
by
squeek502
2y ago
Apologies if I got the tone wrong there, I definitely wasn't trying to roast the other projects. In terms of what I prioritized bug-for-bug compatibility on, I tailored it to getting https://github.com/squeek502/wi
18.
▲
by
squeek502
2y ago
Appreciate the added context! > |-separated lists of numeric or NOT Note that | is not the only operator that can be used in style parameters, & + and - are all allowed too. > perhaps Windows versions that don't support DIALO
19.
▲
by
squeek502
2y ago
Thanks! I'm actually pretty okay with where I've landed with FONT resources. The legwork has already been done in figuring things out, and with the strategy I've chosen, resinator doesn't even need to parse .fnt files at
20.
▲
by
squeek502
2y ago
I'm the author if anyone has questions
21.
▲
by
squeek502
2y ago
All of the listed goals have arguably been met, except: - Auto-generating a `.h` file has temporarily regressed - Friendly toward package maintainers is an ongoing goal - "Memory zeroed by default" is not accurate, instead you mus
22.
▲
by
squeek502
2y ago
SerenityOS's browser has never been named Ladybird AFAIK, it's always been just Browser. https://github.com/SerenityOS/serenity/tree/master/Userland/... Ladybird was the name used for to t
23.
▲
Zig is now also a Windows resource compiler
(ryanliptak.com)
9 points
by
squeek502
3y ago
|
0 comments
24.
▲
by
squeek502
3y ago
There's support for exactly this type of OOM testing in Zig via std.testing.checkAllAllocationFailures: - https://github.com/ziglang/zig/blob/1606717b5fed83ee64ba1a91... - https://www.ryanlipt
25.
▲
by
squeek502
3y ago
How about with a maximum size of 10x10 pixels? https://emoji.serenityos.net/
26.
▲
by
squeek502
3y ago
https://www.ryanliptak.com/blog/ A few Zig related posts, but the posts I like the most are some technical posts about the Quake/GoldSrc/Source engines: - Rampsliding Is a Quake Engine Quirk in the Same Way T
27.
▲
by
squeek502
3y ago
I wrote a breakdown of a different Quake engine quirk (rampsliding) that might be a fun topic for a video if you're looking for new topics: https://www.ryanliptak.com/blog/rampsliding-quake-engine-qui...
28.
▲
by
squeek502
3y ago
My understanding is that it's there to allow for testing the client. Relevant issue: https://github.com/ziglang/zig/issues/910
29.
▲
by
squeek502
5y ago
Yes: https://github.com/ziglang/zig/milestones
30.
▲
by
squeek502
5y ago
AFL++ is not a language.
More ›