3 ms·
The title should include "multi-threading" with "tiny binaries" also being of interest. Merely TS with borrow-checker makes no sense at all (or makes for good c
by karmakaze 5y ago
The title should include "multi-threading" with "tiny binaries" also being of interest. Merely TS with borrow-checker makes no sense at all (or makes for good click-bait--it got me :-)
- brundolf 5y agoOwnership and the deep-mutability tracking it allows for would be useful even without the other stuff
- ranguna 5y agoBut isn't multi threading the target environment for ownership analysis? Js is mainly single threaded.
- brundolf 5y agoNo, an "owner" in this context is an object/function/closure. Threads come into it but they aren't the central focus.
- karmakaze 5y agoThat sounds like the easiest way to implement it. Giving ownership to threads and scheduling coroutines on them is unnecessarily complicated, given that a single coroutine can only be running on one thread at a time.