<< 29-09-2025 >>

00:10:22*Mister_Magister quit (Quit: bye)
01:39:54*janAkali joined #nim
02:16:30FromDiscord<Elegantbeef> @ieltanI mean you do not need `proc(arg: lent T)` as nim already implicitly does by reference for types that make sense
02:41:12*rockcavera quit (Remote host closed the connection)
02:58:59*derpydoo joined #nim
03:26:29*janAkali quit (Quit: Client closed)
03:49:49*derpydoo quit (Ping timeout: 264 seconds)
04:12:51FromDiscord<Laylie> i think what nim needs is a native gui framework that implements liquid glass
04:47:45*derpydoo joined #nim
05:20:34FromDiscord<microssd.> I don't know about you guys, but I LOVE NIM!
05:34:03FromDiscord<nevillegg> In reply to @battery.acid.bubblegum "Nim uses non-British English,": We need british one 🔥
05:34:57FromDiscord<nevillegg> In reply to @yedco.12 "this is funny lol": I wonder how people use vim..... (I know vim, I use neovim)
05:35:05FromDiscord<nevillegg> vim is like really old
05:41:13FromDiscord<microssd.> In reply to @nevillegg "I wonder how people": I use Micro editor and Zed
05:42:21FromDiscord<yedco.12> In reply to @nevillegg "I wonder how people": It's not vim
05:42:26FromDiscord<microssd.> no need for strange key combinations
05:42:26FromDiscord<yedco.12> It's helix
07:04:49*Mister_Magister joined #nim
07:17:40FromDiscord<systemblue_whale> In reply to @nevillegg "vim is like really": I wonder how people use neovim↵neovim is too hard to use... QQ↵I'm using Kate
07:21:22FromDiscord<nevillegg> In reply to @yedco.12 "It's not vim": emacs..?
07:21:27FromDiscord<nevillegg> In reply to @yedco.12 "It's helix": oh
07:21:41FromDiscord<nevillegg> In reply to @systemblue_whale "I wonder how people": vscodium, geany good.
07:23:47FromDiscord<systemblue_whale> sent a long message, see https://pasty.ee/jpURAZYJ
07:24:47FromDiscord<systemblue_whale> (edit) "https://pasty.ee/PPdLhlgw" => "https://pasty.ee/dAmLSJcm"
07:28:03FromDiscord<nevillegg> In reply to @systemblue_whale "hey are you elixer": nasm.....
07:28:12FromDiscord<nevillegg> ehh
07:28:20FromDiscord<nevillegg> asm is kinda hard
07:28:57FromDiscord<systemblue_whale> Assembly is easy to learn
07:29:00FromDiscord<systemblue_whale> but hard to use
07:30:40FromDiscord<systemblue_whale> it is good to learn assembly to learn object, array, while, for, if by low level's view
07:31:15FromDiscord<systemblue_whale> In reply to @nevillegg "asm is kinda hard": It's easier then C to learn
07:45:50FromDiscord<nevillegg> In reply to @systemblue_whale "It's easier then C": true
08:05:57FromDiscord<yedco.12> In reply to @systemblue_whale "hey are you elixer": Yes elixir is worh to learn
08:06:06FromDiscord<yedco.12> (edit) "worh" => "worth"
08:07:54FromDiscord<systemblue_whale> why?↵when can i use elixer?
08:08:00FromDiscord<systemblue_whale> (edit) "elixer?" => "elixir?"
08:08:03FromDiscord<yedco.12> Anywhere
08:08:15FromDiscord<yedco.12> Embedded, desktop,web
08:08:20FromDiscord<yedco.12> But mostly web
08:08:41FromDiscord<yedco.12> Even for machine learning
08:08:53FromDiscord<yedco.12> But mostly web
08:10:10FromDiscord<yedco.12> There is a framework called phoenix
08:10:37FromDiscord<yedco.12> (edit) "phoenix" => "phoenix, then you have otp and what not"
08:10:39FromDiscord<systemblue_whale> is it Unix?>
08:10:54FromDiscord<yedco.12> Cross platform
08:11:04FromDiscord<systemblue_whale> just kidding
08:11:09FromDiscord<yedco.12> You can use elixir anywhere
08:11:12FromDiscord<systemblue_whale> phoenix(Unix) lol
08:11:52FromDiscord<systemblue_whale> In reply to @yedco.12 "You can use elixir": but I heard elixir is only use in network system ↵My friend said that it's Domain Specific Language lol
08:12:04FromDiscord<systemblue_whale> He thinks PHP is DSL too
08:13:41FromDiscord<systemblue_whale> it's only used for some domain and it might be DSL?
08:16:00FromDiscord<yedco.12> I mean elixir can be used anywhere
08:27:45FromDiscord<yedco.12> You need to read the documentary of elixir ,on youtube
08:27:55FromDiscord<yedco.12> (edit) "read" => "watch"
08:52:44FromDiscord<kiloneie> Why does the nimlangserver take like 5 minutes to execute my F6 compile and run, 95% of the time. Takes 5 min startup warmup... Any way to speed this up ?
09:59:44FromDiscord<odexine> In reply to @yedco.12 "You can use elixir": Can you substantiate your claim?
10:14:00FromDiscord<yedco.12> Yeah
10:14:47FromDiscord<yedco.12> https://github.com/h4cc/awesome-elixir
10:16:42FromDiscord<odexine> The only thing on embedded here is Nerves and you can’t run that on true bare metal
10:16:59FromDiscord<odexine> So is it really an everything-language like Nim is
10:17:18FromDiscord<yedco.12> No, but can be, if you interop
10:18:04FromDiscord<yedco.12> You thar using nifs
10:18:10FromDiscord<yedco.12> (edit) "thar" => "that"
10:19:22FromDiscord<yedco.12> (edit) "You ... that" added "do"
10:20:00FromDiscord<yedco.12> Elixir is really powerful, when it comes to concurrency
10:20:16FromDiscord<yedco.12> Its better than concurrency model of go
10:20:28FromDiscord<yedco.12> (edit) "Its" => "It has"
10:20:43FromDiscord<yedco.12> Everything in elixir is immutable
10:20:58FromDiscord<yedco.12> You don't share two states
10:21:02FromDiscord<yedco.12> You copy them
10:21:17FromDiscord<odexine> I know
10:21:23FromDiscord<odexine> I use elixir
10:21:33FromDiscord<yedco.12> Oh okay, then
10:21:35FromDiscord<odexine> It’s just there are certain cases where you just can’t use it
10:21:52FromDiscord<yedco.12> Operating system kernel ig
10:22:02FromDiscord<odexine> And I don’t think it’s fair to call it an everything-language when it’s limited a good bit more than Nim or so
10:22:25FromDiscord<yedco.12> But you can add it to other languages
10:22:50FromDiscord<yedco.12> And now we have gleam
10:22:55FromDiscord<odexine> In reply to @yedco.12 "But you can add": I kinda wouldn’t count that
10:23:04FromDiscord<yedco.12> Gleam and elixir is a good combination
10:23:13FromDiscord<odexine> In reply to @yedco.12 "And now we have": Experimental LLVM support but then is it really still BEAM
10:23:26FromDiscord<odexine> Poor FFI for that backend as well
10:23:29FromDiscord<yedco.12> Yeahh, it will change after some time
10:23:37FromDiscord<odexine> Sure but we’re talking about now
10:23:41FromDiscord<yedco.12> Because it's just a new language
10:24:09FromDiscord<yedco.12> Yeah, we have to wait until elixir goes mainstream
10:24:25FromDiscord<yedco.12> Right now it's not even, so popular
10:24:43FromDiscord<yedco.12> But companies use it
10:24:55FromDiscord<odexine> Sure but that’s the same issue with Nim, we’ve been waiting for years and it doesn’t really seem to have come
10:25:04FromDiscord<yedco.12> Yeahh 😭
10:25:13FromDiscord<odexine> In Elixir’s case it’s better I would say yes
10:25:19FromDiscord<yedco.12> Yess
10:25:48FromDiscord<yedco.12> When people get to know elixir has better concurrency model and safer than go, they would shift
10:25:50FromDiscord<odexine> But I don’t know, elixir is not an everywhere language for me, not until I can static compile it in some way, be it bundling in the runtime or whatever else
10:26:07FromDiscord<yedco.12> In reply to @odexine "But I don’t know,": Try creating desktop app
10:26:11FromDiscord<yedco.12> Using elixir
10:26:20FromDiscord<odexine> Sounds like a pain already
10:26:32FromDiscord<odexine> I remember the ecosystem a few months ago I doubt it’s improved
10:26:34FromDiscord<yedco.12> https://github.com/elixir-desktop/desktop
10:26:39FromDiscord<odexine> Okay Jesus
10:26:41FromDiscord<odexine> Wow
10:26:57FromDiscord<odexine> Okay no
10:27:02FromDiscord<yedco.12> Without phoenix it wouldn't be possible
10:27:21FromDiscord<odexine> Call me when I can do it without web tech lol
10:27:32FromDiscord<yedco.12> 😂
10:27:58FromDiscord<yedco.12> You need web tech always
10:28:13FromDiscord<yedco.12> You could try scenic for gui
10:28:28FromDiscord<yedco.12> But works only on linux and macos
11:08:31*derpydoo quit (Quit: derpydoo)
12:35:20*beholders_eye joined #nim
12:36:53FromDiscord<aethrvmn> In reply to @odexine "Call me when I": Windows uses react native for their start menu, therefore it's ok
12:45:21FromDiscord<hacedor_de_cosas> In reply to @Mister_Magister "not really, i'm looking": https://dlang.org/
12:57:01*beholders_eye quit (Ping timeout: 264 seconds)
14:02:00FromDiscord<adokitkat> sent a code paste, see https://play.nim-lang.org/#pasty=pJDIytVs
14:02:15FromDiscord<adokitkat> sent a code paste, see https://play.nim-lang.org/#pasty=ZjpoDePF
14:02:59FromDiscord<tauruuuuuus> this smells like a c compiler issue, did you update gcc?
14:04:47FromDiscord<adokitkat> In reply to @tauruuuuuus "this smells like a": This does not use system gcc but gcc toolchain which comes with esp-idf, so yeah that is newer than it used to be
14:05:26FromDiscord<tauruuuuuus> I believe gcc 14/15 (I forget which one) became really picky with pointer types, can you post the nim and gcc versions?
14:07:16FromDiscord<tauruuuuuus> I believe nim 2.2.4 fixed most of those
14:07:30FromDiscord<adokitkat> In reply to @tauruuuuuus "I believe gcc 14/15": Nim v2.2.4 (I tried multiple versions, like 1.6.x, the same/similar results) and gcc id 15.1.0
14:07:45FromDiscord<adokitkat> (edit) "id" => "is version"
14:08:39FromDiscord<adokitkat> I think you're right it might be due to a newer gcc version
14:08:46FromDiscord<tauruuuuuus> easy "fix" (not really) is to use -Werror=incompatible-pointer-types to regain the old semantics (pre gcc 14)
14:09:16FromDiscord<tauruuuuuus> or downgrade gcc, I would suggest you to open a forum thread or issue on github tho
14:09:24FromDiscord<tauruuuuuus> (edit) "tho" => "tho, too"
14:09:45FromDiscord<adokitkat> In reply to @tauruuuuuus "easy "fix" (not really)": doesn't seem to work unfortunatelly
14:10:10FromDiscord<kiloneie> sent a code paste, see https://play.nim-lang.org/#pasty=iYlqJJnz
14:11:13FromDiscord<tauruuuuuus> In reply to @adokitkat "doesn't seem to work": passed it through passC?
14:11:30FromDiscord<adokitkat> "-Wno-incompatible-pointer-types" works
14:11:50FromDiscord<tauruuuuuus> yup sorry, I miswrote 😛
14:12:34FromDiscord<adokitkat> no problem 😄
14:12:40FromDiscord<adokitkat> thank you!
14:13:31FromDiscord<tauruuuuuus> short term I think that's your best bet, then I would also test:↵- building nim devel and checking if it fixes the issue without -Wno...↵- check with a downgraded gcc↵- open an issue if #1 is not enough
14:13:47FromDiscord<tauruuuuuus> In reply to @adokitkat "thank you!": happy to help another embedded friend 😄
14:17:08FromDiscord<kiloneie> sent a code paste, see https://play.nim-lang.org/#pasty=KIvXNCfX
14:20:22FromDiscord<Laylie> in a template result and return are the caller's
14:21:33FromDiscord<adokitkat> sent a long message, see https://pasty.ee/oBfWkxPt
14:22:50FromDiscord<kiloneie> In reply to @Laylie "in a template result": I am sure that means something. My brain cannot process that atm.
14:24:05FromDiscord<Laylie> templates are ast copy-paste, so if you use result or return inside a template it's as if you had written them in the proc directly
14:28:33FromDiscord<kiloneie> Oh yeah, envision that the whole template structure doesn't exist, now result and return are trying to do what at top-level ?
14:30:01FromDiscord<0xfab_10> In reply to @odexine "But I don’t know,": https://github.com/spawnfest/bakeware ?
14:41:16*beholders_eye joined #nim
15:43:58FromDiscord<kiloneie> Lazy me, is there a way of compilerFlags, pragma, to make declarations mandatory ?
15:58:14FromDiscord<yedco.12> In reply to @fabric.input_output "https://github.com/spawnfest/bakeware ?": Or you could use escript
15:58:31*beholders_eye quit (Ping timeout: 240 seconds)
15:58:46FromDiscord<yedco.12> For some time ig I'll be going deep into elixir
16:04:32FromDiscord<lainlaylie> In reply to @kiloneie "Lazy me, is there": can you give an example of what you want to make mandatory
16:05:21FromDiscord<lainlaylie> and what you want to be disallowed
16:09:58FromDiscord<nevillegg> In reply to @adokitkat "Hi guys. I need": Hey. I have a esp32
16:23:54*th3r00t quit (Ping timeout: 248 seconds)
16:29:21FromDiscord<yedco.12> In reply to @nevillegg "Hey. I have a": Good for you
16:35:34FromDiscord<yedco.12> One thing i love about nim is, you can create your own iterators
17:03:32FromDiscord<yedco.12> One thing i love about nim is, you can create your own iterators
19:00:42FromDiscord<kiloneie> well `var myVar = 10` #error. but `var myVar: int` and or `var myVar: int = 10` #ok
19:01:05FromDiscord<kiloneie> @lainlaylie
19:10:12FromDiscord<lainlaylie> you want to make it mandatory to explicitly specify the type, i don't know of any flag that does that
19:38:59FromDiscord<kiloneie> It helps me see what im working with faster. And i THINK, it helps nimlangserver, run faster, by not doing all that xD...
20:13:48FromDiscord<lainlaylie> i doubt it makes a difference to nimlangserver, either way the compiler knows what it is and nimlangserver is just relaying that information to you
20:37:27*cm quit (Ping timeout: 244 seconds)
20:43:24*cm joined #nim
21:40:14*hygo joined #nim
23:25:01FromDiscord<yedco.12> In reply to @odexine "Call me when I": Try wxwidgets library of erlang in elixir
23:25:12FromDiscord<yedco.12> (edit) removed "library of erlang in elixir"