<< 10-04-2026 >>

00:15:09*fallback_ quit (Read error: Connection reset by peer)
00:25:16*fallback joined #nim
01:10:41*fallback quit (Read error: Connection reset by peer)
01:15:34*fallback joined #nim
02:52:10*rockcavera quit (Remote host closed the connection)
05:03:57*mrinsane quit (Ping timeout: 246 seconds)
06:24:40FromDiscord<planetis_m> In reply to @anuke "So I'm told by": Are you using destructors with --mm:refc?
08:54:20*beholders_eye joined #nim
10:22:49*hygo quit (Ping timeout: 268 seconds)
10:24:30*hygo joined #nim
12:10:11*SchweinD2 quit (Quit: WeeChat 4.8.0-dev)
12:21:26FromDiscord<bosinski2023> i want to pass a compile-time param via e.g. `-d:cpu=4` - do i need to parse the command-line string myself or is there smth. ?
12:22:33Amun-Racpu define is already taken, but you can do it like this:
12:22:51Amun-Raconst numcpu {.intdefine.} = 4 # 4 being the default
12:23:07Amun-Raant then -d=numcpu=4
12:24:47Amun-Rayou can have different define name and const: const myconstname {.intdefine: "mydefinename".} = 4
12:25:11Amun-Ralike: const numcpu {.intdefine: "project.cpu".} = 4
12:26:49FromDiscord<bosinski2023> In reply to @Amun-Ra "like: const numcpu {.intdefine:": thx. just found it myself, after AI recommended to use `{.experimental: "genericDefines".}` 🙂
12:28:56Amun-Ra:)
12:32:52FromDiscord<anuke> In reply to @planetis_m "Are you using destructors": No, arc
12:54:03*beholders_eye quit (Ping timeout: 244 seconds)
13:01:12*beholders_eye joined #nim
13:01:19FromDiscord<griffith1deadly> sent a long message, see https://pasty.ee/yuYfPPqD
13:09:10FromDiscord<anuke> Thanks, but why is var deprecated if hacks like that are required for basic things like handling string fields correctly?
13:09:46FromDiscord<anuke> (var for destructors specially)
13:12:49*Mister_Magister quit (Ping timeout: 256 seconds)
13:17:10*Mister_Magister joined #nim
13:23:30*fallback quit (Ping timeout: 244 seconds)
13:32:44*Mister_Magister_ joined #nim
13:33:45*Mister_Magister quit (Ping timeout: 268 seconds)
13:35:55*Mister_Magister_ is now known as Mister_Magister
13:47:40*fallback joined #nim
16:00:24*krux02 joined #nim
16:09:42*krux02 quit (Remote host closed the connection)
16:17:04*SchweinDeBurg joined #nim
16:37:30*mrinsane joined #nim
17:22:32*xet7 quit (Ping timeout: 268 seconds)
18:18:46*beholders_eye quit (Quit: WeeChat 4.9.0)
18:35:08*joast quit (Quit: Leaving.)
19:24:43FromDiscord<Laylie> didn't var destructors get undeprecated
20:16:57*joast joined #nim
20:39:56FromDiscord<anuke> That could be the case. I'm using 2.0.8 because the actual latest release doubles my compiles times
20:40:35FromDiscord<anuke> ...and I highly doubt I can provide a minimum repro file due to how many things I have going on in my project
21:02:31*cws quit (Ping timeout: 265 seconds)
21:06:45*cws joined #nim