Benoit Giannangeli
Benoit Giannangeli
```buzz cdef("/path/to/foreign", ` typedef struct Person { unsigned int age, const char *title name, fn hello(self: Person) void; }; void hello(*Person self); unsigned int mul(unsigned int a, unsigned int b);...
Ability to declare custom types: ```buzz typedef Callback = Function(str element) > bool; ```
Right now lists and maps have their own version of map, filter, reduce, etc. We could imagine a common iterator interface supported by fibers that both could implement. This way...
```buzz protocol Countable:: { fun add(T value) > void; } object Item{} object(Countable::) Person { [Item] items, fun add(Item value) > void { this.items.append(value); } } ```
Depending on what type of program you might be writting with buzz. You might want to fine-tune the allocation strategy used: - Small memory footprint and short lifespan: arena allocator...
When named variable not found, suggest resembling existing variables.
```buzz fn hello() -> print("hello"); fn hi() -> print("hello"); ``` Those two functions are the same and should be JIT compiled once. Find some kind of hash function for a...
Probable issues: - External lib (maybe wasm build exists for some?): libpcre, mimalloc (can be turned of `-Duse_mimalloc=false`) - VM tail call not supported: the VM does not uses a...