@matrix@gameliberty.club ngl, actually disappointed most modern langs don't have fixed point numbers, they'd actually be pretty damn useful for a bunch of stuff
Conversation
Notices
-
Reid :blobcat3c: (reiddragon@mk.absturztau.be)'s status on Tuesday, 16-May-2023 23:02:50 JST Reid :blobcat3c: - matrix07012 :thotpatrol: :cunnyEmpire: likes this.
-
matrix07012 :thotpatrol: :cunnyEmpire: (matrix@gameliberty.club)'s status on Tuesday, 16-May-2023 23:08:47 JST matrix07012 :thotpatrol: :cunnyEmpire: @Reiddragon I'm not sure why they aren't in the standart library, but you have a lot of libraries and every modern language has a package manager
-
matrix07012 :thotpatrol: :cunnyEmpire: (matrix@gameliberty.club)'s status on Tuesday, 16-May-2023 23:28:40 JST matrix07012 :thotpatrol: :cunnyEmpire: @Reiddragon I assume it's slower because there isn't hardware for it. However you are right about poor maintenance.
For C there's libfixmath -
Reid :blobcat3c: (reiddragon@mk.absturztau.be)'s status on Tuesday, 16-May-2023 23:28:41 JST Reid :blobcat3c: @matrix@gameliberty.club often times those end up being slower than floats or ints, and being poorly maintained tho
also the langs I'd find fixed point numbers most useful for would be C and Pascal on more limited hardware like GameBoy, MCUs, or old systems like DOS, don't really have package managers therematrix07012 :thotpatrol: :cunnyEmpire: likes this. -
Reid :blobcat3c: (reiddragon@mk.absturztau.be)'s status on Wednesday, 17-May-2023 00:47:07 JST Reid :blobcat3c: @matrix@gameliberty.club well for some languages it's also the fact you can't as easily implement a basic type within the language without having it be slower, not the case for the specific cases of C and Pascal but def the case for some other languages
matrix07012 :thotpatrol: :cunnyEmpire: likes this.