<< 21-06-2025 >>

00:36:34FromDiscord<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:40FromDiscord<.tokyovigilante> In reply to @devlop_gaming "Is there any other": Do you mean convert or call?
00:39:53FromDiscord<devlop_gaming> In reply to @.tokyovigilante "Do you mean convert": Convert
00:40:35FromDiscord<.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:53FromDiscord<devlop_gaming> In reply to @.tokyovigilante "Not sure I know": I need dear imgui in nim
00:41:05FromDiscord<devlop_gaming> And the sdl3 backend
00:41:50FromDiscord<.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:20FromDiscord<devlop_gaming> Does cimgui have any errors in it?
00:44:30FromDiscord<.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:53FromDiscord<devlop_gaming> Does it have docking features?
00:47:52FromDiscord<.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:09FromDiscord<Elegantbeef> You can bring the lake to the horse but you cannot make it drink
00:48:52FromDiscord<.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:49FromDiscord<devlop_gaming> In reply to @.tokyovigilante "If you use the": What's wayland?
00:50:00FromDiscord<.tokyovigilante> Futhark can only process C headers, not C++ which is why you need cimgui.
00:50:21FromDiscord<.tokyovigilante> In reply to @devlop_gaming "What's wayland?": The most controversial protocol in Linux it seems 😉
00:50:43FromDiscord<devlop_gaming> In reply to @.tokyovigilante "The most controversial protocol": Another reason we go with windows
00:51:18FromDiscord<.tokyovigilante> In reply to @devlop_gaming "Another reason we go": Then godspeed to you my boy 😉
00:52:23FromDiscord<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:00FromDiscord<demotomohiro> And there are more example code in Nim manual: https://nim-lang.org/docs/manual.html#implementation-specific-pragmas-importcpp-pragma
01:10:02FromDiscord<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:11FromDiscord<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:08FromDiscord<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:31FromDiscord<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:45FromDiscord<Robyn [She/Her]> #- (i also use arch btw)
14:58:50FromDiscord<Robyn [She/Her]> (edit) "#-" => "-#"
14:59:13FromDiscord<devlop_gaming> Linux sucks
14:59:41FromDiscord<leorize> it is
15:00:14FromDiscord<leorize> but so is everything else
15:03:30FromDiscord<devlop_gaming> Define everything else
15:04:53*jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…)
15:08:16FromDiscord<leorize> it's quite literally everything
15:10:12FromDiscord<griffith1deadly> In reply to @devlop_gaming "Linux sucks": windows sucks
15:11:32FromDiscord<devlop_gaming> In reply to @griffith1deadly "windows sucks": It doesn't
15:11:42FromDiscord<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:39FromDiscord<griffith1deadly> windows sucks at anything
15:12:50FromDiscord<griffith1deadly> even game performance better at linux
15:13:19FromDiscord<griffith1deadly> (edit) "even game performance better at linux ... " added "(via proton)"
15:13:28FromDiscord<devlop_gaming> Then why do people always go with windows for gaming and coding then
15:13:56FromDiscord<devlop_gaming> I don't wanna have to go through a billion steps to install one thing 💀
15:14:08FromDiscord<griffith1deadly> In reply to @devlop_gaming "Then why do people": only thing that windows has and linux not - games with kernel anticheat
15:14:17FromDiscord<griffith1deadly> which is malware
15:14:19FromDiscord<rakgew> for gaming\: I would assume the market.↵for coding I always go for linux!
15:16:16FromDiscord<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:44FromDiscord<leorize> the same reason no one actually code in nim↵(@devlop_gaming)
15:16:44FromDiscord<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:52FromDiscord<devlop_gaming> In reply to @leorize "the same reason no": No it's nkt💀
15:17:01FromDiscord<devlop_gaming> (edit) "nkt💀" => "not💀"
15:17:33FromDiscord<devlop_gaming> In reply to @rakgew "plus win has a": I don't see a problem here
15:20:13FromDiscord<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:41FromDiscord<leorize> even MS knows it, that's why they added Linux to Windows
15:30:06FromDiscord<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:53FromDiscord<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:01FromDiscord<leorize> most people don't know what an OS is
15:31:13FromDiscord<griffith1deadly> just imagine - 99% of game servers of games that you know runs on linux
15:31:38FromDiscord<DetermiedNim1> Literally everything i use my laptop for (gaming, coding, school) has been easier or the same on linux
15:32:12FromDiscord<leorize> I think we are reaching a bit too deep into offtopic, and should be moved thete
15:32:23FromDiscord<leorize> there, even
15:57:22FromDiscord<devlop_gaming> In reply to @battery.acid.bubblegum "they don't? people just": They do
15:58:43FromDiscord<griffith1deadly> In reply to @devlop_gaming "They do": show us statistics
15:58:54FromDiscord<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:58FromDiscord<devlop_gaming> Too much
15:59:15FromDiscord<DetermiedNim1> "yay discord"
15:59:21FromDiscord<DetermiedNim1> "yay vivaldi"
15:59:46FromDiscord<DetermiedNim1> "yay steam"
15:59:51FromDiscord<griffith1deadly> "yay google-chrome"
16:00:02FromDiscord<leorize> let's keep offtopic stuff in #offtopic
16:00:07FromDiscord<DetermiedNim1> yeah this is true
16:00:29FromDiscord<DetermiedNim1> What are the nimvm cpu and os options for
16:00:34FromDiscord<DetermiedNim1> for the nim compiler
16:01:09FromDiscord<leorize> sounds like a way to test the VM for me, maybe a VM runner kind of thing
16:02:17FromDiscord<DetermiedNim1> could be
16:05:01FromDiscord<DetermiedNim1> sent a code paste, see https://play.nim-lang.org/#pasty=tBkrmpcC
16:05:18FromDiscord<DetermiedNim1> code is just `echo "hello world"`
16:05:24FromDiscord<DetermiedNim1> (edit) "world"`" => "world`"
16:05:40FromDiscord<DetermiedNim1> (edit) "world`" => "world"` with nim 2.2.4"
16:06:53FromDiscord<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:45FromDiscord<leorize> looks like it was tied to nimscript\: https://github.com/nim-lang/Nim/commit/e5281f9356916aeb13ed16c0abe4c5d943872aa8↵(@DetermiedNim1)
16:08:24FromDiscord<leorize> with https://github.com/nim-lang/Nim/pull/17953 merged it just looks like dead code now
16:10:55FromDiscord<DetermiedNim1> Ah
16:26:47FromDiscord<devlop_gaming> I didn't know nulkear was only a single header
16:51:13FromDiscord<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:25FromDiscord<Robyn [She/Her]> sorri↵(@leorize)
16:53:03FromDiscord<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:10FromDiscord<Robyn [She/Her]> sorry? 🤷‍♀️
17:03:58FromDiscord<Phil> I'll just drop a general reminder for rule 1 in this chat:↵> Be respectful towards other people.
17:06:23FromDiscord<Robyn [She/Her]> i did try :p
17:12:01FromDiscord<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:09FromDiscord<Phil> In reply to @devlop_gaming "And ya think idk": People forget
17:17:34FromDiscord<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:31FromDiscord<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:03FromDiscord<devlop_gaming> In reply to @isofruit "Wouldn't be the first": Kinda does
18:02:33*jjido joined #nim
18:34:24FromDiscord<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:09FromDiscord<nnsee> In reply to @devlop_gaming "And ya think idk": why the attitude?
18:42:16FromDiscord<aintea> sent a long message, see https://pasty.ee/cYSlXdUs
18:42:47FromDiscord<aintea> Linux is nowadays a good choice, some are literally copies of windows without any downside, installation is literally 1 click
18:43:00FromDiscord<aintea> and we don't need to download shady `exe`s from the internet, we have official stores lmao
18:43:08FromDiscord<devlop_gaming> Walking security riskscough
18:43:16FromDiscord<aintea> how so
18:43:17FromDiscord<aintea> develop
18:43:18FromDiscord<devlop_gaming> (edit) "riskscough" => "risks cough"
18:43:44FromDiscord<aintea> Because last time I checked you're the one getting crowdstriked while the xz exploit was caught in testing
18:44:00FromDiscord<devlop_gaming> The what
18:44:08FromDiscord<devlop_gaming> What are you tapping about
18:44:11FromDiscord<aintea> if you want to argue let's argue but let's also base ourselves on facts
18:44:14FromDiscord<devlop_gaming> (edit) "tapping" => "yapping"
18:44:22FromDiscord<aintea> In reply to @devlop_gaming "What are you yapping": the same thing you are
18:44:27FromDiscord<devlop_gaming> Im not even here to argue💀
18:44:32FromDiscord<nnsee> guys, move it to #offtopic
18:44:38FromDiscord<aintea> neither am I, you are wrong and I am right
18:44:41FromDiscord<aintea> let's go to #offtopic
18:44:52FromDiscord<aintea> if you deem useful to read facts tho
18:46:06FromDiscord<aintea> someone's gone
18:46:32FromDiscord<aintea> by the way nimsuggest crashes way less often when configuring the LSP with the builtin in neovim
18:46:35FromDiscord<aintea> no idea why
18:47:57FromDiscord<devlop_gaming> In reply to @nnsee "guys, move it to": Im not even interested in this conversation 💀
18:48:05FromDiscord<devlop_gaming> I came here bc I was pinged💀
18:48:07FromDiscord<aintea> then do as if nothing was said
18:48:14FromDiscord<aintea> In reply to @devlop_gaming "I came here bc": yeah I ghost pinged you sry
18:48:24FromDiscord<aintea> I didn't finish my argument and accidentally sent
18:48:26FromDiscord<aintea> (edit) "sent" => "sent"
18:55:45FromDiscord<devlop_gaming> Well consider it finished cya
19:02:12FromDiscord<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:22FromDiscord<DetermiedNim1> I think most of the setup is on the github no?
19:13:13FromDiscord<DetermiedNim1> sent a code paste, see https://play.nim-lang.org/#pasty=ZIhWrPKw
19:13:25FromDiscord<DetermiedNim1> oh wait you mean a wrapper nvm
19:14:35FromDiscord<DetermiedNim1> https://github.com/RowDaBoat/futhark-tutorial↵Hopefully this helps
19:15:45FromDiscord<DetermiedNim1> Specifically https://github.com/RowDaBoat/futhark-tutorial?tab=readme-ov-file#creating-a-wrapper
19:18:43FromDiscord<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:52FromDiscord<DetermiedNim1> Uh
19:18:54FromDiscord<devlop_gaming> (edit) "modules" => "lib"
19:18:56FromDiscord<DetermiedNim1> Hopefully
19:19:18FromDiscord<devlop_gaming> What about that static: block part
19:19:28FromDiscord<DetermiedNim1> isn't there already a nuklear library for nim?
19:20:30FromDiscord<devlop_gaming> I forgot they problem with it but i couldn't use that one
19:20:53FromDiscord<DetermiedNim1> ah
19:21:13FromDiscord<devlop_gaming> So im gonna try another way
19:23:19FromDiscord<DetermiedNim1> In reply to @devlop_gaming "What about that static:": I have absolutely no idea ima be fr
19:24:51FromDiscord<devlop_gaming> I forgot how I installed futhark last time
19:24:56FromDiscord<DetermiedNim1> static linking?
19:25:01FromDiscord<DetermiedNim1> In reply to @devlop_gaming "I forgot how I": nimble?
19:25:33FromDiscord<DetermiedNim1> (edit) "linking?" => "linking?↵-# (In reply to my previous message)"
19:26:34FromDiscord<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:01FromDiscord<DetermiedNim1> oh
19:36:36*jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…)
19:43:29FromDiscord<devlop_gaming> I keep running into build errors when I run nimble install futhark
20:06:08*jjido joined #nim
20:07:00FromDiscord<DetermiedNim1> What are the errors
20:52:44FromDiscord<user2m> is it possible to print a list of defines and compiler optiosn that a program was compiled with?
21:55:26FromDiscord<demotomohiro> In reply to @user2m "is it possible to": https://nim-lang.org/docs/compilesettings.html
21:56:03FromDiscord<devlop_gaming> In reply to @determiedmech1 "What are the errors": It looks like it's trying to use gcc
21:59:16FromDiscord<DetermiedNim1> Hmm
21:59:25FromDiscord<DetermiedNim1> I can download it fine
21:59:47FromDiscord<DetermiedNim1> Can you paste/screenshot the output here
21:59:56FromDiscord<devlop_gaming> Maybe i need to specify clang as the compiler??
22:00:08FromDiscord<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…)