Vasiliy Tereshkov
Vasiliy Tereshkov
This isn't a big deal for small arrays, but for dynamic arrays with many elements, it's noticeable that every new insert is significantly slower than the one before. I'd much...
Currently the debug info consists of only the module name, function name and line number. This is sufficient for printing meaningful runtime error messages, but not for step-by-step debugging. In...
Currently, a stack frame of any function, whose body has at least one ref count increment instruction, is moved from the stack to the heap. The resulting heap frame is...
``` Error import/fnc.um (1, 1): Cannot open file import/fnc.um ```
https://github.com/vtereshkov/umka-lang/commit/6d8ef91337d6b6d8862e9857632fe51322aaa7dc#commitcomment-73060256
The reference count for `buf` is increased when passed to `fiberspawn()` and decreased upon returning from `f()`. If `fibercall()` is not called, it never gets decreased. ``` fn f(parent: ^fiber,...
What Unicode to choose for chars and strings? **UTF-8** *Pros*: Backward-compatible with ASCII, no need to support both "narrow" and "wide" strings *Cons*: Chars have variable width, ambiguous `len`, `sizeof`...
Would it be possible to add something like `_`? It can be very useful. _Originally posted by @marekmaskarinec in https://github.com/vtereshkov/umka-lang/issues/70#issuecomment-830662784_
The language documentation mentions > ...a method named `commit()`, which maintains the validity of the original owner while transferring ownership. I understand this as that the old reference will remain...
It looks like all polymorphic types in Adept are resolved at compile time. In other words, they are equivalent to C++ templates. Does Adept support virtual methods and run time...