/dpt/ - Daily Programming Thread - /g/ (#105889001) [Archived: 235 hours ago]

Anonymous
7/13/2025, 8:38:29 AM No.105889001
moth
moth
md5: 8b533c3957b507ace6925a95608c733e๐Ÿ”
What are you working on, /g/?

Thread Question:
We can all probably agree that programming shouldn't be 'clever', but anyhow what's a clever thing you've done?
Replies: >>105889011 >>105889098 >>105889134 >>105889275 >>105891609 >>105893234 >>105900494 >>105900896 >>105900984 >>105910366 >>105910878
Anonymous
7/13/2025, 8:39:54 AM No.105889011
tfw no maids
tfw no maids
md5: 9d08f58f52b8874a1265703c6d62ecb8๐Ÿ”
>>105889001 (OP)
>no maids
Anonymous
7/13/2025, 8:46:56 AM No.105889045
final_verdict_2
final_verdict_2
md5: 299b028b008ae07bb2e9a5b871d3200e๐Ÿ”
Threadly reminder.
Also compilers are too stupid to *not* do clever things.
Replies: >>105889139 >>105908906
Anonymous
7/13/2025, 8:56:08 AM No.105889098
>>105889001 (OP)
>waiting for idris
>no moth gf to land on my hand
fuck this life
Replies: >>105906889
Anonymous
7/13/2025, 9:04:08 AM No.105889134
>>105889001 (OP)
99% of moths go for 1% of hands
fucking bullshit
Keep your head down, focus, learn and be better. Our time will come.
Anonymous
7/13/2025, 9:05:42 AM No.105889139
>>105889045
I read this 3 times and I've been able to confirm that it's unspecific what the fuck you're talking about.

What are you talking about. Memory in general?

Apparently C is "safe" because it's explicit. It is not whatsoever. The compilers tell you less than almost everything else in existence including whether a block of ints are 16 or 32 bits a piece.

Someone tell me if this is completely retarded or if Rust has a terrible borrow checker in a way that's specific to Rust and isn't just a common thing. "Everyone else" is 2 people.
Replies: >>105889292
Anonymous
7/13/2025, 9:21:17 AM No.105889238
special agent dale cooper thumbs up
special agent dale cooper thumbs up
md5: b1136e4d4553d6758a01a782b009f91c๐Ÿ”
Reposting:
Give me opinions or insight about make/cmake/other
Give me opinions or insight about gcc/clang/llvm/other
Replies: >>105889288
Anonymous
7/13/2025, 9:28:14 AM No.105889275
>>105889001 (OP)
Most moths will land on anybody's hand so I don't give a shit honestly I have more important things to do.
Anonymous
7/13/2025, 9:30:10 AM No.105889288
>>105889238
I'm not going to say that you can't enjoy CMake if you legitimately use it and can't see anything wrong with it then I hope you never touch a computer again.

A person that says "eh it does the job" is probably the same person writing C++ and I pray to god they never work with anything where an error could pose a safety risk to a real person.
Anonymous
7/13/2025, 9:31:44 AM No.105889292
>>105889139
Get murdered, scum.
Anonymous
7/13/2025, 9:32:13 AM No.105889294
shots fired against CMake, let's see if anyone steps up to bat
Anonymous
7/13/2025, 9:36:25 AM No.105889321
So far anon has made solid points against CMake, but we yet have anyone stepping up on the field

Well it seems like traditional make is taking the lead so far unless someone steps up we seem to have a clear winner here
Anonymous
7/13/2025, 9:38:50 AM No.105889336
The only solid point you'll get is a shotgun blast at point blank range as a camera captures your loss of consciousness for posterity's sake.
Anonymous
7/13/2025, 9:41:47 AM No.105889359
BLAM! Into the face, a shotgun blast from out-field.

Were they pro-make or pro-cmake or something else entirely...? Unclear now, we're reviewing the footage
Anonymous
7/13/2025, 9:45:07 AM No.105889378
1661311866832320
1661311866832320
md5: 8493c3675f003f992fa28e6c22f532ff๐Ÿ”
Thread is a schizo Make vs Cargo circlejerk again so IDC about reposting this.
What's a meme technology you always wanted to try but never really had a reason to do? When i started i was more or less fascinated with the things you could do with ImageJ, namely weird fractals and shit. You could script this library with jRuby, but i never got into it cause i was lazy. Nowadays, there's little point for picking that up. Babashka does the same use case jRuby could do for me but doesn't need a JVM process to run. And i can use that library directly from Clojure or even a jshell script if i ever wanted. Another one i never got around to test was Elm. Everyone was sucking its dick for a couple of years and then just died. Speaking about that, what the hell happened with that?
Replies: >>105889442 >>105889544 >>105892640
Anonymous
7/13/2025, 9:49:19 AM No.105889409
>fractals
I don't mean to be too math here, but really? lmao
Anonymous
7/13/2025, 9:55:18 AM No.105889442
>>105889378
Integer-based software rendering via SIMD.
Replies: >>105892262
Anonymous
7/13/2025, 9:58:27 AM No.105889453
I am checking out Cosmopolitan C.
>has C with a static custom libc
>has C++ with no libstdc++ (C with classes and templates)
Replies: >>105895013
Anonymous
7/13/2025, 10:01:13 AM No.105889468
>setting up a Makefile for lilypond
what kind of makefile have you gotten fun with?

Or are you miserable?
Anonymous
7/13/2025, 10:19:56 AM No.105889544
>>105889378
Elm is done in terms of development. Evan doesn't accept open source contributors to avoid bloat and wrecking his vision, has no corporate sponsors reliably paying him, and is working on meme database technology (https://acadia.engineering/). Spent years giving talks on "the economics of programming languages".
You can use it if you want but it won't evolve any further (and it's not flexible enough like Common Lisp to practically insert things in the language itself) which for some people is horrible and they leave.
Replies: >>105889727 >>105892262
Anonymous
7/13/2025, 10:53:12 AM No.105889727
>>105889544
So what you're saying is that Evan is an autist whose vision is such garbage it doesn't even convince other autists to use his language.
Replies: >>105889974 >>105893405
Anonymous
7/13/2025, 11:39:24 AM No.105889974
>>105889727
He did convince a sizable number of autists of The Elm Vision/Architecture (tm). He just got bored of doing the actual hard work of stabilizing the ecosystem while also being such a control freak that didn't accept any help from others.

t. autist that liked Elm and got butthurt when Evan fucked off to shill his new meme tech to more deep pocketed suckers.

FWIW Gleam seems like a promising successor, but I'll wait a few years to see if they'll do the same rug pull.
Replies: >>105893405
Anonymous
7/13/2025, 12:23:18 PM No.105890189
consoleEPIC_thumb.jpg
consoleEPIC_thumb.jpg
md5: 178d9f02f9f27a59c7bddc63d0ae1856๐Ÿ”
COMPUTY COMPUTER!!!

