< wat zig adventures? >
----------------
\ ___-------___
\ _-~~ ~~-_
\ _-~ /~-_
/^\__/^\ /~ \ / \
/| O|| O| / \_______________/ \
| |___||__| / / \ \
| \ / / \ \
| (_______) /______/ \_________ \
| / / \ / \
\ \^\\ \ / \ /
\ || \______________/ _-_ //\__//
\ ||------_-~~-_ ------------- \ --/~ ~\ || __/
~-----||====/~ |==================| |/~~~~~
(_(__/ ./ / \_\ \.
(_(___/ \_____)_)
When I have zig questions I stream on Twitch and figure out answers.
- how do i create types with comptime?
src/comptime-enum.zig
- how to create an enum using@Type()
src/comptime-union.zig
- how to create an union using@Type()
- how do i create tagged unions with comptime?
- how do i create structs with comptime?
- how do i handle SIGNALs with zig?
- how do i use environment variables with zig?
- how do i use argv with zig?
- how do i use JSON with zig?
- how do i use interact with the file system using zig?
- how do i create file with zig?
- how do i read a file with zig?
- how do i write to a file with zig?
- how do i check if a file exists with zig?
- how do i create a temp file with zig?
- how do i traverse a directory with zig?
- how do i create a tcp server and client with zig?
- how do i use curl with zig?
- how do i make an http request with zigs http client?
- how do i make an http server with zigs http server?
- how do i read user input with zig?
- how do i use sqlite with zig?
- how do i use redis with zig?
- how does zig work with c?
- how do i use zig to compile c code
- how do i use zig to call compiled c code
- how do i use c to call compiled zig code
- how do i use zig to call c librarys (ncurses)
- how use automatic externs?
- how do i write manual externs?