Commit Graph

542 Commits

Author SHA1 Message Date
Luka Markušić 4480762e83 Fix 065_builtins2.zig because of new build system 2026-06-01 15:34:01 +02:00
Luka Markušić 1c3238d619 fix typos 2026-05-31 19:10:30 +02:00
xiaolizhi f434dbfc01 051: add a comma 2026-05-25 10:37:05 +02:00
Chris Boesch 1d965491c1 added expalantion for const pointer 2026-05-22 21:58:19 +02:00
Chris Boesch 926fc04d81 Merge pull request 'Instruct user not to worry about sentinel syntax in 065_builtins2' (#425) from nickgrim/exercises:sentinel_warning into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/425
2026-05-18 19:50:18 +02:00
Nick Grimshaw e96ce4da8e Minor grammar fix to comment in 005_arrays2 2026-05-18 17:38:04 +01:00
Nick Grimshaw 42a417f9a5 Instruct user not to worry about sentinel syntax in 065_builtins2 2026-05-18 17:29:17 +01:00
Chris Boesch 8af3372cf2 fixed removed array multiplication 2026-05-04 17:15:30 +02:00
Chris Boesch 1c897e1951 adjusted comment to zig 0.16 2026-05-02 19:25:52 +02:00
Chris Boesch 3a782a96d5 fixed compileError printing 2026-04-30 19:30:27 +02:00
kwyse 656d6824d9 docs: update wrong reference to prior exercise
The comment should reference exercise 109, not 106.
2026-04-22 22:49:10 +02:00
Chris Boesch 945d9b84b0 Merge branch 'main' into fix_comment 2026-04-21 22:13:57 +02:00
Frost-Phoenix 333ca33e78 fix: move exercise 100 celebration comment to the right file 2026-04-20 17:40:49 +02:00
KercyDing 5eb9a30abe docs: fix wrong prerequisite in 110_files2.zig 2026-04-20 04:22:21 +08:00
MatthijsBlom e0470c4f45 demonstrate the benefit of the mutex 2026-04-18 23:46:59 +02:00
Gabriele Belluardo 656e1ba1e7 fix: mutex unlock call in async example 2026-04-18 11:55:49 +02:00
Tom cb0489904e Fix formatting reference link 2026-04-14 21:36:06 -07:00
Chris Boesch d4a3bad19c fixed merge conflict 2026-04-14 22:23:33 +02:00
Chris Boesch e412619d88 added cancelation if nothing found 2026-04-14 22:07:57 +02:00
Tom 2afd0f9709 093_async9: small fixes 2026-04-14 08:32:50 -07:00
Chris Boesch f10c3d4e7a Merge branch 'main' into 95-bug4 2026-04-14 12:43:29 +02:00
Chris Boesch ab3c498226 new example for concurrency 2026-04-14 11:07:13 +02:00
Chris Boesch 5eadcdc9f9 added result for 12 digits 2026-04-14 08:17:16 +02:00
Tom b8a639e798 095_quiz_async: Add missing Bug 4 2026-04-13 19:11:39 -07:00
Chris Boesch 7fcfb60cc4 typo 2026-04-13 17:56:05 +02:00
Tom 2472caa183 Replace exercise 074_comptime9
The exercise no longer needed any modifications to pass due to
advancements in Zig.  This new exercise attempts to teach about
@compileError, @compileLog, and some comptime debugging.  It tries to
help prepare users for the "super bonus challenge" in 075_quiz8.
2026-04-12 07:16:33 -07:00
Chris Boesch 7cb7a9948a Merge branch 'main' into fix-060 2026-04-07 09:18:37 +02:00
Chris Boesch 882c6aa0ab improvements for async-io 2026-04-06 19:57:32 +02:00
Chris Boesch 55a4841b07 improvements for async-io 2026-04-06 19:38:19 +02:00
Chris Boesch 09bae6a70e improvements for async-io 2026-04-06 19:30:56 +02:00
Chris Boesch aeeb18931d improvements for async-io 2026-04-06 18:50:57 +02:00
Chris Boesch 63e506586f improvements for async-io 2026-04-06 16:57:48 +02:00
Chris Boesch 446da3ce5a improvements for async-io 2026-04-06 12:22:41 +02:00
Chris Boesch 5e474ea5d1 improvements for async-io 2026-04-05 16:13:42 +02:00
Chris Boesch 2acf192775 improvements for async-io 2026-04-05 12:42:42 +02:00
Chris Boesch 58f8df66d5 improvements for async-io 2026-04-04 16:05:35 +02:00
Chris Boesch f6a6798c8b improved report design 2026-04-03 19:28:12 +02:00
Chris Boesch 1c6487c1e7 added async-io quiz 2026-04-03 18:11:00 +02:00
Chris Boesch 2500936153 new async exercise 2026-04-03 14:28:19 +02:00
markuxcu 9f314ce8e6 exercise 60: added hint on correct format 2026-04-03 14:25:44 +02:00
Chris Boesch 903c33cd0a new async exercise 2026-04-03 13:46:35 +02:00
Chris Boesch e0259f43a7 Insert space for additional async exercises 2026-04-03 13:35:56 +02:00
Chris Boesch ffde357f30 revival of the async-io functions, #90 2026-04-02 10:38:45 +02:00
Chris Boesch 3b22bfd898 revival of the async-io functions 2026-04-02 10:28:40 +02:00
Chris Boesch e22748d488 revival of the async-io functions 2026-04-01 23:44:24 +02:00
Chris Boesch fcfb0e80a0 revival of the async-io functions 2026-04-01 23:34:16 +02:00
Chris Boesch db1fef8b86 revival of the async-io functions 2026-04-01 22:52:04 +02:00
Chris Boesch 77d3b684cb revival of the async-io functions 2026-04-01 22:28:37 +02:00
Justus Klausecker 16a794fbee 111/112: Add exercises for packed structs/unions
The first exercise introduces the `packed` keyword as an alternative for
bitwise operations. Its main goals are establishing a solid understanding
of field order and conveying the fact that packed containers are basically
integers.
It introduces the concept of container layouts and briefly explains the
default `auto` layout before introducing the `packed` layout (but doesn't
touch `extern` at all).
The exercise also presents a real-world use case for packed containers,
namely LZ4 frame descriptors.
Furthermore it covers equality comparisons between packed containers.

The second exercise talks about switch statements with packed containers
and goes into some more detail on packed unions.
2026-03-13 11:21:03 +01:00
Robert Fry 0385f5d017 fix: oops 2026-03-09 23:24:59 +00:00