Typed into serial terminal on GNU+Linux, displayed with custom risc-v cpu
Replies: >>105890199 >>105890242 >>105890460
Anonymous
7/13/2025, 12:23:49 PM No.105890199
consoleGTKEPIC_thumb.jpg
consoleGTKEPIC_thumb.jpg
md5: 51da9999877bfa9ed298020e179420c9๐Ÿ”
>>105890189
I seriously need interrupts and timers now tho.
Time for a REAL OS
Anonymous
7/13/2025, 12:30:00 PM No.105890235
I'm really concerned about a few things, honestly
Anonymous
7/13/2025, 12:31:42 PM No.105890242
>>105890189
Hi, I'm worried but I suspect you're okay
Anonymous
7/13/2025, 12:43:21 PM No.105890317
I miss my garage with the couches and random friends of friends sleeping, and a couple computers and Henry's stolen Tempest console, the endless horror movies on the jank TV
Anonymous
7/13/2025, 1:08:06 PM No.105890460
>>105890189
Jesus fruitcake Christ, Hanz, learn how to type on a fruitcaking keyboard.
Anonymous
7/13/2025, 3:49:01 PM No.105891418
export
export
md5: faf738a6b905c8855b543046beeae8ff๐Ÿ”
working on my API docs generator. it takes a type descriptor used for binding native type to JS, and generates a Sphinx docs template, so I can fill it out later. that way I can generate and keep track of changes to my API docs automatically. it's probably overkill, but since I had all those descriptors anyway, I decided to give it a try.
Replies: >>105891496 >>105891582
Anonymous
7/13/2025, 4:02:37 PM No.105891496
>>105891418
>he needs to differentiate between signed and unsigned values rather than simple operand sizes
Code as a platform, eh.
Replies: >>105892251 >>105916922
Anonymous
7/13/2025, 4:14:29 PM No.105891582
1749797083956559
1749797083956559
md5: 819bde5ae4ed81bfcec0e71c78a4ba21๐Ÿ”
>>105891418
>we're still reimplementing sml signatures and structures decades later
Anonymous
7/13/2025, 4:18:00 PM No.105891609
reminder
reminder
md5: 21586c99129e45182be8d6a6ec23e142๐Ÿ”
>>105889001 (OP)
Threadly reminder
Anonymous
7/13/2025, 4:56:35 PM No.105891879
Screenshot from 2025-07-13 11-57-50
Screenshot from 2025-07-13 11-57-50
md5: ce398f848e1748879e7ab8da5f131745๐Ÿ”
>try to build chromeos using official documentation
pigweed-utils-0.0.1-r263: GN_ARGS=pw_build_PYTHON_BUILD_VENV="//local:empty_build_venv" pw_protobuf_compiler_GENERATE_PROTOS_ARGS="--no-experimental-editions" pw_protobuf_compiler_GENERATE_PYTHON_TYPE_HINTS=false pw_env_setup_CIPD_ARM="//" pw_env_setup_CIPD_MSRV_PYTHON="/usr/bin/python3.11" pw_env_setup_CIPD_PYTHON311="/usr/bin/python3.11"
pigweed-utils-0.0.1-r263: ERROR at //pw_build/python.gni:183:32 (//pw_build/python_toolchain:python): Unknown function.
pigweed-utils-0.0.1-r263: filtered_python_deps = filter_labels_exclude(

>try to report it
I hate americans so fucking much
Replies: >>105891937
Anonymous
7/13/2025, 5:02:57 PM No.105891937
qrd
qrd
md5: c63fceca9ee852e9f6ec5ffe6a975861๐Ÿ”
>>105891879
filter_labels_exclude is apparently part of google's gn meta-build system
Replies: >>105891980
Anonymous
7/13/2025, 5:09:21 PM No.105891980
>>105891937
Sure, I don't really care where it belongs. These fucking monkeys claim to provide something that doesn't even build using their own specific documentation.
Google was mistake.
Anonymous
7/13/2025, 5:30:47 PM No.105892155
class DeferStack {
public:
~DeferStack() {
while (!actions.empty()) {
actions.top()();
actions.pop();
}
}

void push(std::function<void()> fn) {
actions.push(std::move(fn));
}

private:
std::stack<std::function<void()>> actions;
};

and then
class C {
DeferStack shutdown_actions;

// other stuff

C() {
if (!LIB_init_thing(m_something))
throw std::exception("couldn't init thing");

shutdown_actions.push([&] { LIB_destroy_thing(m_something) });

// repeat for all resources
}

// ~C() {} <- no need for this
};

Is this advisable?
Replies: >>105892233 >>105892250 >>105892328 >>105893017 >>105893124
Anonymous
7/13/2025, 5:41:12 PM No.105892233
>>105892155
>no context
no clue, its acceptable
you should probably delete the copy constructor
Replies: >>105892240
Anonymous
7/13/2025, 5:42:13 PM No.105892240
>>105892233
also im reminded theres no top & pop method
Anonymous
7/13/2025, 5:43:42 PM No.105892250
>>105892155
>c++
0/5, see me after class
Anonymous
7/13/2025, 5:43:45 PM No.105892251
>>105891496
unsigned is all you need
Replies: >>105892260 >>105916922
Anonymous
7/13/2025, 5:45:00 PM No.105892260
>>105892251
>Segmentation fault: core dumped
Replies: >>105892574 >>105892814
Anonymous
7/13/2025, 5:45:02 PM No.105892262
>>105889442
Cool, i have to mess with this someday
>>105889544
Same reason all Wirth projects failed, Oberon is high quality shit but he's too much of a sperg to stick to something so it's DOA.
Replies: >>105893405
Anonymous
7/13/2025, 5:53:03 PM No.105892328
>>105892155
Retard.
Replies: >>105892347
Anonymous
7/13/2025, 5:55:21 PM No.105892347
>>105892328
Jealous you're not as good a programmer as me? It's okay lil bro you'll get there one day.
Replies: >>105892372 >>105892375
Anonymous
7/13/2025, 5:57:43 PM No.105892372
>>105892347
A shotgun shot to the brain will fix you for good.
Replies: >>105892391
Anonymous
7/13/2025, 5:57:57 PM No.105892375
>>105892347
It's amazing how you can turn such a trivial task into something complicated and act like you're good at anything but being the reason every C++ project takes hours to compile unless you own a whole datacenter dedicated to nothing but compiling.
Replies: >>105892391
Anonymous
7/13/2025, 5:59:50 PM No.105892391
>>105892372
>>105892375
Mmmmm sweet sweet tranny tears so delicious
Replies: >>105892408
Anonymous
7/13/2025, 6:02:12 PM No.105892408
>>105892391
Try to keep that thought as thousands of bits of your brain matter physically dislocate and fly across the room, destroying your consciousness forever, and having millions of actual human beings sheer in unison as another chud is rightfully executed.
Anonymous
7/13/2025, 6:04:39 PM No.105892429
>Try to keep that thought as -- ACK!!!
Keep those tears coming
Anonymous
7/13/2025, 6:08:39 PM No.105892471
>ACK!!!
Yes, those will be your last words before eternal darkness engulfs you and your remains will be processed into fertilizer.
Anonymous
7/13/2025, 6:16:04 PM No.105892520
@105892155
@105892233
@105892240
@105892250
@105892251
@105892260
@105892262
@105892328
@105892347
@105892372
@105892375
@105892391
@105892408
@105892429
@105892471
Samefag.
Replies: >>105898719
Anonymous
7/13/2025, 6:17:20 PM No.105892529
>@
Schizo.
Anonymous
7/13/2025, 6:22:36 PM No.105892574
>>105892260
that's a (You) problem
Replies: >>105892589
Anonymous
7/13/2025, 6:24:12 PM No.105892589
>>105892574
Wrong. It's a (You) problem, because I know what operand sizes are.
Replies: >>105892708
Anonymous
7/13/2025, 6:29:29 PM No.105892640
>>105889378
>What's a meme technology you always wanted to try but never really had a reason to do?
there is none; i just don't start with the technology
i have an opposite, goal-oriented approach: i think of things i want to make, then research what potential technologies would let me achieve that, and only invest time in them if i'm committed to the goal
Replies: >>105892661
Anonymous
7/13/2025, 6:31:48 PM No.105892661
not_even_smarter_than_an_llm
not_even_smarter_than_an_llm
md5: ba9a1b1af94aa7bbb15c1d7f557bbf8d๐Ÿ”
>>105892640
That explains so, so, SO much.
Anonymous
7/13/2025, 6:38:52 PM No.105892708
>>105892589
but I do too
>append_u8
>append_u16
>append_u32
>append_u64
Replies: >>105892719
Anonymous
7/13/2025, 6:40:06 PM No.105892719
>>105892708
You just mentioned "unsigned", as in, "unsigned int".
Replies: >>105892774 >>105892923
Anonymous
7/13/2025, 6:46:29 PM No.105892774
>>105892719
always 32 bit on the correct and relevant hardware
Replies: >>105892814 >>105892819
Anonymous
7/13/2025, 6:51:15 PM No.105892814
>>105892774
>>105892260
Anonymous
7/13/2025, 6:51:26 PM No.105892819
>>105892774
>32 bit unsigned ints
Only Numberlets think this is enough. You might as well play with an 8 bit machine too, if we're bring out grandpa's toys.
Replies: >>105892856
Anonymous
7/13/2025, 6:54:28 PM No.105892856
>>105892819
t. fizzbuzz requiring 128 core CPU
Replies: >>105892860
Anonymous
7/13/2025, 6:54:57 PM No.105892860
>>105892856
>only 128 cores
>thinks he can run fizzbuzz
lmfao @ ur life
Anonymous
7/13/2025, 7:01:41 PM No.105892923
>>105892719
you misinterpreted, you chose the interpretation where I was wrong. biased much?
Replies: >>105892934
Anonymous
7/13/2025, 7:02:35 PM No.105892934
>>105892923
Nah, you're just failing to save face.
Replies: >>105892969 >>105893019
Anonymous
7/13/2025, 7:07:13 PM No.105892969
>>105892934
ditto
Replies: >>105893019
Anonymous
7/13/2025, 7:12:03 PM No.105893017
>>105892155
I don't like that it uses dynamic allocations. If LIB_destroy_thing() checks for nullptr (as it should), just call all of them in destructor, no need to overcomplicate things.
Replies: >>105893122
Anonymous
7/13/2025, 7:12:08 PM No.105893019
>>105892934
>>105892969
This is internet foreplay and these anons are jerking off and preparing to have sex with eachother.
Replies: >>105893047 >>105893059
Anonymous
7/13/2025, 7:15:21 PM No.105893047
>>105893019
@grok is this true?
Replies: >>105893055
Anonymous
7/13/2025, 7:16:32 PM No.105893055
>>105893047
Yes. Imagine the smell. #MechaHitler
Anonymous
7/13/2025, 7:17:18 PM No.105893059
>>105893019
I only issue lethal loads to anons.
Replies: >>105893081
Anonymous
7/13/2025, 7:19:43 PM No.105893081
>>105893059
Listen, I'm not up to date on all the gay lingo. Please just restrict your issuance of lethal loads to your own bedroom, this isn't Grindr.
Replies: >>105893095
Anonymous
7/13/2025, 7:21:26 PM No.105893095
>>105893081
Nope. You and him deserve lethal loads to the brainsteam, issued via shotgun.
Replies: >>105893164
Anonymous
7/13/2025, 7:24:10 PM No.105893122
>>105893017
I like the clarity of having creation/destruction side by side so you can clearly tell at a glance that you've got everything matched up correctly. malloc; defer { free }; type thing. Having a big chunky destructor that you've gotta make sure you're calling everything in the correct order for is vastly inferior.
Replies: >>105893226 >>105893338
Anonymous
7/13/2025, 7:24:13 PM No.105893124
>>105892155
This is just RAII with more steps
Anonymous
7/13/2025, 7:28:32 PM No.105893164
>>105893095
If you're a murdersperg rather than a homosexual then this becomes even more confusing. What is the purpose of babbling out your fantasies of violence in public? Nobody is going to shoot anybody else in the brainstem with a shotgun for not having whatever opinion it is that you have on whatever niche topic. You're just impotent and clownish and nobody looks at you beyond pointing and laughing. $5 says you spew these fantasies in part because you're the sort of person who can't even hold eye contact with someone else when talking, let alone take any physical action. Do you enjoy looking stupid in public? Do you think anybody is intimidated by the fantasies of a spergy retard who can't make eye contact and order his chicken nuggies without stuttering? What do you think you're achieving here?
Replies: >>105893171 >>105893210 >>105895685
Anonymous
7/13/2025, 7:29:37 PM No.105893171
>>105893164
Autists can't deal with violence. It makes them give up.
Replies: >>105893209
Anonymous
7/13/2025, 7:34:11 PM No.105893209
>>105893171
Tell us more about how much your uncle abused you at night.
Replies: >>105893243
Anonymous
7/13/2025, 7:34:15 PM No.105893210
>>105893164
anon you're talking to a teenager
Anonymous
7/13/2025, 7:36:18 PM No.105893226
>>105893122
its literally equivalent destructors are always called in reverse order of construction
Replies: >>105893241
Anonymous
7/13/2025, 7:37:14 PM No.105893234
>>105889001 (OP)
>clever thing
tree node packing
typedef enum {
KD_INODE_X = 0b00,
KD_INODE_Y = 0b01,
KD_INODE_Z = 0b10,
KD_LEAF = 0b11,
} KdNodeType;

#pragma pack(push, 1)

#define KD_LEN_BITS 32
#define KD_IDX_BITS 46

typedef struct {
union {
struct {
uint64_t len : 32;
uint64_t : 32;
uint16_t : 16;
};

struct {
uint16_t : 16;
uint64_t : 16;
uint64_t obj_idx : 46;
uint64_t : 2;
};
};
} KdLeaf;

typedef struct {
union {
float split;

struct {
uint16_t : 16;
uint64_t : 16;
uint64_t lchild_idx : 46;
uint64_t : 2;
};
};

uint8_t rchild[]; // adjacent in memory
} KdInode;

typedef union {
struct {
uint16_t : 16;
uint64_t : 62;
uint64_t type : 2;
};

KdInode inode;
KdLeaf leaf;
} KdNode;

#pragma pack(pop)
Replies: >>105923678
Anonymous
7/13/2025, 7:38:00 PM No.105893241
>>105893226
Reread my post slowly.
Replies: >>105893281
Anonymous
7/13/2025, 7:38:02 PM No.105893243
>>105893209
Now why would you attempt such obvious projection, hm?
Replies: >>105893251
Anonymous
7/13/2025, 7:38:42 PM No.105893251
>>105893243
I accept your concession.
Replies: >>105893270
Anonymous
7/13/2025, 7:40:23 PM No.105893270
>>105893251
>not answering the question
No, no, the acceptance is all mine. :^) Personally I hope your orifices never healed properly.
Anonymous
7/13/2025, 7:41:32 PM No.105893281
>>105893241
it is so side by side that it is literally overlapping
Anonymous
7/13/2025, 7:47:36 PM No.105893338
>>105893122
Then use unique_ptr to manage the library resources. It's easy to provide custom deleter that will call the library cleanup function.
Replies: >>105893390
Anonymous
7/13/2025, 7:51:36 PM No.105893390
>>105893338
And if it's not tied to an m_something? i.e. pairing SDL_Init with SDL_Quit?
Anonymous
7/13/2025, 7:53:04 PM No.105893405
>>105889727
He did convince a lot of autists and a lot of codemonkeys.
The problem is that the codemonkeys NEED a language that I MUST UPDOOT or else it's DEAD. Work for free. That burned him out.

