Closed yorickpeterse closed 1 year ago
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
TODO: update the following files for the new syntax/semantics:
General TODO:
Object
trait as it no longer serves a purposeBoolean.true?
and Boolean.false?
Truthy
in std::boolean
, which provides the truthy?
method. if
/while
will use this for non boolean valuesTrue
with true,
False
with false
and Nil
with nil
NilType
to Nil
!(...)
with [...]
truthy?
for String
, Array
, Map
, Set
and other collections; returning false
if they are emptyadded 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 1 commit
Merges single-ownership -> master
This MR drastically changes the way Inko works, how memory is managed, the memory layout, etc. It's too much to cover in this MR, instead I'll cover it in the release notes. But in short: Inko will use a form of single ownership like Rust, but a more flexible version of it. For concurrency we're borrowing some ideas from Pony, but again in a more flexible/accessible manner.