Christoffer Lerno
Christoffer Lerno
Some questions should be answered: 1. Currently by default there is a "build" sub-directory for projects. Should this contain the intermediate files only, or the final executable / library as...
There are 4 possible designs: 1. String is stringbuilder type, non-opaque, char subarrays used where needed. ABI stability concerns. 2. Same as (1) but String is opaque (i.e. just a...
```c fn int test(int x) { fn int square(int y) { return y * y; } return square(x) + square(x + 1); } ```
API stability – dynamic libraries (esp OS ones) being able to be both backwards and forwards compatible is an important consideration. Some things that potentially break the API: 1. Function...
Variant 1: ```c // Statement fn int square(int x) = return x * x; fn void foo(int y) = baz(y); ``` Proposal 2: ```c fn int square(int x) = x...
`in`, `const`, `readonly` => only read `inout`, `mutable`, `readwrite` => modified and read `out`, `writeonly` => write only `initialize` => always written to The difficulty is adding the syntax in...
This tracks associative array literals in C3: Map c = { "a": x, "b": y } => Map c = { }; @map.set("a", x); @map.set("b", y);