>>105889974
He wants to make Oracle money and live from Elm which is impossible.
Gleam does have a corporate sponsor as the author is an employee.

>>105892262
It's money. Wirth kept churning out things searching for The Right Thing, over seething online about money for a decade.
Replies: >>105893903
Anonymous
7/13/2025, 8:54:16 PM No.105893903
>>105893405
what does money have to do with anything
Replies: >>105894000
Anonymous
7/13/2025, 9:05:34 PM No.105894000
>>105893903
If you're autistic enough, nothing.
But Evan wants to get paid for working on Elm instead of being a wagie and having Elm as a side project, and users AND COMPANIES won't pay when there's free alternatives. Companies at best pay you bounties to add what they want, not what the language should have. Or they pay you for business features or consultancies.
Anonymous
7/13/2025, 9:12:17 PM No.105894068
I miss the maidposters. This thread is worthless and boring without them.
Replies: >>105894081
Anonymous
7/13/2025, 9:13:28 PM No.105894081
>>105894068
You should leave with them.
Replies: >>105895214
Anonymous
7/13/2025, 9:30:01 PM No.105894204
Anyone know how I'm supposed to program everyday for hours on end? I woke up at 11am and its now 8pm and I haven't programmed yet and I need to take my nap before going to the gym. My day is already over. This is the second week in a row now that this has happened. How do people have time to program all day?? I need to complete a project by the end of this month. Its so over for me.
Replies: >>105894214 >>105894244
Anonymous
7/13/2025, 9:31:43 PM No.105894214
>>105894204
what did you do with that 9 hours? why dont you skip gym if this is important to you?
Anonymous
7/13/2025, 9:35:01 PM No.105894244
>>105894204
first step is to sit down and start everything you need for programming
if you're doing other things, you're not programming. that might be obvious, but that's how time just passes by without you doing any programming
Anonymous
7/13/2025, 10:49:14 PM No.105895013
>>105889453
>libc
into the trash it goes
Replies: >>105895305
Anonymous
7/13/2025, 11:04:41 PM No.105895185
https://www.youtube.com/watch?v=9nRr3R9gEb8
Replies: >>105895589
Anonymous
7/13/2025, 11:07:58 PM No.105895214
>>105894081
You should suck farts out of a snorkel. You should be strapped into the snorkel fart mask 24/7 and you should never be allowed to breathe normal air again.
Replies: >>105895229
Anonymous
7/13/2025, 11:09:23 PM No.105895229
>>105895214
Don't let the door hit ya where the lord split ya.
Replies: >>105895278
Anonymous
7/13/2025, 11:12:04 PM No.105895266
>Zig has a new async IO model
>you pass IO around
ALL ROADS LEAD TO THE IO MONAD
ACCEPT IT
Replies: >>105895279 >>105895364
Anonymous
7/13/2025, 11:12:54 PM No.105895278
>>105895229
I'm too busy adding farts to the gas pool so you and your whole family can be continuously strapped into inflatable full body fart suits. Nobody with your genetics is allowed to touch air that isn't mixed with shit ever again. You will become a new race of bubble people, interbreeding with your sisters and mom to form a new slave race of fart goblins who will live in shit and serve their betters (literally everybody else) forever.

>Sent from my iPhone in Tel Aviv
Replies: >>105895303
Anonymous
7/13/2025, 11:13:06 PM No.105895279
>>105895266
How else is a functional language supposed to handle anything at runtime
Anonymous
7/13/2025, 11:14:20 PM No.105895303
>>105895278
I just love that Maidposters are dead now or whatever.
Replies: >>105895317
Anonymous
7/13/2025, 11:14:38 PM No.105895305
>>105895013
They made mmap into a posix mmap which calls mmap on Linux and virtualalloc on Windows, you don't have to use dlmalloc.
Anonymous
7/13/2025, 11:16:15 PM No.105895317
>>105895303
Then clearly there aren't enough farts in the gas pool.
Replies: >>105895372
Anonymous
7/13/2025, 11:19:18 PM No.105895364
>>105895266
total haskell victory
Anonymous
7/13/2025, 11:20:00 PM No.105895372
1575691134404
1575691134404
md5: 2a46cdff0d943e6ba71241c2f9ed16b6๐Ÿ”
>>105895317
I can hold my breath for ten minutes.
Replies: >>105895383
Anonymous
7/13/2025, 11:21:09 PM No.105895383
>>105895372
Then I will fart continuously for eleven.
Replies: >>105895392
Anonymous
7/13/2025, 11:22:08 PM No.105895392
1575691134399
1575691134399
md5: 6c974bd88f5db462bd86acc219ef65d7๐Ÿ”
>>105895383
Anonymous
7/13/2025, 11:35:59 PM No.105895581
6943-clueless
6943-clueless
md5: b9f66bb48dcda1966a7d581d33612fa9๐Ÿ”
https://pastebin.com/F2D6Kuay
Replies: >>105895599
Anonymous
7/13/2025, 11:36:33 PM No.105895589
>>105895185
again?
Anonymous
7/13/2025, 11:37:23 PM No.105895599
>>105895581 (me)
this is how usage of it works btw: https://godbolt.org/z/sx7ad5PvT
Anonymous
7/13/2025, 11:44:48 PM No.105895685
>>105893164
NTA (thank god). They probably have some mental disorder that makes them think violence is ok and that their acts are """justified"""
I never thought a Cnile would be more mentally warped than a rusttroon, but regdump schizo proved me wrong.
Anonymous
7/13/2025, 11:46:55 PM No.105895704
1710902656839475
1710902656839475
md5: ee65ea1f59cafaaa9db02e1f6d31b6ce๐Ÿ”
Violence is, and always has been ok, autist.
Replies: >>105895735 >>105896304
Anonymous
7/13/2025, 11:48:04 PM No.105895721
What do you code in? Not just language, but language paradigm, language version, coding style, etc
For me, it's pre-standard C++
Anonymous
7/13/2025, 11:49:04 PM No.105895735
>>105895704
nice selfie you idiot
makes you look like a dork lmao
Anonymous
7/13/2025, 11:51:20 PM No.105895765
1710903579341400
1710903579341400
md5: 6df0a4cd4d7ca3da30d3f621505c4371๐Ÿ”
I'll make you repeat that while you digest your own vocal cords. No, I don't care.
Replies: >>105896304
Anonymous
7/13/2025, 11:52:07 PM No.105895785
1741798710780396
1741798710780396
md5: a309db5cef7c784754b65475805f8f53๐Ÿ”
!!! PSA !!!
/dpt/ is infested with homeless schizophrenics and the governance (jannies) are useless as per usual.
Please resist the urge to engage with the feral spammers. It is unsafe and you risk contract their diseases. In order to identify them, look for:
1. malloc/mmap sperging
2. registry dumping sperging
3. bitch replying without quoting (passive-aggressive effeminate activity)
4. screeching at the thought of someone doing something for fun

