> After reading this point, I couldn't help but point out that communicating 
> across threads over channels is a thing.

Maybe I miss something, but Channels doesn't have a way to receive the message 
with specific `id`. Say one Thread holds amount of money. And other thread 
wants to know that, so it sends message "question_id: 42, tell me amount of 
money", but there's no way to get the reply like `channel.recv(42)`.

> It can be done currently by using ptr or by switching gc

Yes, I tried approach with pointers, it, worked but sometimes I got GC-error 
crashes. I don't know C to debug those cases, so already was worrying if I 
should be going that path. Then I discovered that `std/sharedtables` doesn't 
support the string key/values, probably because it's too hard to do. And so I 
decided to stop and wait till those features would be more robust and easier to 
use for people without the C knowledge. 

Reply via email to