| 00:56:03 | * | mrinsane joined #nim |
| 02:07:36 | * | rockcavera quit (Remote host closed the connection) |
| 03:13:33 | * | tokyovigilante joined #nim |
| 05:40:35 | * | mrinsane quit (Ping timeout: 244 seconds) |
| 08:22:56 | * | beholders_eye joined #nim |
| 09:36:28 | * | SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev) |
| 09:45:29 | * | SchweinDeBurg joined #nim |
| 15:15:28 | * | mrinsane joined #nim |
| 15:21:45 | * | mrinsane quit (Ping timeout: 248 seconds) |
| 15:43:56 | * | mrinsane joined #nim |
| 15:59:28 | * | krunsh joined #nim |
| 16:08:16 | * | joast quit (Quit: Leaving.) |
| 16:16:09 | * | joast joined #nim |
| 16:22:34 | FromDiscord | <nocturn9x> also, nope |
| 16:22:40 | FromDiscord | <nocturn9x> In reply to @janakali "<@523555920265871380> you can workaround": doesn't work! |
| 16:22:43 | FromDiscord | <nocturn9x> sent a code paste, see https://play.nim-lang.org/#pasty=AFeEEnJl |
| 16:23:22 | FromDiscord | <nocturn9x> if you wanna try on the real thing, you can clone [this](<https://git.nocturn9x.space/heimdall-engine/heimdall>) and try with `make bench VERBATIM_NET=1 EVALFILE=../networks/files/laevateinn-v2-verbatim.bin` |
| 16:23:35 | FromDiscord | <nocturn9x> idk what specifically about this setup is making it angry |
| 16:23:48 | FromDiscord | <nocturn9x> the nim code is fine, the problem is the C output |
| 16:24:53 | FromDiscord | <nocturn9x> sent a code paste, see https://play.nim-lang.org/#pasty=FivSvTYo |
| 16:25:21 | FromDiscord | <nocturn9x> but if I do `network = cast[ptr Network](cast[ptr UncheckedArray[byte]](VERBATIM_NET_DATA))[]` it doesn't work? |
| 16:25:26 | FromDiscord | <nocturn9x> wouldn't that be equivalent= |
| 16:25:28 | FromDiscord | <nocturn9x> (edit) "equivalent=" => "equivalent?" |
| 16:25:50 | FromDiscord | <nocturn9x> hmm if I make `temp` a `const` the error reappers |
| 16:26:00 | FromDiscord | <nocturn9x> so it's something about how nim is generating the C code if it inlines the constant |
| 16:26:01 | FromDiscord | <nocturn9x> _weird_ |
| 16:48:32 | Amun-Ra | nocturn9x: I'll test it tomorrow |
| 16:48:42 | FromDiscord | <nocturn9x> thanks :) |
| 16:48:51 | FromDiscord | <nocturn9x> right now I can get away with using `let temp` |
| 16:48:56 | FromDiscord | <nocturn9x> but really weird that it breaks like this |
| 16:49:17 | Amun-Ra | that's the way I'd do it |