Thank you! Please use /dpt/ to engage in actual programming discussion
Replies: >>105895801 >>105895813 >>105895899
Anonymous
7/13/2025, 11:53:19 PM No.105895801
>>105895785
thank you hatsune miku
Anonymous
7/13/2025, 11:53:39 PM No.105895807
autismo_hasnt_changed_his_script_in_thirty_years
autismo_hasnt_changed_his_script_in_thirty_years
md5: 80222f433bc8f06cda58f35ee16af80e๐Ÿ”
Yawn.
Anonymous
7/13/2025, 11:54:19 PM No.105895813
>>105895785
>/dpt/ is infested with homeless schizophrenics
so /dpt/ is Detroit?
Replies: >>105895827
Anonymous
7/13/2025, 11:55:23 PM No.105895827
>>105895813
The difference is that /dpt/ never had any value.
Replies: >>105895860
Anonymous
7/13/2025, 11:58:13 PM No.105895860
JXPkFOtZ_400x400
JXPkFOtZ_400x400
md5: 7be76b994f03af70a4dd9fad58a7c88e๐Ÿ”
>have been trying to make a videogame from scratch in C++ for the past 2 or so years
>keep restarting the project every week or so because I'm unsatisfied with how each attempt turns out
>still haven't made any game
Is this the textbook definition of a "Sisyphean task"?
>>105895827
>implying Detroit is even worth a damn
Anon, I...
Replies: >>105896004 >>105896044
Anonymous
7/13/2025, 11:59:54 PM No.105895879
>implying Detroit is even worth a damn
Was, autist-kun. Funnily enough autists are known for having issues with time and space, too.
Replies: >>105896101
Anonymous
7/14/2025, 12:01:32 AM No.105895899
3uaaa1eee4nc1
3uaaa1eee4nc1
md5: 5b0c9be67e9cb20a48c5b47709c9a870๐Ÿ”
>>105895785
The problem is that the schizo ruins discussion in this thread no matter what, no matter how much people try to avoid him.
Replies: >>105895910 >>105895945
Anonymous
7/14/2025, 12:02:38 AM No.105895910
1750680325053401
1750680325053401
md5: 12eb8bc82428ff5756b55a0872492e6a๐Ÿ”
>>105895899
Never saw anyone actually try to avoid him.
Anonymous
7/14/2025, 12:03:03 AM No.105895920
hasnt_fallen_enough
hasnt_fallen_enough
md5: 2dbac3848b033ab77634d9b7970046de๐Ÿ”
Luckily that's a (You) problem.
Anonymous
7/14/2025, 12:03:48 AM No.105895931
desu if the regdump schizo advocates for violent acts they should happen to him first, as an ironic downfall caused by his own hubris
Anonymous
7/14/2025, 12:05:18 AM No.105895945
>>105895899
Yes, but I find it much easier to ignore when some retard isn't rolling around in the mud discussing fart snorkelling with him.
He rarely replies directly and never contributes anything useful. Just ignore and warn newcomers to do the same.
Replies: >>105896741
Anonymous
7/14/2025, 12:05:37 AM No.105895948
being_gestapo
being_gestapo
md5: aeb3e2dd07205c5334f1ba6b83a09d45๐Ÿ”
But they won't, because you can't even recognize me. That's what makes violent acts so awesome.
Anonymous
7/14/2025, 12:07:03 AM No.105895960
https://en.wikipedia.org/wiki/Narcissism
Replies: >>105895996
Anonymous
7/14/2025, 12:07:52 AM No.105895967
1751046279607267
1751046279607267
md5: 989a6e06e0c03befd630ab95358e6654๐Ÿ”
Damn guys, I can't tell which loq quality posts are his, how does he do it?
Anonymous
7/14/2025, 12:09:40 AM No.105895990
I mean, I am the very best.
Anonymous
7/14/2025, 12:10:04 AM No.105895996
>>105895960
This is not narcissism, this is confirmed https://en.wikipedia.org/wiki/Receptive_aphasia you know, literal brain damage.
Anonymous
7/14/2025, 12:10:53 AM No.105896004
>>105895860
no, it's just being hindered by perfectionism
you need to consciously switch to a "just get stuff working" mode
only once you make significant progress in functionality, you can then do your refactoring and rewriting, but do only one pass/attempt. then leave it as is and work on adding more functionality
Replies: >>105896031
Anonymous
7/14/2025, 12:13:17 AM No.105896031
1711485939518009_thumb.jpg
1711485939518009_thumb.jpg
md5: 9a8c39aa6ae4f3afd6d8f8c6e6d6a2d6๐Ÿ”
>>105896004
thanks for the tips anon
Another thing that might be hindering me though is my stupid ass ADHD and clinical anxiety making me unable to "sit still" with a project, as well as making me always second guess my actions and think I made my project irreparably shit (i.e I believe I use awful coding practices, or have a bad codebase structure from the start), or just doubt my own abilities
Anonymous
7/14/2025, 12:13:58 AM No.105896035
>repeating the word "aphasia" over and over again calms down the autist
Anonymous
7/14/2025, 12:14:52 AM No.105896044
>>105895860
detroit used to make good cars and awesome pizza. /dpt/ started off as a boring circlejerk and devolved into a mental asylum
Replies: >>105896070
Anonymous
7/14/2025, 12:15:41 AM No.105896054
>Aphasia is typically caused by brain damage, often from stroke or head injury, and is not a sign of decreased intelligence. While there's no cure
Damn, that's so sad.
Replies: >>105896086
Anonymous
7/14/2025, 12:17:11 AM No.105896064
autistic_tinkerers
autistic_tinkerers
md5: 831f7ecd40254240d3cd1e0d32fe3f3e๐Ÿ”
>devolved into a mental asylum
True, but I can't just leave without turning the autists into fertilizer first.
Anonymous
7/14/2025, 12:17:25 AM No.105896070
>>105896044
>detroit used to make good cars and awesome pizza
Source?
Replies: >>105896087
Anonymous
7/14/2025, 12:19:14 AM No.105896086
>>105896054
Everyone pour one out for regdump schizo's canon TBI
Anonymous
7/14/2025, 12:19:21 AM No.105896087
>>105896070
https://en.wikipedia.org/wiki/Automotive_industry_in_the_United_States#The_Big_Three_automakers
https://en.wikipedia.org/wiki/Detroit-style_pizza
Replies: >>105896094
Anonymous
7/14/2025, 12:20:15 AM No.105896094
>>105896087
Damn, it's real
Well I'll be damned, Detroit actually used to be good
Anonymous
7/14/2025, 12:20:56 AM No.105896101
>>105895879
Anonymous
7/14/2025, 12:23:11 AM No.105896119
1c9b3fba63eead8f
1c9b3fba63eead8f
md5: 9e66d9d26a3711a5ae50ab233eea4ee1๐Ÿ”
Honestly, for me this thread is just the /gedg/ waiting room whenever the /gedg/ thread gets archived and no one bothers to start a new one for a while
And I hate it here
Anonymous
7/14/2025, 12:25:58 AM No.105896142
wallhaven-73pg7y
wallhaven-73pg7y
md5: 96a3c22945daff49c0bf1dbe4ceda4a6๐Ÿ”
>be me
>have an old C library I wrote
>decide to convert it to C++ and add some features
>get halfway through writing lexer for new library
>reading original C code as an implementation guide
>realize my C code is better than my C++ code
>scrap the project, just update the C project instead

idk what I was thinking
Anonymous
7/14/2025, 12:27:46 AM No.105896163
1598371075721
1598371075721
md5: f34dbd75e6bb0422ae01cb1f06486c5e๐Ÿ”
>wah wah waiting room
Have you tried going outside?
Replies: >>105896183
Anonymous
7/14/2025, 12:30:22 AM No.105896183
>>105896163
Lead by example.
Anonymous
7/14/2025, 12:32:34 AM No.105896201
4daac77af6bdaca2
4daac77af6bdaca2
md5: e355d04f6a037ca0902d0ce584e1cbf1๐Ÿ”
Anonymous
7/14/2025, 12:35:41 AM No.105896232
1748800006273683
1748800006273683
md5: 43757e45d918d810f82e1b5a0ff66890๐Ÿ”
Pay me.
Anonymous
7/14/2025, 12:44:52 AM No.105896304
>>105895704
>>105895765
is cnileposting back
Anonymous
7/14/2025, 12:49:06 AM No.105896343
1720648218267943
1720648218267943
md5: 5da7ae725fb338ddbcdcb40166064316๐Ÿ”
>implying it was ever gone
Replies: >>105923691
Anonymous
7/14/2025, 1:10:42 AM No.105896553
>nvidia's asynchronous vulkan queues aren't even guaranteed to be asynchronous without hardware scheduling turned on and they don't actually correspond to anything real and you can trivially oversubscribe to them
gee thanks
so why are you advertising them
Anonymous
7/14/2025, 1:30:44 AM No.105896741
>>105895945
Right now he isn't posting because he is tied up in the fart dungeon connected to the fart snorkel. His nuts got stapled to a stack of papers and he is huffing the farts as we speak. Time for the stink, time for the breeze. You may thank me now.
Anonymous
7/14/2025, 1:36:13 AM No.105896776
seconds_and_minutes
seconds_and_minutes
md5: 0a4447ee29825d1512c91dfa4476e83d๐Ÿ”
>he is tied up in the fart dungeon
I feel sorry for whatever autist you caught in your contraption, but it ain't me.
Replies: >>105896869
Anonymous
7/14/2025, 1:45:39 AM No.105896869
>>105896776
Silence, fart slave. If I want your opinion will ask you for it after blasting 40PSI worth of ass gas down your snorkel and into your fart filled stink lungs.
Anonymous
7/14/2025, 1:48:16 AM No.105896895
1749838762818243
1749838762818243
md5: e0ecde43931c45b2d652cee28d48401c๐Ÿ”
>Silence
Or else? Are you gonna turn the poor autist into fertilizer? You have my support.
Anonymous
7/14/2025, 2:25:05 AM No.105897211
*ahem*
Program in C-style C++.
That is all.
Anonymous
7/14/2025, 2:49:41 AM No.105897457
4chanblyk
4chanblyk
md5: c5398322e2ea74f4de219d613d366ed6๐Ÿ”
Mostly Programming indie games these days, more of a freelance/contractor these days. Sometimes program and do game design for some personal projects on my spare time.
Replies: >>105897485 >>105897503
Anonymous
7/14/2025, 2:52:37 AM No.105897485
>>105897457
It's amazing how incompetent you sound.
Anonymous
7/14/2025, 2:55:19 AM No.105897503
>>105897457
It's amazing how competent you sound.
Replies: >>105897513
Anonymous
7/14/2025, 2:56:43 AM No.105897513
>>105897503
It's amazing how incompetent you sound, too.
Replies: >>105897523
Anonymous
7/14/2025, 2:57:16 AM No.105897520
Are you a Programmer? Or a Coder?
Anonymous
7/14/2025, 2:57:22 AM No.105897523
>>105897513
It's amazing how angry you sound.
Replies: >>105897610
Anonymous
7/14/2025, 3:06:51 AM No.105897610
>>105897523
It's amazing how autistic you sound. But then again detecting emotions is yet another difficulty for autists.
Replies: >>105897654 >>105912196
Anonymous
7/14/2025, 3:10:44 AM No.105897654
>>105897610
>more angry-sounding and passive-agressive writing
Cope, seethe, mald, etc
Anonymous
7/14/2025, 3:13:21 AM No.105897686
thats_how_you_do_contradiction
thats_how_you_do_contradiction
md5: 4c2f31f08079a7dc31307d00171293ad๐Ÿ”
>more autistic screeching full of projections
Keep'em coming. We all know your ilk knows no shame.
Replies: >>105897702
Anonymous
7/14/2025, 3:14:22 AM No.105897694
for me, it's posix c and ksh. simple as that.
Anonymous
7/14/2025, 3:15:24 AM No.105897702
>>105897686
>muh projection
Rich of you to accuse others of projection btw lmao
Anonymous
7/14/2025, 3:19:14 AM No.105897742
vry76lze6ske1
vry76lze6ske1
md5: 7b789532decd8720ebb93c0a817735b0๐Ÿ”
>incompetent schizo was so shocked by my words he couldn't make another post basically saying "ree autism bad" with an attachment of screenshots of his own past self-own posts again
I win.
Anonymous
7/14/2025, 3:22:26 AM No.105897766
>autist doesn't understand it's not projection if it's the truth
And that's why we used to put autists into freak shows and exposed them to noise and flashy lights that triggered their true selves, so that society quickly learned that autists were no better than disobedient slaves who had to be beaten within bloody inches of their lives - a practice that is in dire need of a revival. I can't wait for the hours upon hours of footage to be uploaded to Youtube that will show autists having literally all teeth beaten out of them before being forced to pick them up and throw them into the bin, with noncompliance meaning that they will be forced to eat their own eyes on national TV.

