| 01:22:24 | * | tokyovigilante quit (Ping timeout: 260 seconds) |
| 01:40:24 | * | xet7 quit (Ping timeout: 265 seconds) |
| 01:52:35 | * | xet7 joined #nim |
| 03:22:30 | FromDiscord | <nevillegg> In reply to @kiloneie "C is an ancient": I learned c++ first. Was worth it. If you think it is anicent, there's updates to this language. |
| 03:23:15 | FromDiscord | <nevillegg> @leorize ok |
| 03:23:21 | FromDiscord | <nevillegg> In reply to @Elegantbeef "*I'd never see chatgpt": Ok |
| 05:35:34 | FromDiscord | <kiloneie> In reply to @nevillegg "I learned c++ first.": Yeah if you work with only modern c++, then sure. But when people have to work with c and c++, they are NOT working with the modern ones, especially C. |
| 05:38:28 | FromDiscord | <kiloneie> sent a long message, see https://pasty.ee/QTNHOvmI |
| 06:11:52 | FromDiscord | <I_m_glad> image.png https://media.discordapp.net/attachments/371759389889003532/1426452218114080830/image.png?ex=68eb46a6&is=68e9f526&hm=0f8dec9d5c7deeeafc1fca6f2284db14fee8ba94b81e5d6256769457aeb08928& |
| 06:12:13 | FromDiscord | <I_m_glad> sometimes the word "ancient" whispers to me "centuries old" lol↵↵(@kiloneie) |
| 06:16:54 | FromDiscord | <kiloneie> In the world of programming, that is not even 100 years old, yeah, that is ancient. |
| 06:18:32 | FromDiscord | <I_m_glad> 1. runtime-less standalone program? your program doesn't depend on anything? does that refers to not having dynamic linking? Oh I'm very bad at it, I forget it always, I guess it's not dl but I don't understand..↵2. I never really tried learning macro after C, cause I heard rust has them scala has them and now I'm hearing nim is macro heavy.. C's macro was easy to learn at base level but I discovered practically they are horrible I gue |
| 06:31:20 | FromDiscord | <I_m_glad> agree for programming but the history of computer science, idk, is probably 100years or more.. ↵↵(@kiloneie) |
| 06:38:26 | FromDiscord | <kiloneie> In reply to @I_m_glad "1. runtime-less standalone program?": Not sure what you are refering to, but if somehow my sections, they are the simplest templates possible, `template section(name: string, body: untyped) = body`. If this confuses people, then they have some serious problems. |
| 06:41:23 | FromDiscord | <I_m_glad> well now that's a challenge to me.. ↵thank god I didn't learn it yet. ↵(@kiloneie) |
| 06:49:56 | FromDiscord | <nevillegg> In reply to @kiloneie "Yeah if you work": aw. but aint doom was in C? |
| 07:07:06 | * | tokyovigilante joined #nim |
| 10:14:19 | * | beholders_eye joined #nim |
| 11:48:54 | FromDiscord | <unawakennx> yo? |
| 12:28:48 | * | LuckyMan joined #nim |
| 15:41:48 | * | xtr00 quit (Read error: Connection reset by peer) |
| 15:46:32 | * | xtr00 joined #nim |
| 16:39:13 | FromDiscord | <kiloneie> Is it better to specify `int64` or to just use `int` ? (any compiler difference... ?) |
| 16:59:23 | FromDiscord | <nnsee> In reply to @kiloneie "Is it better to": depends on what you want to do? they're different types. `int` is the size of the address width, so it's `int64` on 64-bit systems and `int32` on 32-bit systems. `int64` is always 64 bits wide (so using `int64` on a 32-bit system incurs a penalty cost) |
| 17:01:07 | FromDiscord | <nnsee> penalty cost? meant to say performance penalty |
| 17:02:36 | FromDiscord | <kiloneie> Why are people using float64, instead of float though |
| 17:03:53 | FromDiscord | <__jont__> Precision Id imagine |
| 17:05:03 | FromDiscord | <nnsee> if i recall correctly, float always maps to float64 on all platforms |
| 17:05:11 | FromDiscord | <nnsee> so.., dunno |
| 17:05:21 | FromDiscord | <kiloneie> This is why i asked... |
| 17:05:41 | FromDiscord | <kiloneie> and why my brain gravitated towards making all int into int64, knowing that it changes, but forgot about float |
| 17:05:51 | FromDiscord | <kiloneie> This makes me conflicted... |
| 17:06:15 | FromDiscord | <nnsee> In reply to @kiloneie "and why my brain": why? what problem are you trying to solve? do you specifically need 64-bit integers even on 32-bit systems? |
| 17:07:17 | FromDiscord | <kiloneie> No, just brain bother. |
| 17:07:33 | FromDiscord | <kiloneie> I will correct any int64s i might have used to int |
| 17:12:08 | FromDiscord | <mitranim> I've experienced int32/uint32 overflows/underflows as a user, where devs assumed it couldn't happen. So it's nicer to default to a wider type, narrowing where you know _for sure_ that it doesn't matter, either because you're going from float64 to float32 where precision is not essential, or because of using int32 where it's bounded to a lower limit via additional logic |
| 17:12:53 | FromDiscord | <mitranim> (edit) "I've experienced int32/uint32 overflows/underflows as" => "sent" | "user, where devs assumed it couldn't happen. So it's nicer to default to a wider type, narrowing where you know _for sure_ that it doesn't matter, either because you're going from float64 to float32 where precision is not essential, or because of using int32 where it's bounded to a lower limit via additional logic" => "long message, see https://pasty.ee/mqPmwAu |
| 17:14:03 | FromDiscord | <nnsee> why are you out here using a 32-bit system? :p |
| 17:14:18 | FromDiscord | <nnsee> unless you mean they've specifically used int32 for their integers which would be an odd choice |
| 17:14:29 | FromDiscord | <kiloneie> Well, i just caused half my walls to be missing twice, out of embarrassment i deleted the first issue documenting the reason, then i repeated the same mistake xD... Forgetting things is very human. |
| 17:15:18 | FromDiscord | <nnsee> never delete an issue out of embarrassment. bugs happen. "embarrassing" bugs happen. i shipped something really embarrassing to production last week. take it as a learning moment rather than some personal failure |
| 17:16:10 | FromDiscord | <mitranim> 64-bit systems can perform better when using 32-bit numbers where wider values don't really buy you anything (in dense arrays such as SoA) |
| 17:16:27 | FromDiscord | <mitranim> (edit) "64-bit systems can perform better when using 32-bit numbers where wider values don't really buy you anything (in ... dense" added "larger" |
| 17:16:48 | FromDiscord | <mitranim> (edit) "64-bit systems can perform better ... whenmore" added "with 32-bit values" | "32-bit numbers where wider values don't" => "more than 32 bits doesn't" |
| 17:16:59 | FromDiscord | <kiloneie> In reply to @nnsee "never delete an issue": 99% of the time, i document everything in my PRIVATE notes to MYSELF, but for some reason, i decided to delete this one, it wasn't even that bad... i just used image.width and height for placement, and moved image loading to AFTER it, in another module... spent probably 3 hours total on this... 2 + 1... <.< |
| 17:17:19 | FromDiscord | <mitranim> (edit) "SoA)" => "SoA patterns common in games)" |
| 17:17:43 | FromDiscord | <kiloneie> In reply to @mitranim "64-bit systems can perform": This FORCED me to finally ditch Windows XP, 64 bit was not having it with a quad core Q6600 |
| 17:17:57 | FromDiscord | <kiloneie> i'd probably be on XP for a few years longer otherwise |
| 17:18:19 | FromDiscord | <kiloneie> It is hard to let go of things. Now i am fluid... |
| 17:18:27 | FromDiscord | <nnsee> In reply to @mitranim "64-bit systems can perform": you would guess that in such scenarios, the developer has chosen to use int32 deliberately and considered the fact that it might not be precise enough for that use case |
| 17:19:06 | FromDiscord | <kiloneie> Win 7 also, i couldn't even install it, keyboard and mouse wouldn't work, USB ones, with Ryzen. i know offtopic |
| 17:19:26 | FromDiscord | <mitranim> I'd guess sometimes errors happen just because they're using a legacy language (C++) and forget that "int" doesn't mean a machine word |
| 17:19:50 | FromDiscord | <nnsee> true |
| 17:20:38 | FromDiscord | <kiloneie> My game and game engine, is not hoping to be really high performance, maybe just going the safer approach would be better. I am prone to such mistakes... |
| 17:20:39 | FromDiscord | <nnsee> btw did you first look into nim because your name ends with nim? |
| 17:20:43 | FromDiscord | <nnsee> kind of an interesting coincidence |
| 17:21:35 | FromDiscord | <mitranim> Haha no. It's because I've been looking around for a decade for a language that doesn't suck, and Nim is by far the closest to sucking least |
| 17:21:35 | FromDiscord | <kiloneie> In reply to @nnsee "kind of an interesting": As is my mum making goulaz, and i went to help my friend, getting served goulaz, and his cousin went to a goulaz cooking competition... Nobody told anyone... |
| 17:21:56 | FromDiscord | <kiloneie> In reply to @mitranim "Haha no. It's because": I did that since high school |
| 17:22:04 | FromDiscord | <kiloneie> Pure Basic was close for a while. |
| 17:22:19 | FromDiscord | <kiloneie> With Nim, it all just clicked for me. |
| 17:22:37 | FromDiscord | <kiloneie> Then i tried some of the competition, and came back more confident about sticking with Nim. |
| 17:23:17 | FromDiscord | <nnsee> In reply to @kiloneie "As is my mum": even weirder, i just had goulash not more than an hour ago |
| 17:25:42 | FromDiscord | <kiloneie> xD |
| 18:21:06 | * | ftajhii joined #nim |
| 19:11:23 | * | LuckyMan quit (Quit: LuckyMan) |
| 20:11:08 | * | beholders_eye quit (Ping timeout: 260 seconds) |
| 20:12:34 | * | beholders_eye joined #nim |
| 20:20:03 | * | beholders_eye quit (Ping timeout: 256 seconds) |
| 23:01:46 | * | switchy_ joined #nim |
| 23:03:30 | * | Ekho- joined #nim |
| 23:04:02 | * | Ekho quit (Ping timeout: 260 seconds) |
| 23:04:02 | * | switchy quit (Ping timeout: 260 seconds) |
| 23:04:02 | * | switchy_ is now known as switchy |
| 23:58:08 | * | Mister_Magister quit (Excess Flood) |
| 23:58:32 | * | Mister_Magister joined #nim |