2 ms·
> 4. No Magic – No hidden allocations, no garbage collector, no virtual machine I assume also "5. No stdlib"? Will it be even able to print("Hello world") not
by nine_k 10mo ago
> 4. No Magic – No hidden allocations, no garbage collector, no virtual machine
I assume also "5. No stdlib"? Will it be even able to print("Hello world") not by doing a direct write() syscall?
- AGDNoob 10mo agoRight now there’s intentionally no stdlib, so yes, printing would ultimately boil down to a direct write syscall. The idea is that the core language stays as thin as possible and anything higher level lives on top of that, either as compiler intrinsics or a very small stdlib later. For the MVP I wanted to make the boundary explicit instead of pretending there’s no syscall underneath. So “Hello world” will work, but in a very boring, low level way at first