Attached.
Replies: >>105897783 >>105897819
Anonymous
7/14/2025, 3:24:17 AM No.105897783
>>105897766
>Attached.
>there is no attachment
>incompetent schizmo is truly incompetent
Again, I win.
Anonymous
7/14/2025, 3:28:19 AM No.105897819
>>105897766
And if they like their own eyes too much we will fixate them on gurneys, rip their eye lids wide open, and then play flashing lights and loud noises directly into their brains for literal days, until they bite their own tongues and die. Then we'll force the families to clean up the mess, with a smile on their faces, because it's all on national television. Noncompliance will be met with forced removal of the skin with potato peelers.

>he doesn't understand what attached means
We already knew that you were an autist who deserves to be tortured for the amusement of normal people, there is no reason to dig yourself deeper.
Replies: >>105897901
Anonymous
7/14/2025, 3:36:07 AM No.105897901
>>105897819
>More raging from the incompetent schizmo
Btw I think that if the violent acts you fantasize about were to even happen, you'd be the subject of them, not your "autismo" boogeymen (who are more based than you will ever be mind you)
Anonymous
7/14/2025, 3:40:56 AM No.105897943
Nah, I know where to aim to put my consciousness into a place where no autist can reach it. I also know where NOT to aim, so that I can inflict as much suffering before the consciousness in question escapes MY reach.
Replies: >>105897963
Anonymous
7/14/2025, 3:43:20 AM No.105897963
>>105897943
>incomptent schizmo is also delusional
>and he's still malding
Keep crying pussy. You will never be a real programmer. No one will use your cringe overoptimized registry dumper.
Replies: >>105899769
Anonymous
7/14/2025, 3:44:36 AM No.105897981
>incompetent autismo is still projecting
And sorry, but your flat affect doesn't hide your fear.
Anonymous
7/14/2025, 3:45:43 AM No.105897989
Anyways, now that I made regdump schizo irrationally angry after using some of his own lingo and talking points against him, think I'll check out of this thread given that /gedg/ is back.
Ciao. You're all welcome.
(You) me when he finally offs himself (in minecraft)
Anonymous
7/14/2025, 3:50:51 AM No.105898039
1716800791391957
1716800791391957
md5: 09fe5965fbbf12c02ae5b6501afc69c0๐Ÿ”
>I made regdump schizo irrationally angry
Oh god, the delusions incompetent autismos who're good for nothing but torture that would've made Mengele blush.
Anonymous
7/14/2025, 4:23:43 AM No.105898316
women-laughing
women-laughing
md5: 65e1cb9ab4cdd628d89da8729081ecef๐Ÿ”
>he pronounces char like "charmander" instead of "care"
>he pronounce bin like it rhymes with skin instead of "bye-n"
>he pronounces sudo like "pseudo" instead of "soo doo"
>he pronounces enum like "ee-numb" instead of "ee-noom"
>he pronounces struct like "strucked" instead of "struckch"
Replies: >>105923725
Anonymous
7/14/2025, 4:45:27 AM No.105898464
1558516921219131
1558516921219131
md5: 30cf0f6a4b42cc3d99c7189d86295b69๐Ÿ”
>he thinks his opinions matter so much no one will print them out and wipe his arse with it
You thought wrong.
Anonymous
7/14/2025, 5:26:54 AM No.105898719
>>105892520
newfag, welcome. plz lurk moar
Anonymous
7/14/2025, 6:08:58 AM No.105899006
do modal editors like nvim still use escape codes to control the screen? or is there a more modern way I'm not aware of?
Anonymous
7/14/2025, 8:15:02 AM No.105899769
>>105897963
I recently found out that there's commercial registry dumper, must be humiliating.
Replies: >>105900117
Anonymous
7/14/2025, 9:17:17 AM No.105900117
>>105899769
And yet you can't even explain how they work, so why haven't you run in front of a train to make every single person in this world happy?
Replies: >>105900335
Anonymous
7/14/2025, 9:54:55 AM No.105900335
>>105900117
I explained, but certain wernicke's aphasia patient around here wouldn't get it, and I cannot blame him, nobody can, such level of brain damage can only be pitied. Though lately I haven't seen him ITT, he hides himself way too well in these totally organic meltdowns that are all not him.
Anonymous
7/14/2025, 10:03:55 AM No.105900403
>he is literally making shit up
And that's why we will put every single autistic person into the equivalent of a modern day concentration camp, where us normal people can monitor them 24/7, and donate to develop new torture methods whose only job it is to inflict as much pain and suffering upon literal non-humans. Every single second of their continued existence will be filled with public pain, public humiliation, and public death.

It's a brand new world, and I can't wait to make autists suffer in it. And because they are selfish subhumans who will never kill themselves they have no one to blame but themselves - no, the torturers don't count. They are going both God's and the nation's work, and they deserve our unending support and devotion.
Replies: >>105900548
Anonymous
7/14/2025, 10:15:00 AM No.105900494
>>105889001 (OP)
>I crave the forbidden lamp, brother.
Anonymous
7/14/2025, 10:22:19 AM No.105900548
>>105900403
>nooo doctor, PLEASE, CHANGE MY DIAGNOSIS!
Sorry tranon, wernicke's aphasia is already hard to diagnose, when it is, it's pretty much impossible for it to be incorrect.
Anonymous
7/14/2025, 10:25:29 AM No.105900580
>muh DIAGNOSIS
Luckily autism is really easy to detect. All one has to do is punch you in the chest and then force you to describe your emotions; if you take longer than two seconds you are not human.
Replies: >>105900603
Anonymous
7/14/2025, 10:28:18 AM No.105900603
>>105900580
Post arm, then we can talk about why "I didn't even notice you trying to punch me" is a correct response.
Anonymous
7/14/2025, 10:33:50 AM No.105900654
>I didn't even notice
Have fun dying a painful and elongated death then. The audience will be delighted to see your before and after pictures - first full of autistic pride, then a bloody rump without arms and legs carelessly discarded on the floor, blood splatters everywhere, empty eyes, and holes in the skull where we directly injected random chemicals into your brain, all paid for by viewers' donations.
Anonymous
7/14/2025, 11:03:40 AM No.105900832
Have we confirmed or denied that Terry is still with us?
Anonymous
7/14/2025, 11:14:11 AM No.105900896
>>105889001 (OP)
>We can all probably agree that programming shouldn't be 'clever'
I disagree.
Anonymous
7/14/2025, 11:30:28 AM No.105900984
>>105889001 (OP)
I was given an unappealable three day ban for "off-topic" posts in this thread. If you are the short cocked, low IQ zoomer janny who did this, I want you to know that I am just going to disregard your ban. I refuse to be singled out for being "off-topic" in a thread dominated by an unmedicated schizo who only makes off-topic posts.

Fuck you, suck my balls. Resign in shame and kill yourself in penance.
Replies: >>105901062
Anonymous
7/14/2025, 11:42:43 AM No.105901062
>>105900984
Reminder: the schizo ITT IS the janny. If you ever have any doubts, just look at the catalog of /g/
Anonymous
7/14/2025, 2:38:17 PM No.105902219
Page 10, bump
Replies: >>105902505
Anonymous
7/14/2025, 2:41:04 PM No.105902236
Thinking_Face_Emoji-Emoji-Island
Thinking_Face_Emoji-Emoji-Island
md5: d40a1fc0d26695087b7f287fd7fdfa9b๐Ÿ”
Noob here, I'm trying C++, after using GC languages in the past

I have a class with a destructor method. I have an array of objects of this class, then I loop over this array, to print something about each object.

The destructor gets called twice. I think I know why. I think it's making a copy of each object for the loop, right? When each loop finishes, it destroys the object copy made for that loop. Then when the program finishes, it destroys the array (calling the destructor for a second time). Is that right?
Replies: >>105902427
Anonymous
7/14/2025, 2:43:38 PM No.105902256
175190767548387272
175190767548387272
md5: 5be9eef1ed7346addef497815bb15fd8๐Ÿ”
How it feels to end my copilot session when he keeps making the same error over and over and hallucinates that he wrote it correctly
Replies: >>105907777
Anonymous
7/14/2025, 3:05:34 PM No.105902427
>>105902236
Okay never mind, I just asked ChatGPT to get some answers about this, and yes my style of loop was creating a copy for each loop. I was doing this:

for (Car car : cars)

But apparently it's better to do this, so you don't create a copy of each object when looping (and the const means you can't accidentally modify the object while you're using it):

for (const Car &car : cars)
Replies: >>105903050 >>105904270
Anonymous
7/14/2025, 3:14:33 PM No.105902505
>>105902219
I was hoping this mess would rotate and we could get a proper Daily Programming with Tohru going. Why did you save it?
Replies: >>105902598
Anonymous
7/14/2025, 3:25:28 PM No.105902598
>>105902505
I just googled "Tohru" and it's some weirdo anime freak garbage

