| ... | @@ -35,7 +35,6 @@ readable, safe, optimal, and concise code to solve any computing problem. | ... | @@ -35,7 +35,6 @@ readable, safe, optimal, and concise code to solve any computing problem. |
| 35 | * test framework to test for compile errors | 35 | * test framework to test for compile errors |
| 36 | * Simple .so library | 36 | * Simple .so library |
| 37 | * Multiple files | 37 | * Multiple files |
| 38 | * figure out integers | | |
| 39 | * inline assembly and syscalls | 38 | * inline assembly and syscalls |
| 40 | * running code at compile time | 39 | * running code at compile time |
| 41 | * implement a simple game using SDL2 | 40 | * implement a simple game using SDL2 |
| ... | @@ -45,6 +44,7 @@ readable, safe, optimal, and concise code to solve any computing problem. | ... | @@ -45,6 +44,7 @@ readable, safe, optimal, and concise code to solve any computing problem. |
| 45 | | 44 | |
| 46 | zig | C equivalent | Description | 45 | zig | C equivalent | Description |
| 47 | -------|--------------|------------------------------- | 46 | -------|--------------|------------------------------- |
| | 47 | bool | bool | unsigned 1-bit integer |
| 48 | i8 | int8_t | signed 8-bit integer | 48 | i8 | int8_t | signed 8-bit integer |
| 49 | u8 | uint8_t | unsigned 8-bit integer | 49 | u8 | uint8_t | unsigned 8-bit integer |
| 50 | i16 | int16_t | signed 16-bit integer | 50 | i16 | int16_t | signed 16-bit integer |
| ... | @@ -56,8 +56,8 @@ zig | C equivalent | Description | ... | @@ -56,8 +56,8 @@ zig | C equivalent | Description |
| 56 | f32 | float | 32-bit IEE754 floating point | 56 | f32 | float | 32-bit IEE754 floating point |
| 57 | f64 | double | 64-bit IEE754 floating point | 57 | f64 | double | 64-bit IEE754 floating point |
| 58 | f128 | long double | 128-bit IEE754 floating point | 58 | f128 | long double | 128-bit IEE754 floating point |
| 59 | isize | ssize_t | signed pointer sized integer | 59 | isize | intptr_t | signed pointer sized integer |
| 60 | usize | size_t | unsigned pointer sized integer | 60 | usize | uintptr_t | unsigned pointer sized integer |
| 61 | | 61 | |
| 62 | ### Grammar | 62 | ### Grammar |
| 63 | | 63 | |