Commit Graph

263 Commits

Author SHA1 Message Date
Luka Markušić
3b865a0c17 Fix 082_anonymous_structs3.zig because of new build system 2026-06-01 16:00:27 +02:00
Luka Markušić
63c798637c Fix 071_comptime6.zig because of new build system 2026-06-01 15:37:05 +02:00
Luka Markušić
4480762e83 Fix 065_builtins2.zig because of new build system 2026-06-01 15:34:01 +02:00
Chris Boesch
1d965491c1 added expalantion for const pointer 2026-05-22 21:58:19 +02: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
MatthijsBlom
c4cb76ea8e Update patches/patches/091_async7.patch 2026-04-18 23:50:13 +02: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
e71175e4f8 typo 2026-04-13 18:06:01 +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
261c12d6a2 fixed missing uppercase letter 2026-04-03 21:30:49 +02:00
Chris Boesch
366b597519 removed unnecessary patches 2026-04-03 19:47:02 +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
markuxcu
1166f3cfb6 exercise 60: changed patch file 2026-04-03 14:52:22 +02:00
Chris Boesch
2500936153 new async exercise 2026-04-03 14:28:19 +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
6d89dcd2de revival of the async-io functions 2026-04-01 22:31:48 +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
Chris Boesch
1be6fcd7db Merge pull request 'improve grammar in 103_tokenization' (#365) from pebose/exercises:improve-grammar into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/365
2026-02-27 19:54:41 +01:00
Chris Boesch
88510735e1 Merge branch 'main' into emphasize-for-loop-range 2026-02-27 19:43:31 +01:00
Paul Ebose
dc71c2cd06 update patch file for 095_for3 2026-02-27 19:34:53 +01:00
Paul Ebose
7d03b8464d update patch file for 103_tokenization 2026-02-27 19:27:04 +01:00
Chris Boesch
908109df2d Merge pull request 'add hint that @field() works differently on types and values' (#367) from pebose/exercises:add-hint-to-exercise-82 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/367
2026-02-27 19:17:59 +01:00
Paul Ebose
9db32388e3 update patch file 2026-02-27 13:11:03 +01:00
Paul Ebose
53f7e015cb update patch file 2026-02-27 13:09:54 +01:00
Chris Boesch
1e552a1dd6 I/O improvements 2026-01-09 22:56:23 +01:00