00:36:34 | FromDiscord | <devlop_gaming> In reply to @.tokyovigilante "I've found great success": Is there any other generation libraries that can convert cpp code to nim? |
00:39:40 | FromDiscord | <.tokyovigilante> In reply to @devlop_gaming "Is there any other": Do you mean convert or call? |
00:39:53 | FromDiscord | <devlop_gaming> In reply to @.tokyovigilante "Do you mean convert": Convert |
00:40:35 | FromDiscord | <.tokyovigilante> In reply to @devlop_gaming "Convert": Not sure I know any, may as well just ask CharGPT at that point. What are you trying to convert? |
00:40:53 | FromDiscord | <devlop_gaming> In reply to @.tokyovigilante "Not sure I know": I need dear imgui in nim |
00:41:05 | FromDiscord | <devlop_gaming> And the sdl3 backend |
00:41:50 | FromDiscord | <.tokyovigilante> Yeah just use the C wrapper, and write shims for the backends. No point or need to rewrite the entire library when you can just call the C API from your code |
00:43:20 | FromDiscord | <devlop_gaming> Does cimgui have any errors in it? |
00:44:30 | FromDiscord | <.tokyovigilante> It’s automatically generated from the C++ header, I don’t think so. Works for me anyway. I’m using the dear_bindings generator instead but the concept is the same |
00:46:53 | FromDiscord | <devlop_gaming> Does it have docking features? |
00:47:52 | FromDiscord | <.tokyovigilante> You generate a C shim/wrapper for your C++ library (this is what cimgui does for imgui), then use↵futhark to generate the Nim interface. Then just use that generated Nim API |
00:48:09 | FromDiscord | <Elegantbeef> You can bring the lake to the horse but you cannot make it drink |
00:48:52 | FromDiscord | <.tokyovigilante> In reply to @devlop_gaming "Does it have docking": If you use the docking branch sure, but I haven’t used that myself because it doesn’t work with Wayland (yet). |
00:49:49 | FromDiscord | <devlop_gaming> In reply to @.tokyovigilante "If you use the": What's wayland? |
00:50:00 | FromDiscord | <.tokyovigilante> Futhark can only process C headers, not C++ which is why you need cimgui. |
00:50:21 | FromDiscord | <.tokyovigilante> In reply to @devlop_gaming "What's wayland?": The most controversial protocol in Linux it seems 😉 |
00:50:43 | FromDiscord | <devlop_gaming> In reply to @.tokyovigilante "The most controversial protocol": Another reason we go with windows |
00:51:18 | FromDiscord | <.tokyovigilante> In reply to @devlop_gaming "Another reason we go": Then godspeed to you my boy 😉 |
00:52:23 | FromDiscord | <demotomohiro> In reply to @devlop_gaming "I do but how": You can translate a class in namespace like this: https://play.nim-lang.org/#pasty=BqayAjeO |
00:53:00 | FromDiscord | <demotomohiro> And there are more example code in Nim manual: https://nim-lang.org/docs/manual.html#implementation-specific-pragmas-importcpp-pragma |
01:10:02 | FromDiscord | <devlop_gaming> In reply to @demotomohiro "You can translate a": It says no such package imgui even tho I am staring at it in my package list |
01:40:11 | FromDiscord | <user2m> In reply to @Elegantbeef "Have you used -d\:useMalloc?": looks like this is working! |
02:41:19 | * | syl quit (Quit: C-x C-c) |
02:44:34 | * | syl joined #nim |
03:35:37 | * | xet7 joined #nim |
03:55:43 | * | tiorock joined #nim |
03:55:43 | * | tiorock quit (Changing host) |
03:55:43 | * | tiorock joined #nim |
03:55:43 | * | rockcavera quit (Killed (mercury.libera.chat (Nickname regained by services))) |
03:55:43 | * | tiorock is now known as rockcavera |
04:42:48 | * | om3ga_ quit (Ping timeout: 252 seconds) |
04:45:44 | * | om3ga joined #nim |
06:54:20 | * | skippy8 joined #nim |
10:55:08 | FromDiscord | <aintea> In reply to @devlop_gaming "Another reason we go": sure let's not have the debate of what's better and straight up use what's undebatably the worst |
10:58:11 | * | alexdaguy joined #nim |
11:25:08 | * | skippy8 quit (Quit: WeeChat 4.6.3) |
11:59:09 | * | jjido joined #nim |
12:32:17 | * | nils` quit (Ping timeout: 248 seconds) |
12:45:09 | * | alexdaguy quit (Quit: WeeChat 4.6.3) |
13:28:26 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
14:01:16 | * | beholders_eye joined #nim |
14:31:31 | FromDiscord | <DetermiedNim1> -# (I use arch btw) |
14:35:05 | * | jjido joined #nim |
14:35:33 | * | beholders_eye quit (Ping timeout: 248 seconds) |
14:55:16 | * | nils` joined #nim |
14:58:45 | FromDiscord | <Robyn [She/Her]> #- (i also use arch btw) |
14:58:50 | FromDiscord | <Robyn [She/Her]> (edit) "#-" => "-#" |
14:59:13 | FromDiscord | <devlop_gaming> Linux sucks |
14:59:41 | FromDiscord | <leorize> it is |
15:00:14 | FromDiscord | <leorize> but so is everything else |
15:03:30 | FromDiscord | <devlop_gaming> Define everything else |
15:04:53 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
15:08:16 | FromDiscord | <leorize> it's quite literally everything |
15:10:12 | FromDiscord | <griffith1deadly> In reply to @devlop_gaming "Linux sucks": windows sucks |
15:11:32 | FromDiscord | <devlop_gaming> In reply to @griffith1deadly "windows sucks": It doesn't |
15:11:42 | FromDiscord | <rakgew> comparing the linux distros I run at home and the win-garbage I have to put up at work, imho the latter is far worse.↵(@devlop_gaming) |
15:12:39 | FromDiscord | <griffith1deadly> windows sucks at anything |
15:12:50 | FromDiscord | <griffith1deadly> even game performance better at linux |
15:13:19 | FromDiscord | <griffith1deadly> (edit) "even game performance better at linux ... " added "(via proton)" |
15:13:28 | FromDiscord | <devlop_gaming> Then why do people always go with windows for gaming and coding then |
15:13:56 | FromDiscord | <devlop_gaming> I don't wanna have to go through a billion steps to install one thing 💀 |
15:14:08 | FromDiscord | <griffith1deadly> In reply to @devlop_gaming "Then why do people": only thing that windows has and linux not - games with kernel anticheat |
15:14:17 | FromDiscord | <griffith1deadly> which is malware |
15:14:19 | FromDiscord | <rakgew> for gaming\: I would assume the market.↵for coding I always go for linux! |
15:16:16 | FromDiscord | <griffith1deadly> In reply to @devlop_gaming "I don't wanna have": i wish people would learn to think with their own heads instead of using windows propaganda, installing any application on linux is also through browser/installers with gui and even more convenient than on windows. |
15:16:44 | FromDiscord | <leorize> the same reason no one actually code in nim↵(@devlop_gaming) |
15:16:44 | FromDiscord | <rakgew> plus win has a crap-load of wanna-be-security-solution-snake-oil-apps that claim I would create malicious code, when they actually have no clue, what the hello world is doing. |
15:16:52 | FromDiscord | <devlop_gaming> In reply to @leorize "the same reason no": No it's nkt💀 |
15:17:01 | FromDiscord | <devlop_gaming> (edit) "nkt💀" => "not💀" |
15:17:33 | FromDiscord | <devlop_gaming> In reply to @rakgew "plus win has a": I don't see a problem here |
15:20:13 | FromDiscord | <griffith1deadly> just think when you want to say that more windows is used for coding than linux - 90%+ of the world's servers are on linux. and the whole world runs on it |
15:26:41 | FromDiscord | <leorize> even MS knows it, that's why they added Linux to Windows |
15:30:06 | FromDiscord | <Robyn [She/Her]> In reply to @devlop_gaming "Then why do people": they don't? people just use what they're comfortable with |
15:30:53 | FromDiscord | <DetermiedNim1> In reply to @devlop_gaming "I don't wanna have": I have never had a harder time installing things than on windows |
15:31:01 | FromDiscord | <leorize> most people don't know what an OS is |
15:31:13 | FromDiscord | <griffith1deadly> just imagine - 99% of game servers of games that you know runs on linux |
15:31:38 | FromDiscord | <DetermiedNim1> Literally everything i use my laptop for (gaming, coding, school) has been easier or the same on linux |
15:32:12 | FromDiscord | <leorize> I think we are reaching a bit too deep into offtopic, and should be moved thete |
15:32:23 | FromDiscord | <leorize> there, even |
15:57:22 | FromDiscord | <devlop_gaming> In reply to @battery.acid.bubblegum "they don't? people just": They do |
15:58:43 | FromDiscord | <griffith1deadly> In reply to @devlop_gaming "They do": show us statistics |
15:58:54 | FromDiscord | <devlop_gaming> In reply to @determiedmech1 "I have never had": Windows is the easiest os to install things on just a few clicks and you're done but on linux you need to know how to use commands which isn't required on windows and ya need to go through a lot of steps for some apps💀 |
15:58:58 | FromDiscord | <devlop_gaming> Too much |
15:59:15 | FromDiscord | <DetermiedNim1> "yay discord" |
15:59:21 | FromDiscord | <DetermiedNim1> "yay vivaldi" |
15:59:46 | FromDiscord | <DetermiedNim1> "yay steam" |
15:59:51 | FromDiscord | <griffith1deadly> "yay google-chrome" |
16:00:02 | FromDiscord | <leorize> let's keep offtopic stuff in #offtopic |
16:00:07 | FromDiscord | <DetermiedNim1> yeah this is true |
16:00:29 | FromDiscord | <DetermiedNim1> What are the nimvm cpu and os options for |
16:00:34 | FromDiscord | <DetermiedNim1> for the nim compiler |
16:01:09 | FromDiscord | <leorize> sounds like a way to test the VM for me, maybe a VM runner kind of thing |
16:02:17 | FromDiscord | <DetermiedNim1> could be |
16:05:01 | FromDiscord | <DetermiedNim1> sent a code paste, see https://play.nim-lang.org/#pasty=tBkrmpcC |
16:05:18 | FromDiscord | <DetermiedNim1> code is just `echo "hello world"` |
16:05:24 | FromDiscord | <DetermiedNim1> (edit) "world"`" => "world`" |
16:05:40 | FromDiscord | <DetermiedNim1> (edit) "world`" => "world"` with nim 2.2.4" |
16:06:53 | FromDiscord | <devlop_gaming> In reply to @leorize "let's keep offtopic stuff": Alr alr im not even supposed to be here anyway I got stuff to do |
16:07:45 | FromDiscord | <leorize> looks like it was tied to nimscript\: https://github.com/nim-lang/Nim/commit/e5281f9356916aeb13ed16c0abe4c5d943872aa8↵(@DetermiedNim1) |
16:08:24 | FromDiscord | <leorize> with https://github.com/nim-lang/Nim/pull/17953 merged it just looks like dead code now |
16:10:55 | FromDiscord | <DetermiedNim1> Ah |
16:26:47 | FromDiscord | <devlop_gaming> I didn't know nulkear was only a single header |
16:51:13 | FromDiscord | <Robyn [She/Her]> i feel like you don't really care about the topic and just arguing for the sake of it↵(@devlop_gaming) |
16:51:25 | FromDiscord | <Robyn [She/Her]> sorri↵(@leorize) |
16:53:03 | FromDiscord | <devlop_gaming> In reply to @Robyn "i feel like you": Can you shut up bru. I don't understand why y'all bring up conversations that already ended🤦♂️ |
16:57:10 | FromDiscord | <Robyn [She/Her]> sorry? 🤷♀️ |
17:03:58 | FromDiscord | <Phil> I'll just drop a general reminder for rule 1 in this chat:↵> Be respectful towards other people. |
17:06:23 | FromDiscord | <Robyn [She/Her]> i did try :p |
17:12:01 | FromDiscord | <devlop_gaming> In reply to @isofruit "I'll just drop a": And ya think idk that? |
17:13:45 | * | xet7 quit (Remote host closed the connection) |
17:14:09 | FromDiscord | <Phil> In reply to @devlop_gaming "And ya think idk": People forget |
17:17:34 | FromDiscord | <devlop_gaming> In reply to @isofruit "People forget": Ain't no forget we're all old enough here to know that rules exist💀 |
17:32:31 | FromDiscord | <Phil> In reply to @devlop_gaming "Ain't no forget we're": Wouldn't be the first occurrence, won't be the last, does not have anything to do with age. |
17:40:03 | FromDiscord | <devlop_gaming> In reply to @isofruit "Wouldn't be the first": Kinda does |
18:02:33 | * | jjido joined #nim |
18:34:24 | FromDiscord | <aintea> In reply to @devlop_gaming "It doesn't": - needing an account to install (needing to use osbcure commands in the terminal to manipulate registries to bypass this)↵- keylogger↵- ai everywhere for no reason↵- trackers, everywhere, microsoft knows what you type, what you see and what you want |
18:40:09 | FromDiscord | <nnsee> In reply to @devlop_gaming "And ya think idk": why the attitude? |
18:42:16 | FromDiscord | <aintea> sent a long message, see https://pasty.ee/cYSlXdUs |
18:42:47 | FromDiscord | <aintea> Linux is nowadays a good choice, some are literally copies of windows without any downside, installation is literally 1 click |
18:43:00 | FromDiscord | <aintea> and we don't need to download shady `exe`s from the internet, we have official stores lmao |
18:43:08 | FromDiscord | <devlop_gaming> Walking security riskscough |
18:43:16 | FromDiscord | <aintea> how so |
18:43:17 | FromDiscord | <aintea> develop |
18:43:18 | FromDiscord | <devlop_gaming> (edit) "riskscough" => "risks cough" |
18:43:44 | FromDiscord | <aintea> Because last time I checked you're the one getting crowdstriked while the xz exploit was caught in testing |
18:44:00 | FromDiscord | <devlop_gaming> The what |
18:44:08 | FromDiscord | <devlop_gaming> What are you tapping about |
18:44:11 | FromDiscord | <aintea> if you want to argue let's argue but let's also base ourselves on facts |
18:44:14 | FromDiscord | <devlop_gaming> (edit) "tapping" => "yapping" |
18:44:22 | FromDiscord | <aintea> In reply to @devlop_gaming "What are you yapping": the same thing you are |
18:44:27 | FromDiscord | <devlop_gaming> Im not even here to argue💀 |
18:44:32 | FromDiscord | <nnsee> guys, move it to #offtopic |
18:44:38 | FromDiscord | <aintea> neither am I, you are wrong and I am right |
18:44:41 | FromDiscord | <aintea> let's go to #offtopic |
18:44:52 | FromDiscord | <aintea> if you deem useful to read facts tho |
18:46:06 | FromDiscord | <aintea> someone's gone |
18:46:32 | FromDiscord | <aintea> by the way nimsuggest crashes way less often when configuring the LSP with the builtin in neovim |
18:46:35 | FromDiscord | <aintea> no idea why |
18:47:57 | FromDiscord | <devlop_gaming> In reply to @nnsee "guys, move it to": Im not even interested in this conversation 💀 |
18:48:05 | FromDiscord | <devlop_gaming> I came here bc I was pinged💀 |
18:48:07 | FromDiscord | <aintea> then do as if nothing was said |
18:48:14 | FromDiscord | <aintea> In reply to @devlop_gaming "I came here bc": yeah I ghost pinged you sry |
18:48:24 | FromDiscord | <aintea> I didn't finish my argument and accidentally sent |
18:48:26 | FromDiscord | <aintea> (edit) "sent" => "sent" |
18:55:45 | FromDiscord | <devlop_gaming> Well consider it finished cya |
19:02:12 | FromDiscord | <devlop_gaming> Ok so I have futhark and the bulkear header file but how do I use futhark to create a wrapper of nuklear? |
19:11:22 | FromDiscord | <DetermiedNim1> I think most of the setup is on the github no? |
19:13:13 | FromDiscord | <DetermiedNim1> sent a code paste, see https://play.nim-lang.org/#pasty=ZIhWrPKw |
19:13:25 | FromDiscord | <DetermiedNim1> oh wait you mean a wrapper nvm |
19:14:35 | FromDiscord | <DetermiedNim1> https://github.com/RowDaBoat/futhark-tutorial↵Hopefully this helps |
19:15:45 | FromDiscord | <DetermiedNim1> Specifically https://github.com/RowDaBoat/futhark-tutorial?tab=readme-ov-file#creating-a-wrapper |
19:18:43 | FromDiscord | <devlop_gaming> In reply to @determiedmech1 "when I was doing": This will allow me to just use the modules without needing to create a wrapper right? |
19:18:52 | FromDiscord | <DetermiedNim1> Uh |
19:18:54 | FromDiscord | <devlop_gaming> (edit) "modules" => "lib" |
19:18:56 | FromDiscord | <DetermiedNim1> Hopefully |
19:19:18 | FromDiscord | <devlop_gaming> What about that static: block part |
19:19:28 | FromDiscord | <DetermiedNim1> isn't there already a nuklear library for nim? |
19:20:30 | FromDiscord | <devlop_gaming> I forgot they problem with it but i couldn't use that one |
19:20:53 | FromDiscord | <DetermiedNim1> ah |
19:21:13 | FromDiscord | <devlop_gaming> So im gonna try another way |
19:23:19 | FromDiscord | <DetermiedNim1> In reply to @devlop_gaming "What about that static:": I have absolutely no idea ima be fr |
19:24:51 | FromDiscord | <devlop_gaming> I forgot how I installed futhark last time |
19:24:56 | FromDiscord | <DetermiedNim1> static linking? |
19:25:01 | FromDiscord | <DetermiedNim1> In reply to @devlop_gaming "I forgot how I": nimble? |
19:25:33 | FromDiscord | <DetermiedNim1> (edit) "linking?" => "linking?↵-# (In reply to my previous message)" |
19:26:34 | FromDiscord | <devlop_gaming> In reply to @determiedmech1 "nimble?": Obviously but there was some error and there was something I did that made it work |
19:28:01 | FromDiscord | <DetermiedNim1> oh |
19:36:36 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
19:43:29 | FromDiscord | <devlop_gaming> I keep running into build errors when I run nimble install futhark |
20:06:08 | * | jjido joined #nim |
20:07:00 | FromDiscord | <DetermiedNim1> What are the errors |
20:52:44 | FromDiscord | <user2m> is it possible to print a list of defines and compiler optiosn that a program was compiled with? |
21:55:26 | FromDiscord | <demotomohiro> In reply to @user2m "is it possible to": https://nim-lang.org/docs/compilesettings.html |
21:56:03 | FromDiscord | <devlop_gaming> In reply to @determiedmech1 "What are the errors": It looks like it's trying to use gcc |
21:59:16 | FromDiscord | <DetermiedNim1> Hmm |
21:59:25 | FromDiscord | <DetermiedNim1> I can download it fine |
21:59:47 | FromDiscord | <DetermiedNim1> Can you paste/screenshot the output here |
21:59:56 | FromDiscord | <devlop_gaming> Maybe i need to specify clang as the compiler?? |
22:00:08 | FromDiscord | <DetermiedNim1> Also you do have gcc installed right |
22:32:03 | * | xet7 joined #nim |
22:40:06 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |