<FromGitter>
<stellarpower> YEah that would do it, thanks
<FromGitter>
<stellarpower> Make it private, the old ways.
<FromGitter>
<Blacksmoke16> 👍
<FromGitter>
<stellarpower> Why did I not think of that haha
<FromGitter>
<stellarpower> I think `= delete` only came in C++11
<FromGitter>
<stellarpower> Maybe I Can make itnot compile actually, cause methods are a bit like generics in other languages right, the actual code is only really ocmpiled at the point they are used, because you can;t know how the types will filter through
<FromGitter>
<stellarpower> I could presumably force an error in somehow to make sure it isn;t called
<FromGitter>
<stellarpower> OR, rather, it doesn;t compile, with a message that then means I fix it
<FromGitter>
<stellarpower> Although for a cponstructor now I would need to instantiate all my members or they become nillable
<FromGitter>
<stellarpower> So, it also now seems to be locking up reading from a channel
<FromGitter>
<stellarpower> Surely that will return ontrol to other fibers right?
<FromGitter>
<stellarpower> Somnehoe looks that replacing `receive` with `receive?`has made a difference, but I'm not sure why..
<FromGitter>
<stellarpower> I give up, it's just back to hanging now
<FromGitter>
<stellarpower> I feel like any attempts to make threading easier just take away control and leave things broken. If I could just make threads and use mutices this would probably get easier
yxhuvud has quit [Remote host closed the connection]
<FromGitter>
<stellarpower> urhg finally okay
<FromGitter>
<stellarpower> I was writing to a channel before actually entering the event loop.
<FromGitter>
<stellarpower> I thought that should return immediately but evidently it was hanging
<FromGitter>
<stellarpower> Is Channel capacity automatic? I.e. it defaults to a sensible value if not given explicitly
yxhuvud has joined #crystal-lang
<FromGitter>
<Blacksmoke16> afaik channels dont have a limit unless you create them with one
<yxhuvud>
if they don't have a limit they will always wait until the other side is ready though.
<FromGitter>
<stellarpower> Right, okay. I thought I must have tried it before and it worked, but maybe I was wrong.
hightower2 has joined #crystal-lang
mr_tr0n has joined #crystal-lang
hightower2 has quit [Remote host closed the connection]