bruneo
bruneo
Is this a feature now or not yet? Globals have their use, but this language not having a module level private mutables, is decisive and could make me rework my...
Hi everyone, I mean to use some kind of module level variable that can be mutable I don't need to access it from another module; for example player.v can have...
I know that kind of static inside a function like C, but I mean at module level.
@medvednikov our proposition here is to have an experimental flag like `-enable-module-statics`, so to declare variables like [Go's module var](https://go.dev/tour/basics/8) using the `static` keyword for this purpose. Also for the...
I though they were comptime
Can it detect when constants are not dependant of a runtime variable like `const num = int(5)` should be `#define num 5`? It would be a nice feature I think
Cool, but returning to the main question, are we having module mutables in a near future?