<< 18-08-2026 >>

01:28:57*sdothum quit (Read error: Connection reset by peer)
01:30:33*sdothum joined #nim
01:43:00*sdothum_ joined #nim
01:43:42*sdothum quit (Ping timeout: 276 seconds)
01:43:42*sdothum_ is now known as sdothum
02:33:20*rockcavera quit (Remote host closed the connection)
03:20:28*Skippy8 joined #nim
04:38:51*Skippy8 quit (Ping timeout: 244 seconds)
04:40:02*Skippy8 joined #nim
06:26:07*Ekho quit (Quit: CORE ERROR, SYSTEM HALTED.)
06:31:19*hygo quit (Ping timeout: 244 seconds)
06:40:14*Ekho joined #nim
07:10:15*oculux joined #nim
07:12:58*kick455 quit (Ping timeout: 257 seconds)
08:04:31*Skippy8 quit (Ping timeout: 252 seconds)
08:18:25*SchweinDeBurg quit (Remote host closed the connection)
08:41:51*SchweinDeBurg joined #nim
08:43:01*SchweinDeBurg quit (Remote host closed the connection)
08:43:17*SchweinDeBurg joined #nim
08:52:24*SchweinDeBurg quit (Ping timeout: 245 seconds)
09:00:18*SchweinDeBurg joined #nim
09:41:30*hygo joined #nim
10:54:54*Skippy8 joined #nim
12:25:54*valkorionyounger joined #nim
13:43:03FromDiscord<mr_rowboto> @Robyn [She/Her] the only reason I can think of to use `ìnclude` would be when you want to compile some text resource together with the program in a single executable. ie: an image encoded in hex or base64, or some external textfile, you just use `include` to read the files compile-time and pack them.
13:43:36FromDiscord<mr_rowboto> (edit) "them." => "them in a variable you can work with."
13:43:42FromDiscord<mr_rowboto> (edit) "@Robyn [She/Her] the only reason I can think of to use `ìnclude` would be when you want to compile some text resource together with the program in a single executable. ie: an image encoded in hex or base64, or some external textfile, you just use `include` to read the files compile-time and pack them in a variable ... you" added "or const"
13:52:23*valkorionyounger quit (Remote host closed the connection)
14:36:22FromDiscord<gesee37> In reply to @mr_rowboto "<@524288464422830095> the only reason": I'm alone with my includes. Fine fine.↵Seems I'm a bit like Apple↵Going backwards, telling everyone I know what I'm doing then secretly going forward and telling everyone I always knew it was the right thing to do
14:43:40FromDiscord<mr_rowboto> Hey! At least I gave it a reasonable use!!!!
14:44:33FromDiscord<mr_rowboto> In reply to @gesee37 "I'm alone with my": tbh I'm no one to judge architectural choices... if it works... it works. It's just me that wouldn't use it.
14:54:47FromDiscord<gesee37> In reply to @mr_rowboto "Hey! At least I": So you don't even use it to test private functions 😅
15:25:58FromDiscord<exelotl> sent a long message, see https://paste.rs/tP6q8
15:31:08FromDiscord<Robyn [She/Her]> In reply to @mr_rowboto "<@524288464422830095> the only reason": include is for Nim files tho
15:31:23FromDiscord<Robyn [She/Her]> for that purpose you'd use `staticRead`
15:31:56FromDiscord<exelotl> and I am also considering using it to split up a large file without increasing build times (as 1 large module is slightly cheaper than a dozen small modules) - and I don't have time or need for a full refactor but that doesn't mean I can't tidy things up a bit.
15:32:19FromDiscord<mr_rowboto> In reply to @battery.acid.bubblegum "include is for Nim": true
15:32:56FromDiscord<mr_rowboto> Here @gesee37 be happy: https://github.com/RowDaBoat/reploid/tree/master/src/vms/nimc/templates↵I use `include` to compile commands on my REPL.
15:33:19FromDiscord<mr_rowboto> (edit) "REPL." => "REPL, as a kind of template.↵Had forgotten."
16:06:12FromDiscord<mratsim> Added Metal codegen: https://github.com/mratsim/tattletale/pull/57↵↵So I can produce Cuda, Metal, OpenCL, Vulkan, WebGPU from Nim as long as it doesn't use seq/strings ref allocs
16:38:37*Skippy8 quit (Read error: Connection reset by peer)
16:39:37*Skippy8 joined #nim
18:03:41FromDiscord<DetermiedNim1> In reply to @gesee37 "So you don't even": can't you just use `import pkg {.all.}` or smth
18:06:38Amun-Rathere is one thing that won't be imported that way
18:07:21Amun-Racustom pragmas
18:07:26FromDiscord<DetermiedNim1> sent a long message, see https://paste.rs/M3NtV
18:08:48FromDiscord<DetermiedNim1> (edit) "long message," => "code paste," | "https://paste.rs/BhDVT" => "https://paste.rs/v2kgy"
18:08:56FromDiscord<DetermiedNim1> (edit) "https://paste.rs/5zpgt" => "https://paste.rs/g4LGf"
18:09:06FromDiscord<DetermiedNim1> (edit) "https://paste.rs/PstcT" => "https://paste.rs/PNpe9"
18:49:39FromDiscord<gesee37> In reply to @battery.acid.bubblegum "include is for Nim": Well the thing is also that include easily show how how to break down modules ↵Like if you end up with cyclic dependencies you will just make a third file (else it won't compile)
18:51:54FromDiscord<gesee37> sent a code paste, see https://paste.rs/rJYbt
18:52:09FromDiscord<gesee37> So I can swap features as I want
19:06:39Amun-Rajust watch out for stuff you include you then want to export
20:25:16*jjido joined #nim
20:31:09*vival quit (Read error: Connection reset by peer)
20:33:55*vival joined #nim
21:13:07*jjido quit (Ping timeout: 245 seconds)
21:31:29*SchweinDeBurg quit (Remote host closed the connection)
21:53:36FromDiscord<exelotl> sent a long message, see https://paste.rs/TNSyG
21:55:46FromDiscord<exelotl> > a file that just imports and reexports stuff might be better↵you can't export pragmas, so include is the only option here
21:58:22*sdothum quit (Remote host closed the connection)
22:00:39*sdothum joined #nim
22:08:20*sdothum quit (Remote host closed the connection)
22:09:33*Skippy8 quit (Ping timeout: 260 seconds)
22:10:24*Skippy8 joined #nim
22:10:24*sdothum joined #nim
22:58:09*SchweinDeBurg joined #nim