Thread 105572058 - /g/ [Archived: 1032 hours ago]

Anonymous
6/12/2025, 5:02:13 PM No.105572058
1330595386
1330595386
md5: 9f3da82283b93de92bf643fd06f3ceeb🔍
>int
>long
>DWORD
>__int32
>int32_t
>_BitInt(32)
Replies: >>105572089 >>105572116 >>105572117 >>105572184 >>105574593
Anonymous
6/12/2025, 5:03:49 PM No.105572069
so much this
Anonymous
6/12/2025, 5:05:22 PM No.105572089
>>105572058 (OP)
>byte
>hword
>word
>dword
>qword
>flt
>dflt
Replies: >>105576747
Anonymous
6/12/2025, 5:07:19 PM No.105572111
#if defined(_WIN32) || defined(WIN32)
typedef signed char int8;
typedef signed short int16;
typedef signed int int32;
typedef signed __int64 int64;
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned int uint32;
typedef unsigned __int64 uint64;
#else
typedef signed char int8;
typedef signed short int16;
typedef signed int int32;
typedef signed long long int64;
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned int uint32;
typedef unsigned long long uint64;
typedef unsigned int DWORD;
typedef unsigned short WORD;
#endif
Anonymous
6/12/2025, 5:08:06 PM No.105572116
>>105572058 (OP)
dword and qword be gemmy with it albeit
Anonymous
6/12/2025, 5:08:13 PM No.105572117
integers
integers
md5: 5ca3e03d142abbbac504cd3a96dd42e2🔍
>>105572058 (OP)
Replies: >>105572187 >>105572237 >>105572272 >>105579705
Anonymous
6/12/2025, 5:14:31 PM No.105572168
color
color
md5: 020083e03a86139e68d275d540d5487e🔍
cat /usr/include/ctype.h
Anonymous
6/12/2025, 5:17:07 PM No.105572184
file
file
md5: 437a64bb8850d7d80d716f11a8cf1a0d🔍
>>105572058 (OP)
>Number
Replies: >>105578752
Hektor !!4+pI4I/p15l
6/12/2025, 5:17:24 PM No.105572187
>>105572117
Rust has like 20 times the TROONS though its crazy, one of the most TROON infested communities and that says a lot considering almost every community is infested by them these days.
Replies: >>105572378
Anonymous
6/12/2025, 5:25:15 PM No.105572237
>>105572117
Wtf is "unsigned long int" and how is it different from "unsigned long"?
Replies: >>105572328 >>105572378 >>105574704
Anonymous
6/12/2025, 5:29:25 PM No.105572272
>>105572117
C is actually portable, not a two architecture chump like rust.
Replies: >>105572283 >>105572378 >>105575473 >>105581175
Anonymous
6/12/2025, 5:30:43 PM No.105572283
>>105572272
Lol! Two architecture chump, I really really like that, mind if I copy/paste it?
Anonymous
6/12/2025, 5:35:48 PM No.105572328
>>105572237
they're identical, it's just an alias for the same type
Replies: >>105572378
Anonymous
6/12/2025, 5:41:51 PM No.105572378
>>105572237
They are defined as different types with different minimal values according to the standard.

>>105572328
>they're identical
There is no such guarantee according to the C standard.

>>105572272
Actually, C has no guaranteed support. GCC targets are all equivalent to Rust Tier 3 support. There is no automatic hardware testing as it is in these two architectures in Rust you mentioned.

>>105572187
Rent free
Replies: >>105572389 >>105572395 >>105572416 >>105572501
Anonymous
6/12/2025, 5:43:57 PM No.105572389
>>105572378
>There is no such guarantee according to the C standard.
long and long int are identical
Replies: >>105572411
Anonymous
6/12/2025, 5:44:24 PM No.105572395
>>105572378
*rolls eyes*
I'll use my void main() and call it a day
Anonymous
6/12/2025, 5:47:31 PM No.105572411
>>105572389
Ah you are right. I misread and thought you meant 'long int' vs 'int'
Replies: >>105572424
Anonymous
6/12/2025, 5:47:49 PM No.105572416
>>105572378
They are absolutely 100% guarantee to be identical in every single meta representation and behavior. Literally defined in C89.
Replies: >>105572424
Anonymous
6/12/2025, 5:48:19 PM No.105572424
>>105572416
Yup see >>105572411
Anonymous
6/12/2025, 5:59:31 PM No.105572501
>>105572378
>Actually, C has no guaranteed support. GCC targets are all equivalent to Rust Tier 3 support
gcc != c my retarded friend
Replies: >>105574115
Anonymous
6/12/2025, 6:24:43 PM No.105572701
Oh, it's just a rustranny thread. The unnatural and astroturfed promotion of that language should prove it glows in the dark.

