Zig NEWS

# learn

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Comptime struct tagging

Comptime struct tagging

2
Comments
3 min read
The nice path to learn Zig now to EOY?

The nice path to learn Zig now to EOY?

Comments 2
1 min read
WTF is Comptime (and Inline)
Cover image for WTF is Comptime (and Inline)

WTF is Comptime (and Inline)

8
Comments
12 min read
Pointers and constness in Zig (and why it is confusing to a C programmer)

Pointers and constness in Zig (and why it is confusing to a C programmer)

11
Comments 4
3 min read
How to cast an array from one type to another type using pointers
Cover image for How to cast an array from one type to another type using pointers

How to cast an array from one type to another type using pointers

5
Comments
3 min read
Zig C/C++ Compiler -- WTF is Zig C++
Cover image for Zig C/C++ Compiler -- WTF is Zig C++

Zig C/C++ Compiler -- WTF is Zig C++

1
Comments 2
7 min read
Deciphering Many-Item Types. The skeleton.

Deciphering Many-Item Types. The skeleton.

7
Comments 1
4 min read
Zig Package Manager -- WTF is Zon
Cover image for Zig Package Manager -- WTF is Zon

Zig Package Manager -- WTF is Zon

32
Comments 16
16 min read
Zig Union(Enum) -- WTF is switch(union(enum))
Cover image for Zig Union(Enum) -- WTF is switch(union(enum))

Zig Union(Enum) -- WTF is switch(union(enum))

11
Comments 3
8 min read
Methods

Methods

4
Comments
3 min read
Zig If -- WTF is !?bool
Cover image for Zig If -- WTF is !?bool

Zig If -- WTF is !?bool

13
Comments
6 min read
Anytype Antics
Cover image for Anytype Antics

Anytype Antics

42
Comments 5
5 min read
Feedback on Zig: real-life example through libIPC

Feedback on Zig: real-life example through libIPC

2
Comments
1 min read
Testing and Files as Structs

Testing and Files as Structs

22
Comments 4
3 min read
Coming Soon to a Zig Near You: HTTP Client

Coming Soon to a Zig Near You: HTTP Client

26
Comments 2
7 min read
When should I use an UNTAGGED Union?
Cover image for When should I use an UNTAGGED Union?

When should I use an UNTAGGED Union?

18
Comments
6 min read
Beware the copy!

Beware the copy!

12
Comments 7
3 min read
How to escape Python and write more Zig

How to escape Python and write more Zig

17
Comments 1
1 min read
Less but also more supported functions for trace.zig 0.2.0

Less but also more supported functions for trace.zig 0.2.0

3
Comments
4 min read
trace.zig: A small and simple tracing client library

trace.zig: A small and simple tracing client library

7
Comments 2
4 min read
How to create a zig project

How to create a zig project

5
Comments 1
1 min read
Easy Interfaces with Zig 0.10.0
Cover image for Easy Interfaces with Zig 0.10.0

Easy Interfaces with Zig 0.10.0

49
Comments 15
4 min read
NuttX RTOS for PinePhone: Display Driver in Zig
Cover image for NuttX RTOS for PinePhone: Display Driver in Zig

NuttX RTOS for PinePhone: Display Driver in Zig

5
Comments 1
28 min read
Function Tables
Cover image for Function Tables

Function Tables

8
Comments 3
1 min read
Howto Pair Strings with Enums
Cover image for Howto Pair Strings with Enums

Howto Pair Strings with Enums

11
Comments 6
1 min read
Simpler, safer LVGL Touchscreen Apps with Zig and Apache NuttX RTOS
Cover image for Simpler, safer LVGL Touchscreen Apps with Zig and Apache NuttX RTOS

Simpler, safer LVGL Touchscreen Apps with Zig and Apache NuttX RTOS

7
Comments
1 min read
MicroZig: Curiosity Nano serial communication
Cover image for MicroZig: Curiosity Nano serial communication

MicroZig: Curiosity Nano serial communication

6
Comments
7 min read
Type/pointer cheatsheet

Type/pointer cheatsheet

36
Comments 10
2 min read
But, will this blow up ?

But, will this blow up ?

12
Comments 2
5 min read
Programming SAM E51 Curiosity Nano with Zig
Cover image for Programming SAM E51 Curiosity Nano with Zig

