Follow

computers 

i love how the standard unix ./configure shit checks the size of every c type and that somze std functions exist because you have no guarantee that types even mean anything. it's a normal (unspecified) programming (unspecified) language (unspecified)

computers 

what's an int in c? could be anything
what's an size_t in c? could be anything
what's an uint8_t in c? could be anything
does strlen exist? lmao ask your compiler fucko

computers 

i'm compiling 'qt5 mingw static' and if you have any idea what it is you're probably screaming right now

happily surprised that there's an aur package for this. i'm installing it in a vm because it's a million build packages

all of this to build one (1) .exe that doesn't require 15 .dll around it

computers 

@CobaltVelvet@octodon.social I love how people have configure scripts that check that there is a definition for uint32_t and define it themselves if there isn't but then the people assume that sizeof(int) == 4 and stuff like that

re: computers 

@CobaltVelvet pour du mingw-qt en cross comp j'ai utilisé https://github.com/mxe/mxe a une époque pour m'éviter de me taper tout le build a la main

computers 

@CobaltVelvet i swear all the times i've ever attempted to get a 'theoretically supported' build for windows to work, i have ground to a halt when the build instructions mention that i must personally create files with names resembling "vavarsall.bat.sh.x64_STATIC.dll.ld" and "msys-64-32-mingw-clang.Makefile-generator.py"

computers 

@CobaltVelvet C is a programming language for number crunching code that runs on the one specific machine you intend to run it on, as a backup in case you forgot Fortran exists.

computers 

@CobaltVelvet Worse, `uint8_t` might not even exist either!

re: computers 

@CobaltVelvet the same shit that after checking every possible size of C types will tries to automagically find libraries and will fail half the time or more 💯

computers 

@CobaltVelvet next time a C developer clowns on JS' type system I'll show them this toot

computers 

@Eramdam js's type system might be shit but at least it has one :thinkergunsunglasses:

computers 

@CobaltVelvet @Eramdam But can you do reinterpret_cast<char*> on anything to serialize it, or can you just add random numbers to a pointer and then access the memory there?

computers 

@x44203 @Eramdam it's not serialization if you don't know what you're serializing into

computers 

@CobaltVelvet @Eramdam Just memcpy to memory mapped disk

Sign in to participate in the conversation
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!