ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
ur5us has joined #crystal-lang
elf_fortrez has joined #crystal-lang
ur5us has quit [Remote host closed the connection]
elf_fortrez has quit [Ping timeout: 246 seconds]
elf_fortrez has joined #crystal-lang
elf_fortrez has quit [Ping timeout: 246 seconds]
<FromGitter> <foxxx0> hi, I have a small applications where the main loop receives status-updates from a bunch of threads over a common communication channel. is there way to "collect" these updates in batches combined with a deadline? I.e. on a `Channel#receive` it will collect further updates (over the same Channel) for something like 50-100ms and after that timestamp then do something, even if no further update occured within the
<FromGitter> ... timespan. Is that possible? if yes: how would i achieve that?
sorcus has quit [Quit: WeeChat 3.1]
elf_fortrez has joined #crystal-lang
sorcus has joined #crystal-lang
larssg has joined #crystal-lang
larssg has quit [Client Quit]
elf_fortrez has quit [Quit: Ping timeout (120 seconds)]
avane has quit [Ping timeout: 268 seconds]
avane has joined #crystal-lang
sorcus has quit [Ping timeout: 265 seconds]
sorcus has joined #crystal-lang
<FromGitter> <riffraff169> i kind of want to test the incremental bootstrap build, just to see what it is like
sorcus has quit [Ping timeout: 265 seconds]
sorcus has joined #crystal-lang
elf_fortrez has joined #crystal-lang
elf_fortrez has quit [Ping timeout: 246 seconds]
elf_fortrez has joined #crystal-lang
elf_fortrez has quit [Quit: Client closed]
<FromGitter> <alex-kampa> I'd be interested to discuss this in more detail if/when you have time
ur5us has joined #crystal-lang
<FromGitter> <didactic-drunk> Doesn't a tight loop only starve other threads if the loop never does an `IO` call or `Fiber.yield`?
<FromGitter> <didactic-drunk> @foxxx0 ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=60cfb7c3b60c3137c3829553]
ur5us has quit [Quit: Leaving]
ur5us has joined #crystal-lang
<FromGitter> <jrei:matrix.org> what do you mean by starving - never being executed again?
<FromGitter> <jrei:matrix.org> that's a point of multi-threading, not blocking other operations - unless explicitly wanted