Commit Graph

1323 Commits

Author SHA1 Message Date
Chris Boesch
8e055fcd18 Merge pull request 'Replace exercise 074_comptime9' (#391) from tjk/ziglings-exercises:comptime9 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/391
2026-04-12 17:28:37 +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
b225538aed Merge pull request 'Changed exercise 60 to require change of format' (#384) from markuxcu/exercises:fix-060 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/384
2026-04-07 09:25:59 +02:00
Chris Boesch
7cb7a9948a Merge branch 'main' into fix-060 2026-04-07 09:18:37 +02:00
Chris Boesch
3574fd3ae0 Merge pull request 'Improvements for async-io' (#388) from async-improvements into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/388
2026-04-06 20:56:29 +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
966c1f83af Merge pull request 'fixed missing uppercase letter' (#387) from async2-fix into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/387
2026-04-03 21:36:33 +02:00
Chris Boesch
261c12d6a2 fixed missing uppercase letter 2026-04-03 21:30:49 +02:00
Chris Boesch
0206db8129 fixed missing uppercase letter 2026-04-03 21:27:55 +02:00
Chris Boesch
34bbe1347d Merge pull request 'removed unnecessary patches' (#385) from patches into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/385
2026-04-03 19:55:14 +02:00
Chris Boesch
366b597519 removed unnecessary patches 2026-04-03 19:47:02 +02:00
Chris Boesch
5307b2a338 Merge pull request 'revival of the async-io functions' (#383) from asyncIo into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/383
2026-04-03 19:32:53 +02:00
Chris Boesch
f6a6798c8b improved report design 2026-04-03 19:28:12 +02:00
Chris Boesch
7fae6e0607 improved timestamp comparison 2026-04-03 19:07:10 +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
markuxcu
52ba66c5e9 exercise 60: added new expected output 2026-04-03 14:48:34 +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
6d89dcd2de revival of the async-io functions 2026-04-01 22:31:48 +02:00
Chris Boesch
77d3b684cb revival of the async-io functions 2026-04-01 22:28:37 +02:00
Chris Boesch
3056a2b544 Merge pull request 'fixed community link and improved the overview' (#382) from cummunity into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/382
2026-03-28 13:11:50 +01:00
Chris Boesch
149a2bea50 fixed community link and improved the overview 2026-03-28 12:56:49 +01:00
Chris Boesch
c5ad9ff6cf Merge pull request 'Switching the C exercises to LLVM' (#379) from sframe into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/379
2026-03-21 20:30:33 +01:00
Chris Boesch
8f7a629ffb switched to llvm for the c-exercixes 2026-03-21 20:14:31 +01:00
Chris Boesch
d3ec872dec Merge pull request 'readme updated' (#377) from readme into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/377
2026-03-20 19:30:58 +01:00
Chris Boesch
2cddd566bb readme updated 2026-03-20 19:29:50 +01:00
Chris Boesch
3409760a62 Merge pull request 'bump required Zig version' (#376) from MatthijsBlom/ziglings:main into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/376
2026-03-20 19:19:56 +01:00
Chris Boesch
9f6092aea6 Merge branch 'main' into main 2026-03-20 19:13:22 +01:00
Chris Boesch
95ad73013a Merge pull request 'Added field .skip_hint to show information on why a file has been' (#375) from cor-draconia/exercises:skip_hints into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/375
2026-03-20 19:08:46 +01:00
MatthijsBlom
04f4c1e32c bump required Zig version 2026-03-20 17:23:11 +01:00
inke
2b5a603c43 Added field .skip_hint to show information on why a file has been
skipped.
2026-03-18 13:55:35 +01:00
Chris Boesch
e6d93d731a Merge pull request 'Add exercises for packed structs/unions' (#374) from justusk/ziglings:packed into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/374
2026-03-13 18:18:50 +01: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
Justus Klausecker
973ec41097 build.zig: replace deprecated GeneralPurposeAllocator alias with DebugAllocator 2026-03-13 09:50:58 +01:00