• Joined on 2026年04月11日
gschwind commented on issue ziglang/zig#36062 2026年07月06日 09:37:56 +02:00
Documentation incorrectly says that optional pointers are guaranteed to be the same size as pointers

Maybe we can reword the documentation with:

gschwind commented on issue ziglang/zig#36062 2026年07月05日 23:52:30 +02:00
Documentation incorrectly says that optional pointers are guaranteed to be the same size as pointers

Maybe it's misleading but the documentation state for allowzero pointers:

gschwind commented on pull request ziglang/zig#35687 2026年06月19日 10:54:49 +02:00
Random.array: use sliceAsBytes

Just noticed that you did include test, you should add type that evaluate std.meta.hasUniqueRepresentation(E) to false.

gschwind commented on pull request ziglang/zig#35687 2026年06月19日 10:51:40 +02:00
Random.array: use sliceAsBytes

I did a basic test here: 8a928aa914

gschwind closed pull request ziglang/zig#35788 2026年06月19日 10:48:24 +02:00
std: fix std.Random.array (#35683)
gschwind commented on pull request ziglang/zig#35788 2026年06月19日 10:48:23 +02:00
std: fix std.Random.array (#35683)

I close it to avoid fragmentation, see #35687

gschwind commented on issue ziglang/zig#35826 2026年06月19日 10:45:10 +02:00
@FieldType Semantics

Hello,

gschwind commented on pull request ziglang/zig#35774 2026年06月15日 22:17:09 +02:00
Sema: make switch prong item duplicate validation go faster

Hello, I get similar results in my quick compile time trial with the patch.

gschwind created pull request ziglang/zig#35788 2026年06月15日 21:42:16 +02:00
std: fix std.Random.array (#35683)
gschwind pushed to pr-fix-rand-array-002 at gschwind/zig 2026年06月15日 21:37:28 +02:00
8a928aa914 std: fix std.Random.array (#35683)
gschwind created branch pr-fix-rand-array-002 in gschwind/zig 2026年06月15日 21:37:28 +02:00
gschwind pushed to pr-fix-rand-array-001 at gschwind/zig 2026年06月15日 21:18:52 +02:00
04340b24e8 std: fix std.Random.array (#35683)
gschwind pushed to pr-fix-rand-array-001 at gschwind/zig 2026年06月15日 21:15:47 +02:00
8c303242f5 std: fix std.Random.array (#35683)
gschwind created branch pr-fix-rand-array-001 in gschwind/zig 2026年06月15日 21:15:47 +02:00
gschwind created repository gschwind/zig 2026年06月15日 21:11:10 +02:00
gschwind commented on issue ziglang/zig#35776 2026年06月15日 11:02:15 +02:00
I can make Decls for a comptime created type but cannot make values for them

I do not understand your issue properly.

gschwind commented on issue ziglang/zig#35715 2026年06月13日 21:02:11 +02:00
Integer switch validation scans previous ranges quadratically

I think I did tried and reproduced with zig 0.16.0. But for me it's a compile time issue.

gschwind commented on issue ziglang/zig#35718 2026年06月10日 17:33:19 +02:00
std.mem.alignForward. integer overflow.

Hello,

gschwind commented on issue ziglang/zig#35715 2026年06月10日 15:01:53 +02:00
Integer switch validation scans previous ranges quadratically

Hello,

gschwind commented on issue ziglang/zig#32029 2026年05月10日 20:46:55 +02:00
rename @field to @member for clarity

@npc1054657282 ok look good