Go buy your CryptoAG while you're at it.
Replies: >>105572745 >>105573383
Anonymous
6/12/2025, 6:28:48 PM No.105572745
>>105572701
OP here, I hate rusttroons and I hope they choke on their dilator and die
Anonymous
6/12/2025, 7:30:21 PM No.105573383
>>105572701
OP here, I'm trans btw
Anonymous
6/12/2025, 8:25:54 PM No.105574115
>>105572501
If you haven't noticed, I made a clear distinction between C and GCC in my post.
Anonymous
6/12/2025, 8:40:55 PM No.105574319
int used to be 16bit
Anonymous
6/12/2025, 9:04:12 PM No.105574593
>>105572058 (OP)
type is not needed bc i am not a npc of pokemon world.
Anonymous
6/12/2025, 9:11:27 PM No.105574704
>>105572237
"int" is the default in C, and can be omitted when other type specifiers are present (e.g. "register n;" is the same as "register int n;"). The modifiers "unsigned" and "signed" and "long" and "short" can appear in any order, so these are all fine:
unsigned long x;
long unsigned x;
long int unsigned x;
unsigned int long x;
And "long" can appear twice, again in any order, so you can have declarations like:

long unsigned int long x;

And that's the same as "unsigned long long".
Replies: >>105574724 >>105580418
Anonymous
6/12/2025, 9:12:33 PM No.105574724
>>105574704
Don't know how I messed up the code box, sorry. I thought I formatted it right.
Anonymous
6/12/2025, 9:17:02 PM No.105574780
linux_tech_tips
linux_tech_tips
md5: 121e0546de7e416af03b8ae071248419🔍
volatile long my_penis;
Replies: >>105574803
Anonymous
6/12/2025, 9:18:22 PM No.105574803
>>105574780
Still can't believe this guy created linux
Anonymous
6/12/2025, 10:13:53 PM No.105575473
>>105572272
Let me guess. You ""need"" more.
Anonymous
6/13/2025, 12:04:51 AM No.105576584
int and DWORD are all I use. I think it would be better to call it DWORD/QWORD/etc. by default
Anonymous
6/13/2025, 12:12:42 AM No.105576650
1743880094569202
1743880094569202
md5: f975b2155e55439c8649701ea2ec14a9🔍
>.word is 4 bytes in gas regardless of architecture
Replies: >>105579152 >>105581006
Anonymous
6/13/2025, 12:22:32 AM No.105576747
>>105572089
>nword
Anonymous
6/13/2025, 5:30:26 AM No.105578752
>>105572184
based
Anonymous
6/13/2025, 6:48:53 AM No.105579152
>>105576650
This is why I always avoid that terminology. It's been coopted to mean "32-bit", so I'd rather just say "32-bit" or "Pointer sized".
Replies: >>105579996
Anonymous
6/13/2025, 9:05:23 AM No.105579705
1735650067197085
1735650067197085
md5: 1c58565c0ba4701997c1d6f40de855ab🔍
>>105572117
I don't get why Rustroons claim it's more "readable" than the C family when it takes away basic English keywords and replaces them with those shorthand versions. It's also a lot less effort to type tokens with just letters like "int" or "char" from the home row than it is to type something with both letters and numbers like "i16" or "u32". It sounds like a silly thing to nitpick about but when you're typing lots of code, that extra strain between constantly switching between the home row and the number row can tire out your fingers much quicker.
Replies: >>105581052
Anonymous
6/13/2025, 10:02:44 AM No.105579996
>>105579152
>he thinks there aren't 16bit pointers
Anonymous
6/13/2025, 11:18:15 AM No.105580418
>>105574704
Thank you for your explanation. Very helpful! I have a book on this but I can't be arsed to read it all. It's little snippets of knowledge that I come on /g/ for, thanks.
Replies: >>105580424
Anonymous
6/13/2025, 11:19:18 AM No.105580424
>>105580418
Like this*
Anonymous
6/13/2025, 1:03:40 PM No.105581006
>>105576650
>The GNU Assembler, commonly known as gas or as
What the actual fuck is wrong with freetards?
Anonymous
6/13/2025, 1:13:06 PM No.105581052
>>105579705
Because "integer" is vague, i32 is not.
Replies: >>105581438 >>105581473
Anonymous
6/13/2025, 1:37:34 PM No.105581175
>>105572272
Relatively speaking, yes.
Anonymous
6/13/2025, 2:26:09 PM No.105581438
>>105581052
I concur
and i32 is still easier than int32
Anonymous
6/13/2025, 2:30:34 PM No.105581465
char[N]
Anonymous
6/13/2025, 2:31:19 PM No.105581473
>>105581052
D's solution of just making ints guaranteed 32 bits etc works pretty well.
Replies: >>105581576
Anonymous
6/13/2025, 2:45:03 PM No.105581568
long long long long long long long long long long long long int
Anonymous
6/13/2025, 2:46:03 PM No.105581576
>>105581473
Nobody uses D
Nobody
Replies: >>105581677
Anonymous
6/13/2025, 3:00:38 PM No.105581677
>>105581576
yeah but it has some good ideas
Anonymous
6/13/2025, 3:05:26 PM No.105581707
var nigger = 1488