<< 14-11-2025 >>

00:24:13FromDiscord<systemblue_2010> why Nim compiler write environment and user info in json
00:24:39FromDiscord<systemblue_2010> it can be traced by reverse engineers and analist
00:26:28Amun-Rahmm, it doesn't?
00:29:07FromDiscord<systemblue_2010> it writes but it's not include in compiled binary
00:29:13FromDiscord<systemblue_2010> it's nim's cache's metadata
00:29:41FromDiscord<systemblue_2010> I'm wondering about how to make malware with Nim(only for test)
00:29:49FromDiscord<systemblue_2010> it will be very powerful I guess
01:00:06*beholders_eye quit (Ping timeout: 256 seconds)
01:15:30FromDiscord<nasuray> In reply to @systemblue_2010 "I'm wondering about how": Totally just for test
02:38:41FromDiscord<ichigo7799> for the love of god don't; I'm banned from using nim at work entirely because people write malware with it, so now antivirus just assumes every single nim program (including the compiler) is a virus and reports me
02:38:55FromDiscord<ichigo7799> so by doing this you are making nim worse for everybody
02:40:16FromDiscord<ichigo7799> (edit) "for the love of god don't; I'm banned from using nim at work entirely because ... people" added "other"
03:11:43FromDiscord<mjsdev> sent a code paste, see https://play.nim-lang.org/#pasty=WXBPJMPZ
03:12:25FromDiscord<mjsdev> sent a code paste, see https://play.nim-lang.org/#pasty=AFBZImDa
03:12:40FromDiscord<mjsdev> (edit) "https://play.nim-lang.org/#pasty=gTbiRRFf" => "https://play.nim-lang.org/#pasty=FihFTtVY"
03:12:54FromDiscord<mjsdev> Is there a way to make those code blocks collapsable so people can click to expand and I don't flood the chat?
03:15:05FromDiscord<Jack S.> You could upload the snippets elsewhere and link them here.↵(@mjsdev)
03:33:44*rockcavera quit (Remote host closed the connection)
04:07:24*xet7 joined #nim
05:13:48*amadaluzia quit (Remote host closed the connection)
05:13:56*amadaluzia joined #nim
07:23:36*xet7 quit (Remote host closed the connection)
09:26:40*beholders_eye joined #nim
10:11:38*hygo quit (Quit: WeeChat 4.6.3)
11:53:26*xtr00 quit (Read error: Connection reset by peer)
11:56:34*xtr00 joined #nim
12:36:12*zero` quit (Ping timeout: 244 seconds)
12:37:27*zero` joined #nim
13:20:43*zero` quit (Ping timeout: 256 seconds)
13:41:40FromDiscord<TӨMΛ ☠> Does `deduplicate` proc remove occurences starting from first to last-1, or from second to last?
13:43:13*beholders_eye quit (Ping timeout: 264 seconds)
15:05:07FromDiscord<janakali> @TӨMΛ ☠ it's not in-place:↵> returns a new sequence without duplicates.
15:12:01*beholders_eye joined #nim
16:07:46*zero` joined #nim
18:03:55FromDiscord<vindaar> @pmunch here's your `range[T]` support: https://github.com/SciNim/Unchained/pull/55 (posting here as, well, it's not offtopic and #offtopic is busy right now)
18:14:50FromDiscord<Robyn [She/Her]> What does SciNim do? I know it's for maths but idk much else besides that
18:14:59FromDiscord<Robyn [She/Her]> Idk what SciPy does either so comparing it to that won't help ehe
18:15:49FromDiscord<vindaar> well, it's just a super tiny github org that contains different repositories related to "scientific computing". i.e. libraries for (usually) number crunching of the types of problems you'd encounter when doing applied / numerical stuff in science
18:16:37FromDiscord<Robyn [She/Her]> In reply to @vindaar "well, it's just a": So does this implement highly optimised versions of complex calculations then in pure Nim?
18:18:01FromDiscord<vindaar> The focus is mostly on _having_ implementations of algorithms, not necessarily highly optimized (just because that's a whole level of work; in some cases our code is more and in others less optimal). Note that many of these algorithms are not necessarily that complicated
18:20:04FromDiscord<Robyn [She/Her]> That's fair, makes sense
18:47:41*beholders_eye quit (Ping timeout: 256 seconds)
18:49:21*beholders_eye joined #nim
20:03:51FromDiscord<pmunch> In reply to @vindaar "<@392962235737047041> here's your `range[T]`": Awesome!
20:27:33*beholders_eye quit (Ping timeout: 252 seconds)
20:29:37*beholders_eye joined #nim
21:29:09FromDiscord<huncholane> Hey everyone. I am in search of the best programming language to with C level efficiency without shooting my foot. I started with C in college moved to python for money, and started to integrate rust for better speed + safety. I like rust a lot but want something even faster and don't trust myself with C code. Am I in the right place?
21:29:26FromDiscord<huncholane> (edit) removed "to"
21:40:24FromDiscord<aethrvmn> Yeah pretty much↵(@huncholane)
21:52:51*hygo joined #nim
21:58:38FromDiscord<systemblue_2010> In reply to @nasuray "Totally just for test": is it really only for test? lol↵it might be not~
22:00:33FromDiscord<systemblue_2010> all my libraries are considered to be loaded in malware
22:00:59FromDiscord<systemblue_2010> it might be use for my country or for me or for test
22:02:02FromDiscord<systemblue_2010> there's many possibility to be used
22:03:04FromDiscord<systemblue_2010> just kidding don't think serious
22:04:06FromDiscord<systemblue_2010> I think Nim needs AI/ML/Science/Math/Statistic Frameworks and Libraries↵because Nim's position is fast python, not easy modern C
22:05:59FromDiscord<systemblue_2010> game engine, application and web framework are good ↵but few people try to use Nim in that section↵many nim noobs want to use nim in Science/Math/Statistic ↵because Nim has similar syntax with python
22:06:01FromDiscord<Elegantbeef> If only it was positioned as a fast python and not a system programming language
22:06:28FromDiscord<systemblue_2010> yes nim has both position,↵fast python↵and easy modern safe C
22:06:44FromDiscord<systemblue_2010> but ↵C users hate Nim because of the python-like syntax
22:06:48FromDiscord<systemblue_2010> they love zigs
22:06:49FromDiscord<Elegantbeef> Mojo is "Python but fast"
22:06:58FromDiscord<Elegantbeef> Who cares about C users
22:06:59FromDiscord<systemblue_2010> mojo is closed source and beta
22:07:03FromDiscord<Elegantbeef> Nim is positioned as a modern pascal
22:07:09FromDiscord<systemblue_2010> really?
22:07:14FromDiscord<systemblue_2010> who use pascal?
22:07:55FromDiscord<Elegantbeef> Go is inspired by Oberon, Odin is also modern pascal
22:07:56FromDiscord<systemblue_2010> I'm using Nim for fast Python and modern, safe, easy C↵but I don't use Nim for modern Pascal...
22:08:06FromDiscord<systemblue_2010> um...
22:08:09FromDiscord<Elegantbeef> Nim is quite literally modern pascal
22:08:53FromDiscord<Elegantbeef> Subrange types, firstclass bitsets, distincts, modules, it's decidedly a pascal
22:10:00Amun-Raand C language is modern B language
22:10:06FromDiscord<systemblue_2010> but our other position is also fast python↵and many people want us to be fast python↵namuwiki(most famous korean wiki) says nim is fast python
22:10:24FromDiscord<Elegantbeef> Well it's not fast python
22:10:57FromDiscord<systemblue_2010> um...
22:11:06FromDiscord<systemblue_2010> but pascal is to minor
22:11:13FromDiscord<systemblue_2010> no one use pascal for real programming..
22:11:19Amun-Rait's not a literal pascal
22:11:32Amun-RaC is modern B, nobody uses B anymore
22:11:36FromDiscord<Elegantbeef> Ah yes we did it we discredited software to validate our stance
22:11:49FromDiscord<Elegantbeef> I would say it is a literal pascal though amun
22:11:56FromDiscord<Elegantbeef> That doesn't have to be a bad word \:D
22:12:16Amun-Rayes, but that does not mean we was to replace pascal with nim ;)
22:12:18FromDiscord<Elegantbeef> Ada is probably the most used pascal
22:12:22Amun-Ras/was/want/g
22:13:27FromDiscord<systemblue_2010> is pascal famous in europe?
22:13:36FromDiscord<Elegantbeef> I do not tend to see the "fast python" similarities. Nim is statically typed, compiled, has different syntax, and does not interop with Python natively
22:14:02Amun-Rathey say rust is modern c++ and some people think everyone want to replace c++ with rust
22:14:08FromDiscord<Elegantbeef> Well based off TIOBE Delphi is 8th place
22:14:09Amun-RaI think you are focusing on that
22:14:19FromDiscord<Elegantbeef> So yes people use pascal still
22:14:39FromDiscord<Elegantbeef> Me or them?
22:14:44Amun-Rasystem
22:14:56FromDiscord<systemblue_2010> in my country ↵i only heard pascal in programming language theory book
22:15:05FromDiscord<Elegantbeef> Delphi and Ada are both in TIOBE's top 20
22:15:19Amun-Ranim has pascal features; it does not mean we are focusing on pascal programmers to join us
22:15:57FromDiscord<systemblue_2010> only Java, C++, C#, Python, C, JS(TS), Kotlin, Dart, Go, Rust are use in my country z↵↵my country has small language pool
22:15:58FromDiscord<Elegantbeef> Of course not cause they have Ada and it actually works
22:16:14Amun-Rasystemblue_2010: *use* does not matter here
22:16:50FromDiscord<systemblue_2010> you mean ↵how many people use is not matter in this community right?
22:16:55Amun-Rac'mon, outside of flutter nobody uses dart
22:17:06FromDiscord<mjsdev> I came to Nim cause was interested in Pascal (personally)
22:17:24Amun-Rasystemblue_2010: I am trying to tell you for the nth time that's not the subject of the matter here
22:17:28FromDiscord<mjsdev> though modern Pascal is actually OKish too
22:17:43FromDiscord<Elegantbeef> Which modern dialect?
22:17:46FromDiscord<Elegantbeef> Freepascal?
22:17:54FromDiscord<systemblue_2010> I came to Nim while I was finding easy system programming language↵finding easy and modern, safe C
22:18:08FromDiscord<mjsdev> It's just that free pascal or whatever doesn't have some functionality that Delphi does, despite being able to put it in a "delphi"ish mode
22:18:22FromDiscord<systemblue_2010> what is delphi
22:18:25Amun-Rasystemblue_2010: and you can program in nim that way
22:18:30FromDiscord<systemblue_2010> I only heard about delphi .NET
22:19:12FromDiscord<systemblue_2010> but I hope Nim gets more popular
22:19:20Amun-Radelphi was (is?) a, let's say, pascal iode
22:19:22Amun-Raide*
22:19:37FromDiscord<systemblue_2010> ide?
22:19:38FromDiscord<mjsdev> That said, I don't know that you can make strict static typing "easy" for people who come from dynamic languages. As someone who grew up doing C and then basically did PHP for 20 years, coming back with Nim was (and still is) _rough_
22:20:04FromDiscord<Elegantbeef> Static typing is easy cause you should've been doing it the entire time \:)
22:20:13Amun-Rasystemblue_2010: https://en.wikipedia.org/wiki/Integrated_development_environment
22:20:23FromDiscord<mjsdev> I still just take for granted things I could do so easily in a dynamic language... so much so I'm now making a dynamic module for Nim 😛
22:20:26FromDiscord<mjsdev> lol
22:20:31FromDiscord<systemblue_2010> integrated development environment
22:21:01FromDiscord<systemblue_2010> In reply to @mjsdev "That said, I don't": you mean static type is hard?
22:21:13FromDiscord<systemblue_2010> for dynamic typed language developer?
22:21:23FromDiscord<mjsdev> It's not that it's "hard" -- it's that you just can't easily certain things
22:21:31FromDiscord<mjsdev> generics make it a bit easier
22:21:47FromDiscord<systemblue_2010> generics
22:21:48Amun-Rait's not hard
22:21:48FromDiscord<systemblue_2010> I love it
22:21:56FromDiscord<mjsdev> and/or auto type
22:22:13FromDiscord<Elegantbeef> Auto type is just generic
22:22:25FromDiscord<Elegantbeef> What is sorely needed is first class anonymous tagged unions like Leo's macro
22:22:47Amun-Raauto type as in type inference?
22:23:08FromDiscord<Elegantbeef> No auto as in a generic parameter that you use instead of `[T](arg: T)`
22:23:18Amun-RaI see
22:23:23FromDiscord<systemblue_2010> do you think what library nim needs most?
22:23:43FromDiscord<Elegantbeef> It doesn't need any libraries it needs tooling work the most
22:23:44FromDiscord<mjsdev> anything maintained would be nice
22:23:46FromDiscord<systemblue_2010> science/math? or GUI? or backend? web frontend? network?
22:23:49FromDiscord<systemblue_2010> cryptography?
22:24:04FromDiscord<systemblue_2010> In reply to @Elegantbeef "It doesn't need any": ide you mean
22:24:12FromDiscord<Elegantbeef> Nope
22:24:29FromDiscord<systemblue_2010> there's VSCode nim extensions and Kate LSP and Zed plugins
22:24:46FromDiscord<Elegantbeef> The compiler needs to be less buggy, it needs a borrow system, and the tooling needs to actually work
22:25:24FromDiscord<systemblue_2010> you mean rust-like borrow system?>
22:25:43FromDiscord<systemblue_2010> I think Nim needs it
22:26:21FromDiscord<mjsdev> More tutorials and better docs would be good
22:26:30FromDiscord<systemblue_2010> um...
22:26:43Amun-Raborrow checker == rust-like compile times ;)
22:29:07FromDiscord<Elegantbeef> But hey the focus is on IC which surely will solve all the problems
22:40:38*SchweinDeBurg quit (Ping timeout: 256 seconds)
22:40:40*SchweinD1 joined #nim
22:41:11*zero` quit (*.net *.split)
22:41:12*fallback quit (*.net *.split)
22:41:12*Lord_Nightmare quit (*.net *.split)
22:41:12*cm quit (*.net *.split)
22:41:12*bgupta quit (*.net *.split)
22:44:23*fallback joined #nim
22:44:23*Lord_Nightmare joined #nim
22:44:23*cm joined #nim
22:44:23*bgupta joined #nim
22:48:59*zero` joined #nim