| 00:20:02 | * | def- quit (Remote host closed the connection) |
| 00:24:32 | * | beholders_eye quit (Ping timeout: 252 seconds) |
| 00:45:20 | * | syl quit (Ping timeout: 244 seconds) |
| 01:12:20 | * | syl joined #nim |
| 02:41:07 | * | lakefox joined #nim |
| 03:14:29 | * | casaca quit (Ping timeout: 245 seconds) |
| 03:15:03 | FromDiscord | <heysokam> sent a code paste, see https://play.nim-lang.org/#pasty=PMbaOkjf |
| 03:15:38 | FromDiscord | <heysokam> I've never seen C++ references wrapped to Nim before. Any ideas? |
| 03:16:34 | * | ursa-major quit (Ping timeout: 248 seconds) |
| 03:18:14 | * | noeontheend quit (Ping timeout: 245 seconds) |
| 03:18:53 | * | mronetwo quit (Ping timeout: 252 seconds) |
| 03:19:43 | * | adigitoleo quit (Ping timeout: 264 seconds) |
| 03:21:59 | * | Freneticks quit (Ping timeout: 245 seconds) |
| 03:21:59 | * | johuck quit (Ping timeout: 245 seconds) |
| 03:22:24 | * | whereiseveryone quit (Ping timeout: 245 seconds) |
| 03:22:52 | * | robertmeta quit (Ping timeout: 256 seconds) |
| 03:23:28 | FromDiscord | <nevillegg> @crochubourbier I understand you pain of people vibe coding. |
| 03:23:40 | FromDiscord | <nevillegg> (edit) "you" => "your" |
| 03:25:29 | * | tmpod quit (Ping timeout: 252 seconds) |
| 03:36:05 | * | robertmeta joined #nim |
| 03:37:42 | * | ursa-major joined #nim |
| 03:40:18 | FromDiscord | <heysokam> sent a code paste, see https://play.nim-lang.org/#pasty=vhNBCFyr |
| 03:41:49 | * | mronetwo joined #nim |
| 03:42:29 | * | adigitoleo joined #nim |
| 03:42:51 | * | noeontheend joined #nim |
| 03:45:26 | * | johuck joined #nim |
| 03:46:22 | * | Freneticks joined #nim |
| 03:46:48 | * | whereiseveryone joined #nim |
| 03:48:40 | * | tmpod joined #nim |
| 03:48:54 | * | casaca joined #nim |
| 04:26:59 | * | acidsys quit (Ping timeout: 244 seconds) |
| 04:47:31 | * | acidsys joined #nim |
| 05:09:42 | FromDiscord | <bung8954> just added CI make sure compiles on all platforms https://github.com/drift-editor/drift |
| 06:42:35 | FromDiscord | <.tokyovigilante> Can I ask what the status of https://nim-lang.github.io/threading is for example `Channel[T]` vs `std/channels`? Really struggling to manage ORC and going to rewrite my threaded code, but wondering if I should switch over at the same time. |
| 07:00:21 | FromDiscord | <planetis_m> In reply to @.tokyovigilante "Can I ask what": Trying to pass Tree structures like JsonNode and other refs over threads is not threadsafe. Unfortunetly doesnt work with orc you need --mm:atomicArc use threading/channels over std/channels |
| 07:01:28 | * | tiorock joined #nim |
| 07:01:28 | * | tiorock quit (Changing host) |
| 07:01:28 | * | tiorock joined #nim |
| 07:01:28 | * | rockcavera quit (Killed (uranium.libera.chat (Nickname regained by services))) |
| 07:01:28 | * | tiorock is now known as rockcavera |
| 07:04:42 | FromDiscord | <planetis_m> sent a code paste, see https://play.nim-lang.org/#pasty=SOXbMhKH |
| 07:36:35 | * | cws8 joined #nim |
| 07:36:49 | * | tk_ joined #nim |
| 07:37:17 | * | Mister_Magister_ joined #nim |
| 07:37:24 | * | gshumway_ joined #nim |
| 07:39:39 | * | lumidify_ joined #nim |
| 07:39:42 | * | Jhonny2x1 joined #nim |
| 07:44:37 | * | Mister_Magister quit (*.net *.split) |
| 07:44:37 | * | tk quit (*.net *.split) |
| 07:44:37 | * | gshumway quit (*.net *.split) |
| 07:44:37 | * | cws quit (*.net *.split) |
| 07:44:37 | * | Jhonny2x4 quit (*.net *.split) |
| 07:44:37 | * | lumidify quit (*.net *.split) |
| 07:44:38 | * | Mister_Magister_ is now known as Mister_Magister |
| 07:44:40 | * | tk_ is now known as tk |
| 07:44:40 | * | cws8 is now known as cws |
| 08:12:31 | FromDiscord | <.tokyovigilante> In reply to @planetis_m "Trying to pass Tree": Awesome thanks, that's what I was thinking |
| 08:30:37 | FromDiscord | <.tokyovigilante> In reply to @planetis_m "Trying to pass Tree": Will valgrind find cycle-related leaks wtih `atomicArc`? |
| 08:39:31 | FromDiscord | <crochubourbier> sent a code paste, see https://play.nim-lang.org/#pasty=CYPdltmE |
| 08:39:56 | FromDiscord | <crochubourbier> (edit) "https://play.nim-lang.org/#pasty=yrDbtgZx" => "https://play.nim-lang.org/#pasty=hVXTXAmQ" |
| 08:53:51 | FromDiscord | <crochubourbier> ok I just found out that you don't even need to wrap it in a distinct type, you can just return the private type from your factory function and it will be opaque |
| 08:57:42 | FromDiscord | <crochubourbier> sent a code paste, see https://play.nim-lang.org/#pasty=qZpaTDuB |
| 08:58:20 | FromDiscord | <crochubourbier> (edit) "https://play.nim-lang.org/#pasty=tkQXDTrW" => "https://play.nim-lang.org/#pasty=hPKRCqbg" |
| 08:59:30 | FromDiscord | <crochubourbier> (edit) "https://play.nim-lang.org/#pasty=dPmuJWKW" => "https://play.nim-lang.org/#pasty=pSTRiaMM" |
| 08:59:41 | FromDiscord | <heysokam> In reply to @crochubourbier "you should consider using": futhark does not support C++ ✍️ |
| 08:59:47 | FromDiscord | <crochubourbier> oh my bad |
| 08:59:52 | FromDiscord | <heysokam> this is a question about C++ in particular |
| 08:59:53 | FromDiscord | <crochubourbier> i thought it did |
| 09:00:17 | FromDiscord | <crochubourbier> I tried it only with c library but I assumed it worked with cpp |
| 09:00:21 | FromDiscord | <heysokam> the effort was started at some point, but it was never completed, afaik |
| 09:00:54 | FromDiscord | <heysokam> In reply to @crochubourbier "I tried it only": nah, it needs like the same amount of code it already has to deal with classes, templates, struct methods, and a bunch of other cpp specific ast nodes |
| 09:01:24 | FromDiscord | <crochubourbier> In reply to @heysokam "the effort was started": and I can understand why, parsing C++ headers must be way harder than C |
| 09:02:19 | FromDiscord | <heysokam> its the same API. its just doubling the effort, thats all |
| 09:02:35 | FromDiscord | <heysokam> the AST already has the information, no need for extra parsing anything |
| 09:02:43 | FromDiscord | <heysokam> libclang does the parsing |
| 09:03:08 | FromDiscord | <crochubourbier> it also has to take into account the hundreds of additional keywords, all the oop stuff and all the C++ bloat |
| 09:04:07 | FromDiscord | <crochubourbier> (maybe not hundreds of keywords, but a lot more at least) |
| 09:04:10 | FromDiscord | <heysokam> you are thinking about it wrong. futhark does no parsing |
| 09:04:19 | FromDiscord | <heysokam> its all libclang |
| 09:04:33 | FromDiscord | <crochubourbier> doesn't it parse the header to generate the bindings from the prototypes ? |
| 09:04:58 | FromDiscord | <crochubourbier> oh okay |
| 09:04:59 | FromDiscord | <heysokam> it doesnt. it asks `libclang` to do the parsing, and receives an AST with everything needed |
| 09:05:06 | FromDiscord | <crochubourbier> it uses libclang under the hood ok |
| 09:05:09 | FromDiscord | <heysokam> yea |
| 09:05:50 | FromDiscord | <crochubourbier> so what is the problem then ? it's the C++ ast parsing part ? |
| 09:06:36 | FromDiscord | <crochubourbier> I mean AST processing |
| 09:07:05 | FromDiscord | <heysokam> its a lot of work that nobody wants to do, thats all |
| 09:07:30 | FromDiscord | <heysokam> tons of edge cases that are hard to test and validate |
| 09:07:58 | FromDiscord | <crochubourbier> ok |
| 10:04:04 | * | tokyovigilante quit (Ping timeout: 256 seconds) |
| 11:13:31 | * | amadaluzia quit (Ping timeout: 264 seconds) |
| 11:15:44 | * | amadaluzia joined #nim |