<< 10-11-2025 >>

00:18:45*beholders_eye quit (Quit: WeeChat 4.6.3)
00:25:31*xtr00 quit (Ping timeout: 264 seconds)
00:36:52*beholders_eye joined #nim
00:45:03*beholders_eye quit (Quit: WeeChat 4.6.3)
01:06:27*Mister_Magister quit (Quit: bye)
01:09:00*Mister_Magister joined #nim
02:04:31*redj_ quit (Ping timeout: 246 seconds)
02:27:35*cws1 joined #nim
02:29:10*cws quit (Ping timeout: 256 seconds)
02:29:11*cws1 is now known as cws
02:33:27*cws quit (Ping timeout: 244 seconds)
02:46:27*cws joined #nim
02:49:41*cws5 joined #nim
02:51:16*cws quit (Ping timeout: 256 seconds)
02:51:17*cws5 is now known as cws
02:57:16*rockcavera quit (Remote host closed the connection)
04:33:50*mal`` quit (Ping timeout: 244 seconds)
04:53:27*mal`` joined #nim
04:59:58*SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev)
05:00:28*SchweinDeBurg joined #nim
05:37:48*xtr00 joined #nim
07:09:36*hygo quit (Quit: WeeChat 4.7.1)
09:14:08*beholders_eye joined #nim
10:07:44FromDiscord<TӨMΛ ☠> sent a code paste, see https://play.nim-lang.org/#pasty=lJrWxPVs
10:08:18FromDiscord<TӨMΛ ☠> (edit) "https://play.nim-lang.org/#pasty=HCfJffTW" => "https://play.nim-lang.org/#pasty=MnzUreFW"
10:17:11FromDiscord<TӨMΛ ☠> Basically it feels like `getOwnerName` being called inside here slows down the game even if any conditions leading to its use does not get fired
10:17:48FromDiscord<TӨMΛ ☠> (edit) "fired" => "fired↵Not to say I wouldn't expect table lookup to be such a burden on performance, as I use it few times already and it never brought any noticeable difference"
10:18:11FromDiscord<TӨMΛ ☠> (edit) "does" => "do" | "fired↵Not" => "fired (it slows down even when `hasObject` returns false)↵Not"
10:19:25*beholders_eye quit (Ping timeout: 246 seconds)
10:21:22*beholders_eye joined #nim
10:38:05FromDiscord<Robyn [She/Her]> In reply to @toma400 "Why does my game": is it because of the lambda? Could you try moving it out somehow?
10:41:38FromDiscord<nnsee> yeah i think it might be because of the closure, closure set up has overhead even if it's never called
10:41:39FromDiscord<nnsee> maybe
10:53:57FromDiscord<nnsee> i'd try inlining it first to see if that helps
10:54:09FromDiscord<nnsee> sent a code paste, see https://play.nim-lang.org/#pasty=qurgYcmQ
11:13:03FromDiscord<TӨMΛ ☠> sent a code paste, see https://play.nim-lang.org/#pasty=owbCXsek
11:32:49*beholders_eye quit (Ping timeout: 265 seconds)
11:34:38*beholders_eye joined #nim
11:46:17FromDiscord<ieltan> sent a code paste, see https://play.nim-lang.org/#pasty=kBcXyhhC
11:46:26FromDiscord<ieltan> (edit) "https://play.nim-lang.org/#pasty=mztfHUSM" => "https://play.nim-lang.org/#pasty=hAqTVCwM"
11:46:42FromDiscord<ieltan> sent a code paste, see https://play.nim-lang.org/#pasty=SxOiqmNv
11:49:22*om3ga quit (Ping timeout: 246 seconds)
11:51:43*om3ga joined #nim
12:19:49*beholders_eye quit (Ping timeout: 246 seconds)
12:21:52*beholders_eye joined #nim
12:36:55*beholders_eye quit (Ping timeout: 244 seconds)
12:38:11*beholders_eye joined #nim
13:53:20FromDiscord<gokr> @pmunch One more Futhark based wrapper born, it literally took me 30 minutes to make it using Claude Code: https://github.com/gokr/natswrapper
13:57:16FromDiscord<pmunch> Cool! Not sure what NATS is, but it's cool to hear that you could create a wrapper in 30 minutes. How was it working with Claude and Futhark?
15:07:07FromDiscord<gokr> In reply to @pmunch "Cool! Not sure what": Claude had no problems whatsoever - I basically just told it to make a wrapper using Futhark. 🙂
15:07:23FromDiscord<gokr> NATS is a pubsub system written in Golang.
15:07:34FromDiscord<gokr> https://nats.io/
15:08:54FromDiscord<gokr> There was a c2nim based wrapper already - but I wanted to use the kv store features in NATS (to be able to do "presence" - to know which subscribers are live at the moment) and that was not yet implemented. Boom, Futhark to the rescue. Claude of course whipped up that presence logic too in notime.
15:11:13FromDiscord<gokr> I did not write a single line of code in that repo...