Programming SAM E51 Curiosity Nano with Zig

12
Comments 1
4 min read
Read NuttX Sensor Data with Zig
Cover image for Read NuttX Sensor Data with Zig

Read NuttX Sensor Data with Zig

7
Comments 2
23 min read
Re: Makin' wavs with Zig
Cover image for Re: Makin' wavs with Zig

Re: Makin' wavs with Zig

23
Comments 7
10 min read
Zig files are structs

Zig files are structs

7
Comments 2
1 min read
When a var really isn't a var - part 2

When a var really isn't a var - part 2

6
Comments
2 min read
Build an LVGL Touchscreen App with Zig
Cover image for Build an LVGL Touchscreen App with Zig

Build an LVGL Touchscreen App with Zig

6
Comments 2
29 min read
Build a PinePhone App with Zig and zgt
Cover image for Build a PinePhone App with Zig and zgt

Build a PinePhone App with Zig and zgt

7
Comments
15 min read
When a var really isn't a var (ft. String Literals)

When a var really isn't a var (ft. String Literals)

10
Comments 7
4 min read
Why isn't my file being compiled

Why isn't my file being compiled

9
Comments 1
2 min read
Build an IoT App with Zig and LoRaWAN
Cover image for Build an IoT App with Zig and LoRaWAN

Build an IoT App with Zig and LoRaWAN

5
Comments
41 min read
Zig on RISC-V BL602: Quick Peek with Apache NuttX RTOS
Cover image for Zig on RISC-V BL602: Quick Peek with Apache NuttX RTOS

Zig on RISC-V BL602: Quick Peek with Apache NuttX RTOS

7
Comments
14 min read
A simple async task library

A simple async task library

18
Comments 3
4 min read
Zig's var and const for JavaScript devs

Zig's var and const for JavaScript devs

15
Comments 2
2 min read
Understanding comptime var

Understanding comptime var

10
Comments 2
3 min read
So where is my stuff stored ? - Part 2

So where is my stuff stored ? - Part 2

5
Comments 4
3 min read
So where is my stuff stored ? - Part 1

So where is my stuff stored ? - Part 1

8
Comments 3
5 min read
Zig Interfaces for the Uninitiated, an update

Zig Interfaces for the Uninitiated, an update

30
Comments 5
6 min read
Faster Interface Style
Cover image for Faster Interface Style

Faster Interface Style

23
Comments 12
3 min read
How to use the random number generator in Zig

How to use the random number generator in Zig

16
Comments 5
1 min read
Resource efficient Thread Pools with Zig
Cover image for Resource efficient Thread Pools with Zig

Resource efficient Thread Pools with Zig

75
Comments 12
21 min read
Fizz Buzz

Fizz Buzz

15
Comments 3
3 min read
A Guessing Game

A Guessing Game

8
Comments 2
4 min read
Fahrenheit To Celsius

Fahrenheit To Celsius

9
Comments 1
3 min read
Crafting an Interpreter in Zig - part 3
Cover image for Crafting an Interpreter in Zig - part 3

Crafting an Interpreter in Zig - part 3

12
Comments
5 min read
Crafting an Interpreter in Zig - part 2
Cover image for Crafting an Interpreter in Zig - part 2

Crafting an Interpreter in Zig - part 2

8
Comments 3
5 min read
Crafting an Interpreter in Zig - part 1
Cover image for Crafting an Interpreter in Zig - part 1

Crafting an Interpreter in Zig - part 1

23
Comments 4
3 min read
Interfaces in Zig
Cover image for Interfaces in Zig

Interfaces in Zig

39
Comments 7
3 min read
Struct of Arrays (SoA) in Zig? Easy & in Userland!
Cover image for Struct of Arrays (SoA) in Zig? Easy & in Userland!

Struct of Arrays (SoA) in Zig? Easy & in Userland!

31
Comments 5
3 min read
How to use hash map contexts to save memory when doing a string table

How to use hash map contexts to save memory when doing a string table

27
Comments
2 min read
What's undefined in Zig?
Cover image for What's undefined in Zig?

What's undefined in Zig?

19
Comments 3
6 min read
What's a String Literal in Zig?
Cover image for What's a String Literal in Zig?

What's a String Literal in Zig?

28
Comments 10
3 min read
loading...