Thank fuck I saved this thread.
Replies: >>105902631
Anonymous
7/14/2025, 3:30:01 PM No.105902631
>>105902598
>she doesn't know about the science foundation for maids
Anonymous
7/14/2025, 4:19:17 PM No.105903050
>>105902427
Good now do const auto& car and you'll be writing idiomatic sepples.
Replies: >>105903069 >>105919310
Anonymous
7/14/2025, 4:20:54 PM No.105903069
>>105903050
Even though auto const& car
Anonymous
7/14/2025, 4:52:33 PM No.105903310
>Try to build Clang from source in Visual Studio
>Windows crashes
Can't make this shit up
Replies: >>105903469 >>105903692
Anonymous
7/14/2025, 5:09:29 PM No.105903469
>>105903310
Please be a good cucksoomer and download the mystery prebuilt binaries, sir.
Anonymous
7/14/2025, 5:31:56 PM No.105903685
I write return(value) because I think it looks cuter
Replies: >>105924264 >>105924278 >>105924446
Anonymous
7/14/2025, 5:32:17 PM No.105903692
>>105903310
clang on visual studios is pointless because address sanitizer won't trigger your debugger (it will just terminate itself) and it won't work with vcpkg because clang-cl cannot combine address sanitizer + /MDd flag (vcpkg does not have a flag for changing the runtime, release builds / static debug builds work I think), and also msvc and clang-cl use a different address sanitizer DLL with the same name.
I use clang-cl for cfi-sanitizer and ubsan with unsigned overflow/underflow just for fun however.
Anonymous
7/14/2025, 6:28:31 PM No.105904221
Should I still learn c++?
I want to get into gamedev
Replies: >>105904381 >>105904425 >>105913027
Anonymous
7/14/2025, 6:34:06 PM No.105904270
>>105902427
>I just asked ChatGPT
Why didn't you ask ChatGPT what he thought of this post instead of /dpt/? Fuck off
Replies: >>105919310
Anonymous
7/14/2025, 6:47:06 PM No.105904381
>>105904221
*shrugs*
people in this thread are going to tell you to code your own engine, but if you went to /vg/agdg/ they would tell you to use unity/godot.
lots of games are more about content than code, and the list of games that you CANNOT make with an engine like unity/godot is very short, and like 80% of the game released on steam are made with unity.
so if you think you are an ideas guy, go for an engine, if you are willing to spend 10-100x more time to do something more technically impressive, go for C++, but when I say technically impressive I am not saying that your game will be technically impressive, I'm just saying it's technically impressive that you are even able to finish a game, because almost nobody actually finishes a game (if it's 3D), they usually only finish the engine part. If it's 2D, anything is fine, using an engine might annoy you a little bit since they probably have a ton of built in mapping / collision tools and stuff, but nothing is stopping you from writing your own structure to the engine and basically do the same thing as an engine dev inside of godot/unity.
Also if you want people to mod your game, unity is just easy to reverse engineer and people can just mod it if they felt like it, and C++ is actually terrible for multi-lingual people, it's a huge pain in the ass to get more than just English in your game, while engines just make it a built in feature.
Replies: >>105904762
Anonymous
7/14/2025, 6:51:04 PM No.105904425
>>105904221
I think all programmers should know c++, because it gives you a good perspective on how the program actually works. People who started on python have a hard time grasping stack and heap and why they are leaking memory

>game dev
Learn how to draw, 3D model or play music
Programming doesnt matter as much anymore, and youโ€™ll have to use game makerโ€™s or unreal 5โ€™s own language anyway.
Replies: >>105904527 >>105904762 >>105905916
Anonymous
7/14/2025, 6:59:38 PM No.105904527
>>105904425
>I think all programmers should know c++, because it gives you a good perspective on how the program actually works.
This but C
Replies: >>105906843
Anonymous
7/14/2025, 7:23:50 PM No.105904762
>>105904381
Thank you for writing that reply anon.
I did played around with godot/unity as of late and made a couple of complete games with them. I was thinking about making a pretty simple game to begin with, because every single time that I start to think about making a game, I hate that I don't even know what goes under the hood and the general architecture that goes behind the game. I'm not against using an already existing game engine to make a game but I just want to know how gamedev works, If that makes sense.
For example how do game engines render stuff or how does an animation state even works that sort of thing and I feel like all of those structures have been implemented on c++ or c.
>>105904425
Any good resource that I should check out to learn a bit more about c++? I know that stackoverflow has a "Book guide on c++" so not sure if I should use that instead.

>Learn how to draw, 3D model or play music
I know almost all of those aside from for music.
>and youโ€™ll have to use game makerโ€™s or unreal 5โ€™s own language anyway.
I know that UE5 has it's own flavor of c++ to it but I just want to know how does gamedev even works, feels like it might be a good thing to know and have
Replies: >>105904990
Anonymous
7/14/2025, 7:31:00 PM No.105904834
[auto]
auto<auto> autObj[auto] = {auto, auto, auto};
[/auto]
Replies: >>105905035
Anonymous
7/14/2025, 7:46:05 PM No.105904990
>>105904762
the main interesting part of engines that is pure black magic is the shading part.
the convenient part is the mapping / physics / component system / and all sorts of plugins, it's complex but really simple / not necessary in a 2D game.
putting triangles on the screen + animations is a really basic part of the engine, it really is just copy the data from the 3d model file and put it into the graphics API, the actual code is a clusterfuck because engines support 100 3d model formats and 100 graphics backends, but boil it down to just 1 model format and 1 graphics backend, that's potentially just a few hundred to a few thousand lines of code to get a 3d model animated in a game (depending on the libraries you choose).
The engines should provide a way of being able to just dump raw vertices + texture UV coordinates into the game, that's not much different than doing it from scratch, and you could make a whole game using just that raw API in theory.
Replies: >>105905186
Anonymous
7/14/2025, 7:49:37 PM No.105905035
>>105904834
uhh are you retarded?
you forgot static constexpr constinit [[nodiscard]]
Replies: >>105912693
Anonymous
7/14/2025, 7:55:32 PM No.105905107
i do not care for win32 gui programming
Anonymous
7/14/2025, 8:02:25 PM No.105905186
>>105904990
Hmm interesting... I might have to read a bit more about it then before jumping into it
now I'm just realizing, should I move my questions to >>105887296 instead? since it's not about daily programming anymore
But thank you so much!
Anonymous
7/14/2025, 9:10:53 PM No.105905916
>>105904425
>I think all programmers should know c++, because it gives you a good perspective on how the program actually works. People who started on python have a hard time grasping stack and heap and why they are leaking memory
C teaches you everything you need to know about this and tacks on way less bullshit
Replies: >>105906843
Anonymous
7/14/2025, 9:33:50 PM No.105906187
Is Dr. Fuuzetsu still lurking here? ;33333
Replies: >>105906250
Anonymous
7/14/2025, 9:38:53 PM No.105906250
>>105906187
he's busy having sex with nip qts (within the io monad)
Replies: >>105906339
Anonymous
7/14/2025, 9:45:38 PM No.105906339
>>105906250
>within the io monad
oh no... still a virgin I see (sex is a side effect)
Anonymous
7/14/2025, 10:34:54 PM No.105906843
1751975906420723
1751975906420723
md5: 3b65ebd33edd159526426011ae03039c๐Ÿ”
>>105904527
>>105905916
C is like school in july
No. Class.
Anonymous
7/14/2025, 10:38:16 PM No.105906889
>>105889098
All the hot girls use Rocq
Replies: >>105914641
Anonymous
7/14/2025, 10:48:30 PM No.105906999
https://greasyfork.org/en/scripts/368389-youtube-time-remaining/code

I've never seen this kind of code, what is this?
Anonymous
7/14/2025, 10:52:17 PM No.105907034
Anyone know how to stop procrastinating when it comes to programming? Its been 2 weeks since I set my goal to program at least 6 hours a day and I haven't even programmed 1 hour in the last 2 weeks. One of the reasons is because I want to use github to familiarize myself using github but idk where to start from or what program to create that isn't just something simple. Next to work something a company wouldcwork on.
Replies: >>105907107 >>105908396 >>105908577 >>105923760
Anonymous
7/14/2025, 11:01:27 PM No.105907107
>>105907034
Put on a maid dress
Anonymous
7/14/2025, 11:39:36 PM No.105907537
1734060233270201
1734060233270201
md5: 490e150cfa24f14bb4bc467f1be5c5cb๐Ÿ”
Really good video if anyone is interested in how SPARK works in Ada: https://www.youtube.com/watch?v=tYAod_61ZuQ
Replies: >>105908396
Anonymous
7/14/2025, 11:59:54 PM No.105907770
9604e8eff93ce554
9604e8eff93ce554
md5: 7e7ca92253c4cb3b8c2de3244ad437f2๐Ÿ”
Replies: >>105908149
Anonymous
7/15/2025, 12:00:51 AM No.105907777
>>105902256
americans dont know what this means
Replies: >>105911311
Anonymous
7/15/2025, 12:41:04 AM No.105908149
>>105907770
replace it with an anime pic
Anonymous
7/15/2025, 1:03:45 AM No.105908396
>>105907034
adhd
sorry nona i have no idea how to fix it, i graduated uni and i still have the same issue
>>105907537
how does this compare to like separation logic
Replies: >>105908577 >>105908604
Anonymous
7/15/2025, 1:21:30 AM No.105908577
>>105907034
>>105908396
Instead of planning a time frame, organize ideas of what you want to achieve. Distill it into small problems, and just try to solve them. The fact that you have the problems laid out in front of you is going to guide your actions. Everything else still distracts, but once you've tried solving a specific problem, planning happens naturally. I have adhd and I just decided I won't work regular hours. It helps that I don't have a schedule, since after I start I tend to hyper focus and lose track of time. Then it's just experimenting and seeing what works for you.
Anonymous
7/15/2025, 1:23:45 AM No.105908604
>>105908396
>how does this compare to like separation logic
Probably less powerful when talking about unrestricted pointers, but SPARK leverages off Ada's already strict aliasing rules and uses borrow checking for situations where it's needed. Explicit pointers aren't relied upon directly nearly as much in Ada as in C so I'm not certain if there are actual limitations in comparison.
Anonymous
7/15/2025, 1:59:00 AM No.105908906
>>105889045
>Also compilers are too stupid to *not* do clever things.
This is a dumb thing to say and could only have come from an extremely low-powered brain.
Replies: >>105910886
Anonymous
7/15/2025, 4:29:05 AM No.105910225
1_Lifm92oXamrKf4_9Ry4yQA
1_Lifm92oXamrKf4_9Ry4yQA
md5: 7ac740e9a96d6dca5e73bf9cf1e64d3f๐Ÿ”
Weirdest question ever asked on /dpt/ but does anyone have pictures of bjarne stroustrup in his 20s and 30s, I want to see when his hairline gave out on him.
Replies: >>105912661
Anonymous
7/15/2025, 4:49:40 AM No.105910366
file
file
md5: f46d8ee83e778e5c86c0a8ec0e1b46aa๐Ÿ”
>>105889001 (OP)
>What are you working on, /g/?
decided to start my own personal project and make a desktop app using electron and react. Probably not the best approach but I only have front end background so it is easier for me.
Also using Claude.ai as a learning tool to actually learn shit because I am tired of watching outdated youtube videos.
I wonder if i can make money out of it somehow but I doubt it, I am not business savvy and the project is more neet oriented anyways
Replies: >>105911378
Anonymous
7/15/2025, 6:04:59 AM No.105910878
>>105889001 (OP)
Making a video game with Go and Raylib. It's been going well, learning lots of stuff. Just wanted to avoid complicated languages because a friend is working with me and he doesn't really have any programming experience. I will probably build my next project with my own language. It just isn't ready for that yet, so maybe next year.
Anonymous
7/15/2025, 6:07:02 AM No.105910886
>>105908906
it maybe makes sense if you're a hyper-cnile and you're used to the compiler completely rewriting your program for you
Anonymous
7/15/2025, 7:06:12 AM No.105911311
>>105907777
Itโ€™s literally an american book
Replies: >>105911370
Anonymous
7/15/2025, 7:14:33 AM No.105911370
>>105911311
americans can't read
Anonymous
7/15/2025, 7:16:03 AM No.105911378
>>105910366
you aren't learning shit from claude or youtube videos, dont kid yourself
take a step towards real mastery of something in your life (for once) and get a book or just a language reference/docs and take the time to actually learn something meaningful
Replies: >>105911716 >>105914204
Anonymous
7/15/2025, 8:01:15 AM No.105911716
>>105911378
So, how much money did you waste on books? And did the job you never have pay back for them?
Replies: >>105911896 >>105911904
Anonymous
7/15/2025, 8:29:00 AM No.105911896
>>105911716
no money spent on books is wasted
Replies: >>105911970
Anonymous
7/15/2025, 8:30:10 AM No.105911904
17522706012491305
17522706012491305
md5: 525dc43437d6f74b52917eb896415446๐Ÿ”
>>105911716
>buying books
My chigga, are you under 15 or over 50?
Replies: >>105911970
Anonymous
7/15/2025, 8:40:19 AM No.105911970
1752065870041442
1752065870041442
md5: d857b8bc47e3367c275abbda1ff4b2fc๐Ÿ”
>>105911904
>>105911896
A book is made from paper, good sir. If there's no paper in your hands, it's not a book.
Replies: >>105912678
Anonymous
7/15/2025, 9:07:38 AM No.105912196
>>105897610
What a lonely sad existence going on 4chan just to angry post all the time.
Anonymous
7/15/2025, 10:19:15 AM No.105912661
>>105910225
probably very early on, which allowed him to disregard whores, and put all of his vital energy into designing C++.
Replies: >>105913580
Anonymous
7/15/2025, 10:21:48 AM No.105912678
>>105911970
Okay. You can spend 150 dollars on a โ€œrealโ€ 5 kilogram paperback you will never read, or do what I did and read two dozen programming books for free on my phone on the bus for the same knowledge
Anonymous
7/15/2025, 10:25:01 AM No.105912693
cpp_const
cpp_const
md5: bda5355e52aa706aeeb520deaf9b8ca7๐Ÿ”
>>105905035
>forgot noexcept
>forgot final
ngmi
Replies: >>105914253 >>105914304
Anonymous
7/15/2025, 11:18:52 AM No.105913027
>>105904221
yeah, C++ is a pretty transferable skill, so once you discover gamedev is a steaming pile of shit, you can use it to get a real job.
Anonymous
7/15/2025, 11:57:42 AM No.105913233
I got bullied last week for being a web dev so I bought an arduino and i am having a lot of fun. Thank u bully guy on here
Replies: >>105913339 >>105913450 >>105913467
Anonymous
7/15/2025, 12:11:23 PM No.105913339
>>105913233
>Haha look at that guy he has a job!
Replies: >>105913480
Anonymous
7/15/2025, 12:26:31 PM No.105913450
>>105913233
>arduino
ngmi
Replies: >>105913467
Anonymous
7/15/2025, 12:29:38 PM No.105913467
>>105913233
very cool, anon. what are you making?
>>105913450
next week: arduino anon grows his own silicon crystals, and makes chips to fit in.
Replies: >>105913515
Anonymous
7/15/2025, 12:30:37 PM No.105913480
>>105913339
This but unironically. Jobs are for losers.
Anonymous
7/15/2025, 12:35:33 PM No.105913515
>>105913467
I've familiarised myself with all the components of the kit I bought. printed nigger on the lcd screen. made a retarded robot arm with some old KNEX toy parts. might try automating watering my greenhouse later if I can get a reliable soil humidity sensor
Replies: >>105913532
Anonymous
7/15/2025, 12:38:32 PM No.105913532
>>105913515
>printed nigger on the lcd screen
based
>automating watering my greenhouse
based^2
>reliable soil humidity sensor
I keep hearing that getting one that won't corrode, seep aids into the soil, and give you cancer can be a challenge.
Anonymous
7/15/2025, 12:39:05 PM No.105913540
>try to build chromiumos using the official document
>doesn't even build
I hate google so fucking much
Replies: >>105913559
Anonymous
7/15/2025, 12:41:55 PM No.105913559
>>105913540
for me it's
>consider building something from google
>see depot_tools.git
>dropped
everything they make is fucking cancer
Anonymous
7/15/2025, 12:42:12 PM No.105913562
Is anyone else here working a programming job that pays comfortably well but is boring as fuck otherwise? Iโ€™ve started to feel so in the last 2 months. How do you escape this trap?

>t. junior Python developer
Replies: >>105913573 >>105914125 >>105916041 >>105916823
Anonymous
7/15/2025, 12:44:15 PM No.105913573
>>105913562
I am working a programming job that is fucking hard, pays meh, and makes me want to kms every single second of my conscious existence. thank god for alcohol.
Replies: >>105913827
Anonymous
7/15/2025, 12:45:54 PM No.105913580
>>105912661
he's married with 2 children.
Anonymous
7/15/2025, 1:24:47 PM No.105913827
>>105913573
The ones that are hard usually have the better exit opportunities. No pain, no gain. I feel stuck in comparison.
At least I hope youโ€™re learning something useful unlike me. Probably embedded development.
Anonymous
7/15/2025, 2:10:49 PM No.105914125
>>105913562
learn a new language and start a hobby project
Anonymous
7/15/2025, 2:20:11 PM No.105914178
I'm going to draw a rectangle and nobody here can stop me.
Anonymous
7/15/2025, 2:25:17 PM No.105914204
>>105911378
>you aren't learning shit from claude or youtube videos, dont kid yourself
idk man but it has been pretty fun.
Anonymous
7/15/2025, 2:31:02 PM No.105914253
>>105912693
^^reflexpr template<template<typename>,class,auto> template<> decltype(auto) pre() post(x: &x) f() override
Anonymous
7/15/2025, 2:38:45 PM No.105914304
>>105912693
The pic makes no sense, you know?
Anonymous
7/15/2025, 3:21:27 PM No.105914641
>>105906889
Sucks to write
Anonymous
7/15/2025, 3:57:57 PM No.105914943
1750402412756450
1750402412756450
md5: 463bb422914b5120eb84912cf8af478c๐Ÿ”
Is there anything game related I can use C for besides fucking around in Quake's source code?
Replies: >>105915028 >>105915583 >>105916308 >>105916849
Anonymous
7/15/2025, 4:07:37 PM No.105915028
>>105914943
>raylib
>quake source ports
>orx for 2d https://github.com/orx/orx
Some game engines made in have C bindings around.
You could maybe even use godot with C because I think their scripting interface is used by C API.
Anonymous
7/15/2025, 5:22:30 PM No.105915568
1748584556177801
1748584556177801
md5: d939bbe9a2788aad02f01489c8edeb11๐Ÿ”
chatgpt helped me find a memory leak in a public repo

i can now contribute and raise my standing
Anonymous
7/15/2025, 5:24:05 PM No.105915583
>>105914943
this is exactly what they invented transpilers for

any code written by trannies can be transpiled into C and will run better
Anonymous
7/15/2025, 6:16:26 PM No.105916041
>>105913562
>python developer
Brutal, python devs get paid like shit.
Replies: >>105916223
Anonymous
7/15/2025, 6:34:55 PM No.105916223
>>105916041
Although I donโ€™t get paid like shit, the situation is a bit sorry for me
Anonymous
7/15/2025, 6:47:40 PM No.105916308
>>105914943
zachtronics style game where you have to hack on a c compiler
Anonymous
7/15/2025, 7:39:15 PM No.105916823
>>105913562
>programming job that pays comfortably well but is boring as fuck otherwise
i used to have a job like that and i wish i could back back. it beats high paying but stressful
Anonymous
7/15/2025, 7:40:48 PM No.105916840
// Open file to search in
FILE *fptr = fopen(argv[1], "rb");
if (fptr == NULL) {
printf("Error opening file %s\n", input);
return 1;
}

// The variables we'll use to keep track of things
int counter = 0;
uint8_t buffer[512];
FILE *curr_out = NULL;
size_t bytes_read = 0;
// Main "reading" loop
while ((bytes_read = fread(buffer, sizeof(uint8_t), 512, fptr)) == 512) {
if (ferror(fptr)) {
printf("Error when reading from file %s\n", input);
break;
}

// Check if found a valid JPEG Signature Header
if (isValidJPEG(buffer)) {
// Close current file if open
if (curr_out != NULL) {
fclose(curr_out);
}

// Create new filename and open new file
char filename[50];
sprintf(filename, "%03d.jpg", counter);

curr_out = fopen(filename, "wb");
if (curr_out == NULL) {
printf("Error opening file %s\n", filename);
break;
}

// Write current buffer to file
fwrite(buffer, sizeof(uint8_t), bytes_read, curr_out);

counter++;
} else if (curr_out != NULL) {
// We're in the middle of a JPEG - keep writing
fwrite(buffer, sizeof(uint8_t), bytes_read, curr_out);
}
}

// Close files and free memory if needed
fclose(fptr);
// don't forget to close last file if it's still open
if (curr_out != NULL) {
fclose(curr_out);
}
return 0;

I feel like there might be something wrong in this working code.
The way I'm checking the .raw file to see if I found a JPG file is checking the first 4 bytes, which are always supposed to be specific values. But I'm only checking on the first four bytes of every 512 bytes block.
This is just an accommodation or for the sake of simplicity of the problem I was given to solve, right?
Replies: >>105924465 >>105924490
Anonymous
7/15/2025, 7:41:48 PM No.105916849
>>105914943
Not going to lie, Carmack looks incredible for being almost 60
Anonymous
7/15/2025, 7:50:36 PM No.105916922
>>105892251
>>105891496

unsigned values instantly means defected code.
please always use signed values retards unless you're doing bit manipulations.
next
Replies: >>105916941
Anonymous
7/15/2025, 7:52:54 PM No.105916941
>>105916922
>he needs my signature on all of my integers
Anonymous
7/15/2025, 7:57:55 PM No.105916981
I've written a corss platform filesystem header file for C doing conditional compilation like this, am i retarded? I could not find any useful one online.
Maybe i should use integers as return values but whatever.

// Example: file_copy
bool file_copy(const char* src, const char* dst, bool overwrite) {
#ifndef _WIN32
int src_fd = open(src, O_RDONLY, 0);

struct stat statbuf;
if (fstat(src_fd, &statbuf) != 0) return false;
isize src_size = statbuf.st_size;

int flags = overwrite ? O_TRUNC : 0;
int dst_fd = open(dst, O_WRONLY | O_CREAT | flags, S_IRWXU | S_IRWXG | S_IRWXO);

if (sendfile(dst_fd, src_fd, NULL, src_size) == -1) return false;
if (close(src_fd) != 0 || close(dst_fd) != 0) return false;

return true;
#else
BOOL res = CopyFile(src, dst, !overwrite);
return res;
#endif
}
Replies: >>105917012
Anonymous
7/15/2025, 8:03:16 PM No.105917012
>>105916981
>BOOL res =
>return res;
i hate it
Replies: >>105917056
Anonymous
7/15/2025, 8:07:16 PM No.105917056
>>105917012
i probably had more code in between there and forgot to clean it
Anonymous
7/15/2025, 9:12:14 PM No.105917744
Does AI code better than the average /g/entoman?

ohara.ai
Replies: >>105917822
Anonymous
7/15/2025, 9:19:40 PM No.105917822
>>105917744
purchase an advertisement pajeet
Anonymous
7/15/2025, 9:23:20 PM No.105917857
im learning about mvvm, i think i have a somewhat clear picture of how it works, but one thing im not sure about is how an mvvm app handles global services like authentication, without using a dependency injection package an mvvm setup could look like

LoginView(
LoginViewModel(
UserRepository(AuthService, UserProfileService)
)
)


so if i want to authenticate the user on every screen, I would need to make it a constructor dependency on all the views that need it? like

FavoritesView(
FavoritesViewModel(
UserRepository(AuthService, UserProfileService),
FavoritesRepository(FavoritesService)
)
)


? i guess i should ask wdg since mvvm is more of a web/app development architecture
Anonymous
7/15/2025, 10:06:20 PM No.105918266
After fiddling around making a math formula REPL, I've realized that tokenization and parsing are easier than I thought
I think I might fuck around and make my own JSON-like, DSL, or scripting language (or all of the above)
Anonymous
7/15/2025, 10:26:08 PM No.105918496
000001
000001
md5: 9e4c6cb3b991db9a88ed32c0149db6cf๐Ÿ”
Goodest NodeJS templating engine?
>for rendering HTML?
Nah, other server stuff.
Anonymous
7/15/2025, 11:25:59 PM No.105919188
Screenshot From 2025-07-15 17-25-36
Screenshot From 2025-07-15 17-25-36
md5: 9a40f8fb6559ae450184d4457c98c443๐Ÿ”
https://github.com/banach-space/llvm-tutor
How do I actually integrate an LLVM plugin into CMake seamlessly though. I don't want this fuckass IR detour shit.
Replies: >>105920523
Anonymous
7/15/2025, 11:33:39 PM No.105919279
give me your favorite coding theme
Anonymous
7/15/2025, 11:37:21 PM No.105919310
>>105903050
Fair enough thanks

>>105904270
Glad I could make you seethe you pathetic little bitch
Replies: >>105919547
Anonymous
7/16/2025, 12:05:22 AM No.105919547
>>105919310
>reddit space
kys gptposter
not a single fucking soul gives a shit about what you have asked gpt or what it has told you
if it wasnt for all the restrictions, gpt itself would tell you this (including to kys)
Replies: >>105924559
Anonymous
7/16/2025, 12:21:13 AM No.105919700
my system has a dbus service that segfaults
how do i manage to attach a gdb to that motherfucker, it ACKs itself on start and only when invoked as root by dbus
Replies: >>105921224
Anonymous
7/16/2025, 1:42:29 AM No.105920523
Screenshot From 2025-07-15 19-41-20
Screenshot From 2025-07-15 19-41-20
md5: 09ad7047112f4a4d5869fc7f4c43789a๐Ÿ”
>>105919188 (Me)
lol well this works I guess.
Anonymous
7/16/2025, 3:05:57 AM No.105921141
1752620491651110_thumb.jpg
1752620491651110_thumb.jpg
md5: 02fbfc4b9eae1d5918ecc837bf7d9c9b๐Ÿ”
Replies: >>105921639
Anonymous
7/16/2025, 3:17:45 AM No.105921224
>>105919700
figure out if it has debug symbols, if it doesn't you're SOL
figure out how to get it to die when running it manually, good luck trying to attach GDB to a "running" process that dies immediately

are you sure it's killing itself? how do you know something else isn't doing it
Anonymous
7/16/2025, 4:24:16 AM No.105921639
>>105921141
Looks like it's indexed improperly.
Notice how the vertices are still in the place of a car.

Keep up the good work lad. OpenGL is generally like getting kicked in the head.
Replies: >>105921714
Anonymous
7/16/2025, 4:34:26 AM No.105921714
screenshot
screenshot
md5: dcf30dd7f157b534ae523348b32ebe60๐Ÿ”
>>105921639
I wish it was OpenGL. I wrote an OpenGL renderer to make an editor for this game before I started a true decompilation, that looks perfect. Right now I'm trying to get their bespoke software rendering working.
Anonymous
7/16/2025, 5:11:49 AM No.105921981
2025-07-15 20-06-38_thumb.jpg
2025-07-15 20-06-38_thumb.jpg
md5: ffeead5db6b3f8f34924c35dec0b197f๐Ÿ”
Anonymous
7/16/2025, 9:38:08 AM No.105923442
should I use c++ module now? learned it a while ago, but intellisense was buggy with it
is it okay now?
Replies: >>105923479
Anonymous
7/16/2025, 9:45:55 AM No.105923479
>>105923442
no use case unfortunately
Anonymous
7/16/2025, 10:13:54 AM No.105923659
f5a1d1879f083e4a
f5a1d1879f083e4a
md5: c548ccf5e03e9f01fc2e47f3aa687025๐Ÿ”
hahahaha CLion works with msvc6
Even works with the lldb debugger
Replies: >>105923804
Anonymous
7/16/2025, 10:16:02 AM No.105923678
>>105893234
you should be able to type that enum as : char.
Why all the bitfields?
Anonymous
7/16/2025, 10:18:17 AM No.105923691
>>105896343
the PDP-11 had speculative execution, a MMU, caches etc. etc., your computer *is* a fast PDP-11.
The only thing it lacked is a massively parallel co-processor (a GPU)
Anonymous
7/16/2025, 10:21:39 AM No.105923725
>>105898316
I say
/kษ›ษ™/
/bJn/
/su.dษ™w/
/i.num/
/strสŠkt/
so 2 1 1 2 1
Anonymous
7/16/2025, 10:25:30 AM No.105923760
>>105907034
6h is way too lofty a goal if you don't even do 1h.
I'd recommend some kind of routine, eg
"every time I come back and sit down at my computer I will programme for 15 minutes".
And stick to that, the first and immediate thing you do is programme for those 15 minutes. Sit down a couple times over the day and you'll have programmed for an hour.

then you can scale up as necessary.
Anonymous
7/16/2025, 10:32:18 AM No.105923804
c1648da6e3a8f6dc
c1648da6e3a8f6dc
md5: 73bf45d79ff1d7bb144e0046f9dace95๐Ÿ”
>>105923659
>clangd HATES msvc6
Anonymous
7/16/2025, 11:31:42 AM No.105924188
It's been over a year since my last non-trivial (<1000 line) programming project. I feel like I've learned everything I've wanted to learn. How do I reignite the interest?
Anonymous
7/16/2025, 11:50:14 AM No.105924264
>>105903685
I write sizeof *variable because it makes people afraid.
Anonymous
7/16/2025, 11:52:24 AM No.105924278
Screenshot from 2025-07-16 11-52-00
Screenshot from 2025-07-16 11-52-00
md5: 35b3133bee1beaeb0411c93e72a3e761๐Ÿ”
>>105903685
fukkkk
now thats trany coded im gonna have to change my muscle memory
Replies: >>105924446
Anonymous
7/16/2025, 12:23:40 PM No.105924446
>>105903685
>>105924278
It's okay. It's actually Windows code style coded.
Replies: >>105924503
Anonymous
7/16/2025, 12:26:06 PM No.105924465
>>105916840
this is utterly retarded, and all those comments make me think this was made by an AI.
Why are you checking the 4 bytes header every 512 bytes? Just do it once, and if it isn't a JPEG, early return.
Then you fseek back to the start, and copy the file contents to the output one.
Simplicity? This was way harder to read than it should. Don't do this kind of shit ever again
Anonymous
7/16/2025, 12:29:19 PM No.105924490
>>105916840
Don't worry anon, your code is still in top 10% in terms of C code quality.
Anonymous
7/16/2025, 12:31:32 PM No.105924503
>>105924446
pfew
but
with or without space?
Replies: >>105924521
Anonymous
7/16/2025, 12:36:18 PM No.105924521
>>105924503
with
Replies: >>105924556
Anonymous
7/16/2025, 12:42:57 PM No.105924556
>>105924521
based
ive been taught right then
i had to follow a norm when writing c at school
Anonymous
7/16/2025, 12:43:13 PM No.105924559
>>105919547
Glad I could make you seethe, you pathetic little bitch