A language for sex havers. It's strick typing system helps bring job security and filters chuds.
>>102449697>sex havers If I learn Rust, will a cute trans girl let me suck her dick?
>>102449697>sex haversyeah, if you consider having your ass pounded sex
sex is something you do, not something you have
>>102449744doesn't matter, had sex
>>102449763sex is not something that you just dump something on. it's not a big truck. it's a series of tubes.
>>102449697Types are just training wheels for sucky programmers.
>>102449767>hadso you no longer have it?
>>102449697lol AI can shit out rust code just as easily as it can python, what a useless "skill"
>>102449697Use Kotlin or Java. Java is like Stardew Valley. Comfortable, the code just flows. Getting anything done in Rust is like playing chess and League at the same time. Comparable in terms of mental effort and insufferable people yelling at you on the Internet.
>>102449908mommy took it and will only give it back if I'm a good boy
#define auto fn
>>102449697template <typename T>using Rc = std::shared_ptr<T>;
template <typename T>using Rc = std::shared_ptr<T>;
>>102449697I don't like hobby languages, hobby is synonymous with "wasting time". Also last night I dreamt of being at a swimming pool where everyone admired their cocks in the reflection of the window, and got it on with some guy's mom in a cave.
>>102449763Don't be obtuseMeaning is use
>>102449911very easy to make shit code with ai, yes
>>102450302ai will replace u bitch shut the fuck up, lmao you wasted your life on a worthless profession.
>>102450315kys nocoder
>>102450331ai made me a god coder and I dont even program bitch you're jealous.
>>102449763I'm going to do sex with your mom
>>102449763nobody calls them sex doors
>>102449763You wouldn't download sex
>>102449697>A language for sex haversIsn't Rust shilled by trannies, who by-and-large are bitter incels?
>cut his dick off>have sexhuh?
what retard came up with idea to put numbers in common type names?
>>102449911not really. most of it doesn't work
>>102449763have sex
>>102449697just use C#it's almost as fast, has a good type system and actually has jobsthere's no point in using Rust, we already had memory safe languages that are widely used
>>102449763sex is both, dummy
>>102453571>C hashtagkek
>>102452160Way better for comprehension than having to memorize adjectives (long, short, wide, narrow, straight, gay)
>>102449697buttsecs is not real sex lmoa
>>102451968No, the have sex with one another. Source: PornHub
>>102449697>sex haversBUSSY DOES NOT EXIST, THAT'S A MAN'S ASS. And putting your dick in an ass is NOT sex, putting your dick in a man's ass also makes you a sexless faggot. ALL FIELDS
>>102453571Go mogs
Why would anyone ever use the standard "int", "unsigned int", etc. types in C/C++? I always use explicit types, I think it just makes more sense and I feel like I understand my code better if I see the size of the type right in front of my eyes.
>>102453957>the size of the typethe entire point of C was to abstract that away
>>102453975How does that even make sense? C code written for 16-bit architecture that uses "int, unsigned long long, etc." is just asking for trouble if you try to compile it for 32-bit or 64-bit.
>>102453957it kinda depends on the applicationif you're reading/writing a specified binary format then the size types like uint8_t are greatbut normal programs don't really need the size, all you need to note is the range, like above 2 billion you can't use it, you gotta use long
>>102454001What is the correct way to handle endianness in binary formats when reading/writing structs? Is it to just do the reading/writing at byte level?
>>102454022Short answer yes. You also do need to keep in mind that layout on one machine might be different than on another, not just due to endianness. If you need better performance than byte level serdes then you need to be able to know the endianness of the source and target machines for larger-than-byte mappings. You also need to ensure alignment unless your machine supports unaligned access (which itself is typically more costly.)
>>102454022it's a bit hard for structs, but you can manually convert ints between endianness usinghttps://linux.die.net/man/3/htonsor maybe https://linux.die.net/man/3/endian
>>102453995not really
>>102453975>the entire point of C was to abstract that awayThat was the point of the languages C stole from. In C, int means 16-bit and long means 32-bit.
>>102453695#define straight restrict#define gay __attribute((__may_alias__))
#define straight restrict#define gay __attribute((__may_alias__))
>>102453920sad postthis is what zero bussy does to a mf
>>102449736cute?
>>102453995Yo let me rev up my 16 bit source code real quick.
>>102454644Have you ever heard of porting old software?
>>102453957You just use size_t most of the time anyway.
>>102454681I use size_t for array indexing. I don't see how you would use it "most of the time".
>>102454725Array indices, element counts, etc. I use it way more often than int, int isn't very useful.
>>102454620I'm looking for people who are a bit younger and more feminine, sorry. But I like the plastic shark you're holding in your selfie!
>>102454746I still don't see how you can say you use it "most of the time". It's for a very specific use case, as we both mentioned. I use all sorts of types all the time. Though I agree that most of the time unsigned integer is better suited than signed.
>>102454771I mean most of the time I want an integer type. Sometimes I also use ssize_t or uintptr_t.
>>102454824I use size_t explicitly for sizes and indexes. Not much else, for other unsigned int stuff I choose between uint8_t, uint16_t, uint32_t and uint64_t.
>>102454824I don't get the point of ssize_t (or Linux syscalls using -4096..-1 for errnos)You can compare size_t against -1 to check if there was an error
>>102454847It can be convenient when there are several possible errors and you want to check for them with < 0. But I use it much less often than regular size_t.
>>102454859the only defined negative value for ssize_t is -1 though
>>102449697I use rust and I don't have sex.Crates for this?:(
>>102455696Oops...
>>102449697false.t. rust-using incel