<< 14-05-2025 >>

00:00:22*skippy8 quit (Quit: WeeChat 4.5.2)
00:07:17*acidsys quit (Ping timeout: 248 seconds)
00:08:15*acidsys joined #nim
00:28:50FromDiscord<frusadev> Is there any union type in nim ?
00:48:14*SchweinDeBurg joined #nim
00:50:25*rockcavera quit (Remote host closed the connection)
00:52:27FromDiscord<Elegantbeef> @frusadev there are both tagged and untagged unions. Tagged unions are called object variants in Nim
01:58:15*SchweinDeBurg quit (Quit: WeeChat 4.7.0-dev)
04:31:34*ntat joined #nim
04:35:14*SchweinDeBurg joined #nim
05:14:00*xutaxkamay joined #nim
05:49:32Amun-Rathere's also C style union for C interop
05:51:11FromDiscord<Elegantbeef> Those would be the untagged ones
05:51:28Amun-Rayes
05:51:44FromDiscord<Elegantbeef> Well you said also but I already mentioned them 😛
05:52:11Amun-RaI blame me for my inability to read the backlog in whole ;)
06:58:06FromDiscord<tauruuuuuus> In reply to @leorize "setjmp on the other": Ok, I'm not an expert on setjmp stuff, just wanted to understand if there was any benefit/performance issues/etc. for each of those!
07:04:20FromDiscord<0xfab_10> the benefit of setjmp is that when you're really deep in the call stack you can just do a big jump backwards instead of many small jumps
07:16:29*ntat quit (Quit: leaving)
07:19:28FromDiscord<tauruuuuuus> got it, thanks
07:20:06FromDiscord<tauruuuuuus> I was wrapping my head about how that works for `try/finally` blocks in code running for small MCUs, that makes it clearer