| 00:36:32 | * | sdothum quit (Remote host closed the connection) |
| 00:39:31 | * | sdothum joined #nim |
| 01:18:02 | * | Mister_Magister quit (Quit: bye) |
| 01:21:22 | * | Mister_Magister joined #nim |
| 01:59:53 | FromDiscord | <toitle3554> In reply to @tempestro "I've recently tried messing": what?? that's one of the best features! |
| 03:46:34 | FromDiscord | <aaronspeedy> In reply to @mratsim "Generics don't work well": This doesn't need to be a generic |
| 03:46:47 | FromDiscord | <aaronspeedy> Or I mean monomorphized generics |
| 03:47:08 | FromDiscord | <aaronspeedy> Unions work just as well |
| 03:48:00 | FromDiscord | <aaronspeedy> An `Any` type can simply be implemented as a `void ` + a type indicator |
| 03:48:33 | FromDiscord | <aaronspeedy> (edit) "mean" => "mean: you don't have to use" |
| 03:49:15 | FromDiscord | <aaronspeedy> I've actually implemented my idea, by the way |
| 03:49:23 | FromDiscord | <aaronspeedy> https://control-core.com/tmp/star99 |
| 03:50:11 | FromDiscord | <aaronspeedy> Implementation is LLM-slop so be aware, although it's not so aggregious because it's all in a single C99 file and you build it simply with `cc -std=c99 -O2 star99.c -lm -o star99` |
| 04:15:03 | FromDiscord | <aaronspeedy> It's to note that the language actually does not have generics |
| 04:15:17 | FromDiscord | <aaronspeedy> (edit) "It's to note that the language actually does not have ... generics" added "monomorphized" |
| 04:15:27 | FromDiscord | <aaronspeedy> You can implement it yourself extremely easily using metaprogramming |
| 04:15:40 | FromDiscord | <aaronspeedy> Takes like ten lines of code |
| 04:15:49 | * | SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev) |
| 04:27:55 | FromDiscord | <aaronspeedy> https://media.discordapp.net/attachments/371759389889003532/1571743597831921715/image.png?ex=6afbd7cb&is=6afa864b&hm=8f81038bf2a777aaaab191cb9c889a757ec93ff26c611856fc39d88edf4af895& |
| 04:28:49 | FromDiscord | <aaronspeedy> It also has cool stuff like build hooks |
| 04:28:51 | FromDiscord | <aaronspeedy> https://media.discordapp.net/attachments/371759389889003532/1571743828660981760/image.png?ex=6afbd802&is=6afa8682&hm=7d1f2aacd3e9ec248f56056f9669be0a2d5a9019679b6d0a10fd230d3de383e9& |
| 04:29:28 | FromDiscord | <aaronspeedy> And it has built-in fuzzing support |
| 04:29:29 | FromDiscord | <aaronspeedy> https://media.discordapp.net/attachments/371759389889003532/1571743989411872819/image.png?ex=6afbd828&is=6afa86a8&hm=2214d1141bdd80b974a7943b21bd0aedb7e44b9b9711fa4eae2a3e81889cafe8& |
| 04:38:09 | * | SchweinDeBurg joined #nim |
| 08:31:21 | * | Jjp137 quit (Quit: Leaving) |
| 08:36:05 | * | insanescholar joined #nim |
| 08:37:52 | * | Jjp137 joined #nim |
| 10:17:35 | FromDiscord | <b0rsuk> In reply to @tempestro "I've recently tried messing": Wait, horrible? Why? They're described as `high performance bit vectors` in the tutorial. |
| 10:21:50 | FromDiscord | <tempestro> a bit vector set that can only take up to 16 bit data types is a highly specialised data structure really not suited for being the language's most basic set data type |
| 10:26:10 | FromDiscord | <tempestro> sent a long message, see https://paste.rs/er5hK |
| 10:26:20 | FromDiscord | <tempestro> (edit) "long message," => "code paste," | "https://paste.rs/qddZi" => "https://paste.rs/FYfv8" |
| 10:36:02 | FromDiscord | <tempestro> I would also prefer if you could just write `mySet + 24` instead of `mySet + {24}` for a union in an expression and having `+=` and `-=` be overloads for `incl` and `excl` by default |
| 10:44:31 | FromDiscord | <tempestro> basically, I think the built-in set and std's set should swap places, and some more QoL sugar would be nice, though I get the latter isn't really suitable for hardcore system architecture |