<< 30-06-2025 >>

00:39:10*tokyovigilante quit (Remote host closed the connection)
00:42:48*tokyovigilante joined #nim
01:01:40*xet7 joined #nim
01:29:53FromDiscord<demotomohiro> sent a code paste, see https://play.nim-lang.org/#pasty=jDIuvBAV
01:42:01FromDiscord<Robyn [She/Her]> Why not just `Vector2 = array[Axis, float32]`↵(@demotomohiro)
01:59:34FromDiscord<demotomohiro> sent a code paste, see https://play.nim-lang.org/#pasty=BuFgCzxZ
02:00:36FromDiscord<demotomohiro> it results in `/home/wandbox/prog.nim(11, 2) Error: ambiguous call; both prog.foo(x: Vector2) [proc declared in /home/wandbox/prog.nim(7, 6)] and prog.foo(x: Wector2) [proc declared in /home/wandbox/prog.nim(8, 6)] match for: (Vector2)`.
02:01:04FromDiscord<Robyn [She/Her]> could do `distinct array[Axis, float32]` in that case, then
02:02:52FromDiscord<Robyn [She/Her]> sent a code paste, see https://play.nim-lang.org/#pasty=SGXSXqUv
02:03:05FromDiscord<Robyn [She/Her]> sent a code paste, see https://play.nim-lang.org/#pasty=LFNDZdOr
02:03:25FromDiscord<Robyn [She/Her]> do objects have an overhead in Nim? They do because of rtti, right?
02:03:57FromDiscord<Elegantbeef> Non inheritance objects do not have RTTI
02:04:16FromDiscord<Robyn [She/Her]> ah
02:04:25FromDiscord<Robyn [She/Her]> ig this is a really minor thing, then
04:13:03*rockcavera quit (Remote host closed the connection)
06:32:22*skippy8 joined #nim
07:13:36FromDiscord<_cyberdot> In reply to @Robyn "Why not just `Vector2": This solution would be good if Vector2 was a class maintained by me. It is a third party class, so manipulating what properties it has is not an option here.
07:43:22*jjido joined #nim
08:16:06*jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…)
08:27:36*beholders_eye joined #nim
09:05:57*beholders_eye quit (Ping timeout: 248 seconds)
09:44:19*xet7 quit (Remote host closed the connection)
10:34:10*jjido joined #nim
10:55:44*jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…)
11:07:38*tokyovigilante_ joined #nim
11:08:01*tokyovigilante quit (Ping timeout: 248 seconds)
11:08:02*tokyovigilante_ is now known as tokyovigilante
11:32:07*beholders_eye joined #nim
11:44:37*andy-turner joined #nim
11:45:48*beholders_eye quit (Ping timeout: 272 seconds)
11:48:23*amadaluzia joined #nim
11:59:14*fallback quit (Ping timeout: 248 seconds)
12:08:50*fallback joined #nim
12:19:24*andy-turner quit (Ping timeout: 252 seconds)
12:21:41*andy-turner joined #nim
12:23:16*andy-turner quit (Read error: Connection reset by peer)
13:25:18*jjido joined #nim
13:31:12*jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…)
13:41:35*skippy8 quit (Quit: WeeChat 4.6.3)
13:42:54*nils` quit (Ping timeout: 260 seconds)
14:46:04*nils` joined #nim
14:48:50*xtr00 quit (Ping timeout: 272 seconds)
14:52:18*xtr00 joined #nim
15:01:18FromDiscord<litlighilit> You can use `importc` or `importcpp` https://nim-lang.org/docs/manual.html#implementation-specific-pragmas-importcpp-pragma @_cyberdot↵while defining these properties, a.k.a. wrap those in Nim.
15:02:58FromDiscord<_cyberdot> I am trying to use pure Nim code. Those functionalities exist mainly to keep compatibility with C/C++ codebases mainly, which is not the scope of what I am trying to do.
15:03:24FromDiscord<_cyberdot> (edit) "codebases mainly," => "codebases,"
15:04:22FromDiscord<litlighilit> Well I thought "third party class" means C++'s↵(@_cyberdot)
15:04:43FromDiscord<litlighilit> Well. I thought "third party class" means C++'s
15:05:06FromDiscord<_cyberdot> Yes, the library is just a wrapper over the original C library
15:05:36FromDiscord<_cyberdot> But the idea is to use it the Nim way
15:06:05FromDiscord<litlighilit> Well. I thought "third party class" means C/C++'s
15:08:26*xtr00 quit (Ping timeout: 252 seconds)
15:10:17*xtr00 joined #nim
15:12:51*beholders_eye joined #nim
15:24:04*jjido joined #nim
15:35:12*jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…)
15:40:31*xtr00_ joined #nim
15:42:04*xtr00 quit (Ping timeout: 260 seconds)
15:52:26*xtr00_ quit (Ping timeout: 252 seconds)
15:53:14*xtr00 joined #nim
15:59:46*xtr00 quit (Ping timeout: 252 seconds)
16:16:56*xtr00 joined #nim
16:46:38*xtr00 quit (Ping timeout: 245 seconds)
16:48:58*xtr00 joined #nim
16:54:48*jjido joined #nim
18:34:58*amadaluzia quit (Quit: ZNC 1.10.0 - https://znc.in)
18:44:41*tokyovigilante quit (Remote host closed the connection)
18:48:28*tokyovigilante joined #nim
18:49:27*beholders_eye quit (Ping timeout: 252 seconds)
19:00:32*xtr00 quit (Ping timeout: 252 seconds)
19:01:48*xtr00 joined #nim
19:12:16*xtr00 quit (Ping timeout: 252 seconds)
19:22:35*xtr00 joined #nim
19:29:13*jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…)
19:51:38*xet7 joined #nim
19:54:17*skippy8 joined #nim
20:16:40*pmp-p quit (Quit: No Ping reply in 180 seconds.)
20:16:52*pmp-p joined #nim
20:23:04*xet7 quit (Remote host closed the connection)
20:39:51*jjido joined #nim
20:40:38*xtr00 quit (Ping timeout: 252 seconds)
20:41:51*xtr00 joined #nim
20:48:21*amadaluzia joined #nim
21:14:34*rockcavera joined #nim
21:55:27*xtr00 quit (Read error: Connection reset by peer)
21:56:24*xtr00 joined #nim
22:31:42*oprypin quit (Quit: Bye)
22:31:52*oprypin joined #nim
22:36:37*xtr00 quit (Ping timeout: 248 seconds)
22:36:54*xtr00 joined #nim
22:41:47*skippy8 quit (Quit: WeeChat 4.6.3)
22:45:24*perro quit (Ping timeout: 260 seconds)
22:47:17*perro joined #nim
23:00:02*marcus quit (Remote host closed the connection)
23:00:44*marcus joined #nim