Closed kiljacken closed 8 years ago
Are these going to go in the standard library, or in the runtime?
I'm on a tilt between the options. The benefits of having them in the runtime would be to always have them available, but it would result in an increase in binary size. Preferably if it was to be included in the runtime we'd need a way for the developer to disable it.
I mean we could do that thing I suggested where we selectively choose runtime features per module? Or we could have the option types natively in the syntax but eh...
I think it's possible for LLVM to remove the option code altogether if it's unused (LTO?)
We should include them in runtime, imagine importing Go's error
everywhere.
This is done
From @0xbadb002 on January 18, 2016 15:25
Copied from original issue: ark-lang/stdlib#1