| 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:40 | FromDiscord | <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:26 | FromDiscord | <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:33 | Amun-Ra | cpu define is already taken, but you can do it like this: |
| 12:22:51 | Amun-Ra | const numcpu {.intdefine.} = 4 # 4 being the default |
| 12:23:07 | Amun-Ra | ant then -d=numcpu=4 |
| 12:24:47 | Amun-Ra | you can have different define name and const: const myconstname {.intdefine: "mydefinename".} = 4 |
| 12:25:11 | Amun-Ra | like: const numcpu {.intdefine: "project.cpu".} = 4 |
| 12:26:49 | FromDiscord | <bosinski2023> In reply to @Amun-Ra "like: const numcpu {.intdefine:": thx. just found it myself, after AI recommended to use `{.experimental: "genericDefines".}` 🙂 |
| 12:28:56 | Amun-Ra | :) |
| 12:32:52 | FromDiscord | <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:19 | FromDiscord | <griffith1deadly> sent a long message, see https://pasty.ee/yuYfPPqD |
| 13:09:10 | FromDiscord | <anuke> Thanks, but why is var deprecated if hacks like that are required for basic things like handling string fields correctly? |
| 13:09:46 | FromDiscord | <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:43 | FromDiscord | <Laylie> didn't var destructors get undeprecated |
| 20:16:57 | * | joast joined #nim |