Inko (lang)

28 Members
General purpose chat room about the Inko programming language.2 Servers

Load older messages

26 Nov 2020
@yorickpeterse:matrix.orgyorickpeterseAt some point I definitely want multi-lingual support for the manual, but I think that may take a while23:20:40
27 Nov 2020
3 Dec 2020
@yorickpeterse:matrix.orgyorickpeterseI'm planning on overhauling how processes are defined and type-checked, some details (for those curious) can be found in https://gitlab.com/inko-lang/inko/-/issues/227#note_458744618. Basically the idea is to make actors proper types (like objects), and turn message passing more into an RPC system, instead of being able to send arbitrary types at any point in time01:07:47
@yorickpeterse:matrix.orgyorickpeterseThere's some other work that needs to be done first though, such as reworking the object memory layout (without this, the proposed setup for actors wouldn't be efficient)01:08:14
@yorickpeterse:matrix.orgyorickpetersePlus I need some more time anyway to think this through01:08:26
@yorickpeterse:matrix.orgyorickpeterse * Plus I need some more time anyway to think this through01:08:29
7 Dec 2020
@erlend_sh:matrix.orgerlend.sh changed their display name from erlend_sh to erlend.sh.01:00:24
@erlend_sh:matrix.orgerlend.sh set a profile picture.01:00:48
@yorickpeterse:matrix.orgyorickpeterse I managed to (finally) make the Object type a trait, instead of it being an object all other objects are an instance of 23:44:41
@yorickpeterse:matrix.orgyorickpeterseThat in turn finally opens the way of fully getting rid of inheritance at the VM level23:44:50
@yorickpeterse:matrix.orgyorickpeterseWhich will massively simplify method lookups23:44:58
@yorickpeterse:matrix.orgyorickpeterseDownside is that Hash/Equal are no longer implemented for objects by default, but I actually like that23:46:00
@yorickpeterse:matrix.orgyorickpeterseThere are plenty of objects for which implementing Equal is nonsensical 23:46:10
@yorickpeterse:matrix.orgyorickpeterse e.g. performing structural equality (A == B) on two sockets makes no sense 23:47:55
@yorickpeterse:matrix.orgyorickpeterse referential equality (now A.same_object?(B)) is totally fine however, because it's only True if A and B are the exact same objects 23:48:19
8 Dec 2020
@hellonomad:matrix.orgkiti_nomadLike table in lua?20:30:02
@yorickpeterse:matrix.orgyorickpeterseI'm not very familiar with Lua, but it indeed seems to only provide referential equality by default20:43:08
@yorickpeterse:matrix.orgyorickpeterse(for tables)20:43:12
14 Dec 2020
@yorickpeterse:matrix.orgyorickpeterseAnd optional types are a goner too: https://gitlab.com/inko-lang/inko/-/commit/a276a68c79b8744ef4714bad03d8a684fdbb89bf21:44:57
@yorickpeterse:matrix.orgyorickpeterseTook a few days to fix the hundreds of errors this caused, as a substantial portion of the runtime had to be updated21:45:48
23 Dec 2020
@yorickpeterse:matrix.orgyorickpeterseInko 0.9.0 has been released: https://inko-lang.org/news/inko-0-9-0-released/20:48:37
1 Jan 2021
11 Jan 2021
@hellonomad:matrix.orgkiti_nomadI think inko needs to run on the arm platform16:41:35
@hellonomad:matrix.orgkiti_nomadiot will explode in 202116:42:06
@hellonomad:matrix.orgkiti_nomadMaybe you need to develop a virtual machine for arm architecture16:45:11
12 Jan 2021
@yorickpeterse:matrix.orgyorickpeterseI don't have any ARM hardware, so I can't test if Inko works on it. In theory it should work fine on ARM64. If anything doesn't work, contributions would be greatly appreciated :)22:47:12

My current priorities are:

  1. Reducing the instruction set by using builtin/extern functions
  2. Adding an API for spawning OS processes
  3. Change panic unit tests to spawn a new process
  4. Remove panic handlers
  5. Add a new way of defining/using actors (similar to how Pony does things, but less annoying)
  6. Replace the GC with single ownership/move semantics (roughly based on https://researcher.watson.ibm.com/researcher/files/us-bacon/Dingle07Ownership.pdf)
@yorickpeterse:matrix.orgyorickpeterseThis alone is enough work for at least 3 months22:54:01
@yorickpeterse:matrix.orgyorickpeterseSo ARM testing isn't going to happen any time soon :)22:54:09
@yorickpeterse:matrix.orgyorickpeterseI've basically reached a point where some old ideas/internals no longer work, and I have to change them now before I continue with the self-hosting compiler (don't want to support these crappy internals there)22:54:59

There are no newer messages yet.

Back to Room List