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

Anonymous
6/17/2025, 4:53:57 PM No.105621602
1358677227600
1358677227600
md5: 93a38ff49db8425a9ebef30daf64a65e🔍
What are you working on, /g/?

Previous thread: >>105601261
Replies: >>105622342 >>105627052 >>105628240 >>105638374 >>105638632
Anonymous
6/17/2025, 4:58:51 PM No.105621642
final_verdict_2
final_verdict_2
md5: 5a68df76478f9f047bf6745e2650e858🔍
Threadly reminder.
Replies: >>105621760 >>105621784 >>105634775
Anonymous
6/17/2025, 5:11:38 PM No.105621760
>>105621642
Boooo
Get better material
Anonymous
6/17/2025, 5:14:20 PM No.105621782
Why? It works as intended.
Replies: >>105621806
Anonymous
6/17/2025, 5:14:37 PM No.105621784
>>105621642
Mentally ill xisters.. our response??
Replies: >>105624400
Anonymous
6/17/2025, 5:17:15 PM No.105621806
>>105621782
Your shtick is getting old
Anonymous
6/17/2025, 5:30:00 PM No.105621901
1725913806451960
1725913806451960
md5: 00d627b0a647b91cc0ba95bddebb7b01🔍
Replies: >>105622079
Anonymous
6/17/2025, 5:31:12 PM No.105621915
>it's getting old
OK, and?
Anonymous
6/17/2025, 5:41:19 PM No.105621994
best programming language for an african-american?
Replies: >>105622267
Anonymous
6/17/2025, 5:53:22 PM No.105622079
>>105621901
lol
Anonymous
6/17/2025, 6:15:14 PM No.105622267
>>105621994
I'm going to invent the true C successor language and name it Floydian just to anger the chuds
Anonymous
6/17/2025, 6:16:31 PM No.105622282
Trying to code a generic optimization algorithm, kind of like a SAT solver but for optimizing a binary string for an arbitrary loss function.

Also why is the anime girl upside down in these threads?
Anonymous
6/17/2025, 6:23:42 PM No.105622342
>>105621602 (OP)
dont know if this is the right thread, but ill be taking a data structures and algorithms class next semester. I was wondering what i could do to prepare for that class before the semester starts. Im fine math wise, passed calc 1,2 and linear algebra with an A
Replies: >>105623014
Anonymous
6/17/2025, 7:40:04 PM No.105623001
>win32 is c
>directx is c++
thank you mr gates
Replies: >>105623089 >>105623109 >>105628497
Anonymous
6/17/2025, 7:41:20 PM No.105623014
>>105622342
learn how to do manual memory management and work with pointers
ignore the arena autist
Replies: >>105623770
Anonymous
6/17/2025, 7:42:44 PM No.105623026
>need to implement a pub/sub message queue with fan-out and at-least-once delivery and with storage of all published messages for about a month, regardless of if the message was delivered or not
Just how fucked am I? To be clear, there's no requirement that says I can't piggy back off existing solutions, but still.
Anonymous
6/17/2025, 7:45:12 PM No.105623052
f312cd7aaa8b780e2f89c96857492ad132ba6d7f330a9286b28aefcf7149c459
>My branch is getting hit with layoffs at the end of the year
>Get told by several superiors that there might be a few positions open at a different branch
>Need to be laravel
>Have never written a single line of php
Should I do it? I got half a year, it's not even a guarantee I'll get it

>From Java to Python to PhP
what a joke it'd be
Replies: >>105623063 >>105623742
Anonymous
6/17/2025, 7:46:13 PM No.105623063
>>105623052
proficient in laravel* oops
Anonymous
6/17/2025, 7:48:38 PM No.105623089
>>105623001
Microsoft was always an early adopter of C++, win32 is C because of backwards compatibility. MFC is even older than DirectX, going back to their 1992 compiler and is also C++.
Anonymous
6/17/2025, 7:49:21 PM No.105623097
primer_malloc_3
primer_malloc_3
md5: 3f2ecbd1a9572ab5f597bba9a50755e0🔍
>ignore the arena autist
Or else? Gonna have a public meltdown in which you decry the fall of /dpt/?

Please do. It amuses us all.
Anonymous
6/17/2025, 7:50:06 PM No.105623109
>>105623001
Within 2 years all APIs will be rewritten in Rust.
Replies: >>105623149 >>105623436 >>105624959 >>105625446
Anonymous
6/17/2025, 7:53:43 PM No.105623149
1694746558412431
1694746558412431
md5: 025f5332b7c35a73e614bb6d4ad6c7fe🔍
>>105623109
I unironically can't wait for things to get worse. People deserve to suffer for their laziness and stupidity.
Replies: >>105623648
Anonymous
6/17/2025, 8:24:41 PM No.105623436
>>105623109
rust is a gay meme language and everyone investing in it is going to regret their life decisions
Anonymous
6/17/2025, 8:38:10 PM No.105623546
classy_shoes_cigars_tophat_alchol
classy_shoes_cigars_tophat_alchol
md5: 0af03c1839cd65895dd8bd496b8d8b23🔍
I've been writing a server in Python to deal with some market-related datasets. One of the guys I respect at work, a real entrepreneur who's pulled of some nice side-hustles, was decrying the use of things like Rust, Golang, and other niche languages instead of just using Python, so I thought'd I'd give the danger snake another shot.

It's not so bad. The language kind of feels like a mess that's pretending to be shell script and there's a few too many implicit behaviors, but looking past that I've been able to get some stuff done pretty quickly.
Replies: >>105623627 >>105623757
Anonymous
6/17/2025, 8:46:29 PM No.105623627
>>105623546
Y no Perl?
Replies: >>105623742
Anonymous
6/17/2025, 8:49:12 PM No.105623648
>>105623149
>amerifats all lose weight
>student debt racket collapses under its own weight
based chad with the reverse monkey paw
Replies: >>105623675 >>105623735
Anonymous
6/17/2025, 8:52:50 PM No.105623675
>>105623648
You forgot the brown masses coming to eat them alive, and the military being too busy arresting people for no longer paying their debt.
Anonymous
6/17/2025, 9:01:32 PM No.105623735
>>105623648
>americans triple their eating
>defaulters get sold into slavery to die for israel
you asked for it
Replies: >>105623760
Anonymous
6/17/2025, 9:02:55 PM No.105623742
1667406627551126
1667406627551126
md5: e901346f14176af57ee4703206e1400a🔍
>>105623052
>Should I do it? I got half a year, it's not even a guarantee I'll get it
Six months is a long time. Their needs might change in a quarter and a half and they could drop Laravel, so maybe you'll be out of a job regardless.
On the other hand, you have half a year to to bone up your resume and find another job.

PHP isn't a bad long-term bet if you're looking for job security. If you want to stand out from the competition, you could put up a website that does something novel and blog about working with the language(plus the frameworks you're using), which would make you way more appealing then the legion of boot-campers and vibe coders.
Personally, I think that in the next five years the focus is going to get even stronger on people who display a strong proficiency in their language and can also do Ops related work. Language knowledge because it's the best way to filter vibe coders(hip check questions like 'what's a call stack?') and Ops knowledge because infrastructure-as-code still hasn't become infrastructure-as-a-prompt and even when it does, it'll probably still create massive spend, plus more companies are moving away from AWS, Azure, and GCP anyway due to cost.
>>105623627
>Y no Perl?
As I said, I'm going off what my senior said with just using the language everyone else is using.
But from a cursory glance, I'll consider trying it if I have some large text-processing job instead of using shell scripts.
I've also wanted to give Lua a shot honestly, because having just one data structure(tables are associative arrays) in your language sounds peak.
Anonymous
6/17/2025, 9:05:05 PM No.105623757
>>105623546
He's a moron. You either use apache/nginx + PHP, or you move onto memes that are node.js/go, everything else is too esoteric or straight up trash.
Replies: >>105623792
Anonymous
6/17/2025, 9:05:26 PM No.105623760
>>105623735
>>americans triple their eating
i don't think that's physiologically possible
Anonymous
6/17/2025, 9:06:13 PM No.105623766
>project over budget and timeline
>working off the clock to get things done
programming was a mistake
Anonymous
6/17/2025, 9:06:55 PM No.105623770
>>105623014
This, arenas are garbage, remember: malloc uses arenas, you aren't smart for using garbage allocator but manually.
Anonymous
6/17/2025, 9:11:35 PM No.105623792
>>105623757
>everything else is too esoteric or straight up trash.
Really? Making APIs with FastAPI in Python is some of the easiest coding I've ever done.
Replies: >>105623794
Anonymous
6/17/2025, 9:12:07 PM No.105623794
>>105623792
And it runs slower than deader dog.
Replies: >>105623811 >>105623831
Anonymous
6/17/2025, 9:14:33 PM No.105623811
>>105623794
Maybe, but if you're not handling more then a hundred requests a second it's not really an issue. Then it's super simple to just re-write the thing in Golang.
Replies: >>105623836
Anonymous
6/17/2025, 9:16:39 PM No.105623831
>>105623794
if you care about performance you shouldn't be using PHP either. at least python is somewhat sane.
Replies: >>105623848
Anonymous
6/17/2025, 9:17:12 PM No.105623836
>>105623811
If you aren't handling more than a hundred requests a second, what do you need a server for? Not like you make any money.
Replies: >>105623884
Anonymous
6/17/2025, 9:18:48 PM No.105623847
give it to me straight /dpt/, is it a waste of time learning c/c++ in 2025? is rust the future?
Replies: >>105623863 >>105623864
Anonymous
6/17/2025, 9:19:04 PM No.105623848
>>105623831
>at least python is somewhat sane.
lmfao
Anonymous
6/17/2025, 9:20:44 PM No.105623863
>>105623847
no not really. just like cobol and fortran, they're so embedded with existing infrastructure they're probably not ever going to go away without total societal collapse, or a breakaway civilization.
Anonymous
6/17/2025, 9:20:45 PM No.105623864
>>105623847
you trannies need to leave
Anonymous
6/17/2025, 9:24:17 PM No.105623884
>>105623836
>If you aren't handling more than a hundred requests a second, what do you need a server for?
Off the top of my head:
- Cloud operators that respond to git hooks
- Alert remediation servers(Netflix had one written in FastAPI)
- Discord/Slack/Mattermost bots
- Smaller SASS apps
>Not like you make any money.
Nah. You can make a lot of money by rolling a K8S operator and charging for support, writing bots, or creating apps that just basically front ChatGPT.
Replies: >>105623901
Anonymous
6/17/2025, 9:26:49 PM No.105623901
>>105623884
You could make more money by not writing bots in slowest language possible.
Replies: >>105623945
Anonymous
6/17/2025, 9:31:42 PM No.105623939
How much slower would a video game written in C++ be than one written in C?
Replies: >>105623950
Anonymous
6/17/2025, 9:32:20 PM No.105623945
Esq5cC9UwAAD-PY
Esq5cC9UwAAD-PY
md5: b3901435b071a3d26c65b9226527fe10🔍
>>105623901
>You could make more money by not writing bots in slowest language possible.
You could also make less.
Anonymous
6/17/2025, 9:32:54 PM No.105623950
>>105623939
12fps slower
Anonymous
6/17/2025, 9:44:32 PM No.105624024
death_penalty
death_penalty
md5: 6bea62063c46230c707ed4ed5a6a01d3🔍
>you aren't smart for using garbage allocator
Spoken like a true retard who would be the first to be doxxed.
Anonymous
6/17/2025, 9:51:33 PM No.105624076
hey regdump schizo, have you written yet anything more advanced than a program that just prints stuff to a terminal?
Replies: >>105624088 >>105629361
Anonymous
6/17/2025, 9:52:40 PM No.105624088
>>105624076
He couldn't even write code that checks if a string is "HOME". My code is faster.
Anonymous
6/17/2025, 9:53:34 PM No.105624092
movs
movs
md5: ef3b9b8c41331dd0fe00c300b3f1d4e7🔍
>my code is faster
Lol
Lmao
Replies: >>105624105 >>105624143
Anonymous
6/17/2025, 9:55:10 PM No.105624105
>>105624092
zen 5?
Replies: >>105624122
Anonymous
6/17/2025, 9:57:26 PM No.105624122
>>105624105
Go submit your tests to uops.info. And while you're at it you can as well show proof that CMP M32, I32 is slower than MOVABS R64, I64 + CMP M64, R64.
Replies: >>105624138 >>105624141
Anonymous
6/17/2025, 9:58:36 PM No.105624129
https://learn.microsoft.com/en-us/cpp/cpp/cpp-language-reference?view=msvc-170

will reading this make me a c++ master?
Replies: >>105624147 >>105624173
Anonymous
6/17/2025, 9:59:15 PM No.105624138
>>105624122
I don't need to do that, because your garbage code generates worse thing than 64 bit immediate.
Anonymous
6/17/2025, 9:59:27 PM No.105624141
>>105624122
Why don't you do it or better yet stop posting outdated references to platforms nobody uses?
Anonymous
6/17/2025, 9:59:47 PM No.105624142
>I don't need to do that
Now you do.
Anonymous
6/17/2025, 9:59:55 PM No.105624143
>>105624092
I mean, do measurements like this even mean anything on modern cpus with all the pipelining and shit?
Replies: >>105624147 >>105624148 >>105624164 >>105624292
Anonymous
6/17/2025, 10:00:38 PM No.105624147
>>105624129
no
>>105624143
yes
Anonymous
6/17/2025, 10:00:44 PM No.105624148
>>105624143
No, he's just sperging out after my benchmarks proved that my code is faster.
Anonymous
6/17/2025, 10:00:57 PM No.105624150
>Why don't you do it
Because everyone with a functioning brain understands why MOVABS + CMP is slower. Only incompetent /dpt/ autismos would be retarded enough to even question that notion.
Replies: >>105624153 >>105624178
Anonymous
6/17/2025, 10:02:05 PM No.105624153
>>105624150
Post code proving that it's slower for 5 bytes.
Anonymous
6/17/2025, 10:03:27 PM No.105624164
>>105624143
MOVABS is front-loaded, so yes.
Replies: >>105624182
Anonymous
6/17/2025, 10:04:27 PM No.105624170
>Post code
You made the claim your code is faster. You post code.

Which naturally you won't. Which means I win again. Again again.
Anonymous
6/17/2025, 10:04:55 PM No.105624173
>>105624129
>2021
Out of date
Anonymous
6/17/2025, 10:05:20 PM No.105624178
>>105624150
Literally has nothing to do with my reply. Maybe you can't afford a zen 5?
Anonymous
6/17/2025, 10:06:10 PM No.105624182
>>105624164
Irrelevant.
Anonymous
6/17/2025, 10:06:36 PM No.105624187
>no code or benchmark
Concessions past, present, and future accepted. Do not bother replying.
Replies: >>105624192 >>105624194
Anonymous
6/17/2025, 10:07:59 PM No.105624192
>>105624187
I already posted my superior code in previous thread, now post benchmarks that you run on real hardware and not godbolt, jeet.
Anonymous
6/17/2025, 10:08:06 PM No.105624194
>>105624187
Please tell us more about what the throughput is on your potato.
Replies: >>105624202
Anonymous
6/17/2025, 10:09:10 PM No.105624200
failure
failure
md5: bde1ff4c4911df0530540ca359c5288c🔍
>the incompetent autismos cannot obey the simplest of commands
>as always
Replies: >>105626555
Anonymous
6/17/2025, 10:09:21 PM No.105624202
>>105624194
movabs throughput is higher on my sandybridge, because it branches less than shitty 32 bit garbage he hallucinated to be faster, just ignore the schizo.
Anonymous
6/17/2025, 10:13:50 PM No.105624233
>just ignore the walls
Is that why incompetent autismos are always throwing themselves against them?
Anonymous
6/17/2025, 10:14:42 PM No.105624244
>just ignore the branching
Is this why that registry dumber only dumbs at pathetic 50MB/s? There are JSON parsers that run faster.
Replies: >>105624274
Anonymous
6/17/2025, 10:15:43 PM No.105624253
1749153078000845
1749153078000845
md5: d20d881a49454ba6158404e99c8ec701🔍
There are in fact 0 JSON parsers that run slower.
Anonymous
6/17/2025, 10:17:45 PM No.105624274
>>105624244
Fact check false, it's actually extremely fast according to 5 year old uops.info fiction.
Anonymous
6/17/2025, 10:18:14 PM No.105624280
>the incompetent autismos don't even know how many branches his slop produces
Voted doxxing. Now.
Anonymous
6/17/2025, 10:19:50 PM No.105624292
>>105624143
They only matter in the context of a specific CPU. Generally you aren't programming for a specific CPU in [current era], so in practice, no, not really.
Replies: >>105624303 >>105624312
Anonymous
6/17/2025, 10:21:19 PM No.105624303
>>105624292
>writing code for processors you don't use
cuckoldry
Replies: >>105624356
Anonymous
6/17/2025, 10:22:09 PM No.105624312
>>105624292
What CPU would movabs even matter on? You need to compare 5 bytes, what do you do, load twice and branch twice while hallucinating it's faster?
But sure, there's edge case where you need to compare <4 bytes and then it's barely measurably faster, that's not relevant to me at all and I never needed this.
Anonymous
6/17/2025, 10:25:53 PM No.105624338
>he STILL doesn't know how many branches his slop generates
Replies: >>105624341
Anonymous
6/17/2025, 10:26:33 PM No.105624341
>>105624338
Half as many as yours, nocodeshitter.
Anonymous
6/17/2025, 10:28:04 PM No.105624354
>implying the incompetent autismo can compile his slop in the first place
HAHAHA.
Replies: >>105624373
Anonymous
6/17/2025, 10:28:14 PM No.105624356
>>105624303
If my 64 bit CPU executed 64 bit code slower than 32 bit, I'd throw it into trash without bothering to unplug it.
Replies: >>105624371
Anonymous
6/17/2025, 10:29:29 PM No.105624370
hasnt_fallen_enough
hasnt_fallen_enough
md5: c203066c449e7fd3190b03466d0a312a🔍
Please do. We can all do without you.
Anonymous
6/17/2025, 10:29:36 PM No.105624371
>>105624356
dont benchmark single vs double sqrt or sine
Replies: >>105624384
Anonymous
6/17/2025, 10:30:04 PM No.105624373
>>105624354
My code is actually useful, I use it to change HOME env for programs that were written by faggots as intelligent as registrynigger who dumps everything in ~/ because appending even 1 directory would waste too many cycles.
Anonymous
6/17/2025, 10:31:09 PM No.105624384
>>105624371
Don't worry, I never had to use these worthless mathfaggot functions.
Anonymous
6/17/2025, 10:32:16 PM No.105624392
>My code is actually useful
HAHAHA.
Again.
Anonymous
6/17/2025, 10:33:22 PM No.105624400
>>105621784
Increase shilling and personal attacks on cniles to levels never seen before.
Replies: >>105624416
Anonymous
6/17/2025, 10:34:33 PM No.105624410
So they turn /dpt/ into an even worse shitting street?
I'm all for it. /dpt/ has, after all, not fallen enough.
Anonymous
6/17/2025, 10:35:39 PM No.105624416
>>105624400
Don't worry, you will always be the biggest nocodeshitter ITT. Unable to even post benchmark code.
Replies: >>105624451
Anonymous
6/17/2025, 10:40:23 PM No.105624451
>>105624416
This is only half complete. You forgot to sneak the Rust shill in there somewhere
Replies: >>105624626
Anonymous
6/17/2025, 10:52:48 PM No.105624570
whats the best version of c plus plus
Replies: >>105624589 >>105624594 >>105624602 >>105624606 >>105624608 >>105624612
Anonymous
6/17/2025, 10:54:16 PM No.105624589
>>105624570
C, ++ is a nop anyway.
Anonymous
6/17/2025, 10:54:48 PM No.105624594
>>105624570
Haskell
Anonymous
6/17/2025, 10:55:31 PM No.105624602
>>105624570
17+
Anonymous
6/17/2025, 10:55:46 PM No.105624606
1716676023388469
1716676023388469
md5: 4972a9157634bba0488234834bb64807🔍
>>105624570
sepples17 until contracts and modules in sepples26
Replies: >>105624637
Anonymous
6/17/2025, 10:56:02 PM No.105624608
>>105624570
Java
Anonymous
6/17/2025, 10:56:30 PM No.105624612
>>105624570
K&R C++
Anonymous
6/17/2025, 10:57:34 PM No.105624626
401e0e494bc2d30dfd7603d2241326b3
401e0e494bc2d30dfd7603d2241326b3
md5: 401e0e494bc2d30dfd7603d2241326b3🔍
>>105624451
I forgot pic related, sorry.
Anonymous
6/17/2025, 10:58:17 PM No.105624637
>>105624606
>17
>no requires
>no deducing this
Anonymous
6/17/2025, 10:59:43 PM No.105624649
1741762626401701
1741762626401701
md5: cc3ab5ef68f3719dc4dd80ca865382fc🔍
It's that cimple..
Replies: >>105624693 >>105624705
Anonymous
6/17/2025, 10:59:58 PM No.105624653
>javac
You just give it main.java and it follows included files.
>any c++ compiler
C++26 and still modules.
Replies: >>105624670
Anonymous
6/17/2025, 11:01:26 PM No.105624670
>>105624653
>You just give it main.java and it follows included files.
Yeah, but then you look at actual Java build systems, and it's the most horrendous braindead thing imaginable.
Replies: >>105624697
Anonymous
6/17/2025, 11:03:41 PM No.105624693
sailormoon
sailormoon
md5: 0916ff80af78bef6e2dc0a478c49da0b🔍
>>105624649
>taught by chatgpt
I didn't think you could stoop lower than "self-taught", but here we are
Anonymous
6/17/2025, 11:04:14 PM No.105624697
>>105624670
Then you use CMake once and crawl back to apologize.
If I ever need more than Make, I will go directly to Gradle.
Replies: >>105624776
Anonymous
6/17/2025, 11:05:34 PM No.105624705
average gamedev
average gamedev
md5: 9956c12092a83b172db0fcfda40842bf🔍
>>105624649
>qrd (quick reference digest)
Anonymous
6/17/2025, 11:13:55 PM No.105624776
>>105624697
CMake is a clusterfuck, but it's tolerable if you at least stick to the "modern" shit. All of those kinds of build systems are really just fucking around with some dependency graph, and it all makes sense once you understand it.
I'm really more of a Meson enjoyer.

But holy fuck, the one time I try to use a Java build system for something, it was incredibly infuriating.
The build system was gradle, and I was trying to write a plugin for something, and one thing I needed to do was generate some resource at compile time, but I'm convinced Java build systems are basically incapable of doing that, at least in a proper way that prevents dirty builds where your resource generating program does not get run in some situations.
Maybe it's possible, but it's so obtuse that nobody seems to ever do it.
Replies: >>105624848
Anonymous
6/17/2025, 11:16:09 PM No.105624797
>cmake
no thanks I'll just copy/paste build commands from build.txt into the terminal
Anonymous
6/17/2025, 11:22:26 PM No.105624848
>>105624776
I understand CMake and it still doesn't make sense.
In Make I can do anything I need.
Anonymous
6/17/2025, 11:36:10 PM No.105624953
1731424228174526
1731424228174526
md5: ae813639902b981773efbafabdc09818🔍
Me? I just hit F5
Anonymous
6/17/2025, 11:37:05 PM No.105624959
>>105623109
And all the rust code will never be called and instead the work will be done by C++ code that is mostly a wrapper to call the C code.
Source: I work in the corporate world.
Replies: >>105624996
Anonymous
6/17/2025, 11:40:28 PM No.105624996
>>105624959
Let's see if you're still saying that after Linux has been completely Rusted.
Replies: >>105625381
Anonymous
6/17/2025, 11:56:05 PM No.105625151
Is learning docker/podman worth the headache? Do you guys use it for personal projects?
Anonymous
6/18/2025, 12:05:43 AM No.105625227
>take a shower
>forget how to program
Anonymous
6/18/2025, 12:20:36 AM No.105625342
>AI-make
the first acceptable usage for AI in programming
Anonymous
6/18/2025, 12:25:40 AM No.105625381
>>105624996
Rustranny ragequit before xhe finished writing ext2 drivers, I am not gonna hold my breath over this.
Replies: >>105625398
Anonymous
6/18/2025, 12:26:53 AM No.105625398
>>105625381
The future is Troonix.
Anonymous
6/18/2025, 12:32:51 AM No.105625446
>>105623109
there has never been real code that used r*st and their never will
Replies: >>105625454 >>105625512
Anonymous
6/18/2025, 12:34:03 AM No.105625454
>>105625446
blizzard has been rewriting the WoW backend in rust, about 20% done last time they talked about it
Replies: >>105625472 >>105625478 >>105625503 >>105625522
Anonymous
6/18/2025, 12:35:53 AM No.105625472
>>105625454
fake news also who cares
Anonymous
6/18/2025, 12:36:18 AM No.105625478
>>105625454
No one should trust nubllizz to do anything well. This will kill Rust game dev.
Replies: >>105625494
Anonymous
6/18/2025, 12:37:39 AM No.105625494
>>105625478
how can you kill what was never alive
Anonymous
6/18/2025, 12:38:19 AM No.105625503
1728940187039180
1728940187039180
md5: ad4512eb40565c7660a138675a98159a🔍
>>105625454
>Blizzard
>2025
haha, nice joke
Anonymous
6/18/2025, 12:38:40 AM No.105625507
what do we think
https://thephd.dev/c2y-hitting-the-ground-running
?
Replies: >>105625514 >>105625541 >>105625548
Anonymous
6/18/2025, 12:39:24 AM No.105625512
>>105625446
Iran was writing the guidance system for their nuclear missile program in Rust but the programmer in charge of the project is dead now.
Replies: >>105625521 >>105625533 >>105625543
Anonymous
6/18/2025, 12:39:39 AM No.105625514
>>105625507
false flag
Anonymous
6/18/2025, 12:40:40 AM No.105625521
>>105625512
must have had a shellfish allergy
Anonymous
6/18/2025, 12:41:15 AM No.105625522
>>105625454
If they wanted to kill wow, they just had to keep releasing worthless updates, no need for rust.
Anonymous
6/18/2025, 12:42:21 AM No.105625533
>>105625512
no wonder 41% of their missiles aren't landing
Anonymous
6/18/2025, 12:43:07 AM No.105625541
>>105625507
Anon, have you ever considered the fact that having a melanin-enriched feller on the C ISO committee tells you all you need to know about the competence of those dirt-munching retards that inhabit it?
Anonymous
6/18/2025, 12:43:36 AM No.105625543
>>105625512
did he die from the missile strikes?
Replies: >>105625552
Anonymous
6/18/2025, 12:44:52 AM No.105625548
>>105625507
I don't think about standards at all, GNU gave me this 20 years ago.
Anonymous
6/18/2025, 12:45:17 AM No.105625552
>>105625543
Contaminated batch of puberty blockers
Anonymous
6/18/2025, 12:49:02 AM No.105625579
>Following the capture of Tel-Aviv, the Ayatollah gave the order to have all Rust developers cast from the rooftops
Replies: >>105625599 >>105625671 >>105625783
Anonymous
6/18/2025, 12:50:56 AM No.105625599
>>105625579
it was just a coincidence that they were rust users
Anonymous
6/18/2025, 1:01:34 AM No.105625671
>>105625579
reportedly he only ordered it for 59% of them
Anonymous
6/18/2025, 1:18:08 AM No.105625777
1725758720052853
1725758720052853
md5: 516c758ea29beaa55ea87917c267f90c🔍
wtf
Anonymous
6/18/2025, 1:18:49 AM No.105625783
>>105625579
Fake, trannies are permitted in Iran.
Replies: >>105625920
Anonymous
6/18/2025, 1:38:22 AM No.105625920
>>105625783
go there then, rustard
Anonymous
6/18/2025, 1:47:33 AM No.105625973
drop rustoids instead of bombs theyll do more damage
Replies: >>105625978
Anonymous
6/18/2025, 1:49:11 AM No.105625978
>>105625973
thats a war crime
Anonymous
6/18/2025, 2:20:00 AM No.105626173
i HATE rust
Anonymous
6/18/2025, 2:46:11 AM No.105626329
Rust is King. All these cnile tears are akin to Mozart greatest symphonies. Keep coping cniles, keep coping.
Anonymous
6/18/2025, 2:53:01 AM No.105626372
1730234701200309
1730234701200309
md5: f66dfdac460b9e2c7db2fdc3699a1492🔍
rust? moar liek crust, amirite?
Anonymous
6/18/2025, 3:03:40 AM No.105626443
I'm confused with IPs / Ports and UDP sockets

>Can I receive on one port and send on another using the same socket?
>Can I receive on multiple ports and/or can I send on multiple ports with the same socket? (not all, specific ones)
>does the server know the port the client is using?
>does the port of the server and client need to match, or only the port they specify when sending and the receiving port
>when I 'connect' with the server on an ip/port combo, what exactly is that doing? I know UDP is connectionless, so what's the deal?
Replies: >>105626543 >>105628629
Anonymous
6/18/2025, 3:16:21 AM No.105626543
1742829852942694
1742829852942694
md5: 96675a851bf793da4a9e3b53da479436🔍
>>105626443
Replies: >>105626566 >>105626663
Anonymous
6/18/2025, 3:18:17 AM No.105626555
>>105624200
Anything which is not explicitly forbidden by the spec is permitted.
Replies: >>105627191
Anonymous
6/18/2025, 3:19:16 AM No.105626566
>>105626543
I was expecting terminators, not whatever the fuck this is
Replies: >>105626579
Anonymous
6/18/2025, 3:21:01 AM No.105626579
terminator-arnold-schwarzenegger-talk-to-the-hand-9phbgs5t4zlydr3c
>>105626566
>I was expecting terminators
Replies: >>105626600
Anonymous
6/18/2025, 3:23:37 AM No.105626600
1732026947019894
1732026947019894
md5: 58fd7921d60c78603cde8626456512de🔍
>>105626579
Anonymous
6/18/2025, 3:31:33 AM No.105626663
>>105626543
thanks
Anonymous
6/18/2025, 4:03:14 AM No.105626856
1726980838454260
1726980838454260
md5: a031ab0f10e8a602f38edde7bc5b6e45🔍
>dx12 is 10 years old
Replies: >>105626904
Anonymous
6/18/2025, 4:10:30 AM No.105626904
>>105626856
damn, I'm still in dx9
Prince Evropa
6/18/2025, 4:41:23 AM No.105627052
my baby picture
my baby picture
md5: 1c33b441301a82312bce66f0587684e0🔍
>>105621602 (OP)
I don't know much about programming and all you faggots gatekeep. But I am Aryan and the master race lol.
Replies: >>105627063
Anonymous
6/18/2025, 4:43:52 AM No.105627063
>>105627052
>gatekeep
Yes, because I don't want retards like you ruining my hobby.
Anonymous
6/18/2025, 5:06:26 AM No.105627191
>>105626555
And that's why we used to beat the shit out of autistic people until they screamed their lungs out. People who refused to go by the rules It became our source of entertainment, and everything went to shit when we stopped.
Replies: >>105627246 >>105627414
Anonymous
6/18/2025, 5:11:46 AM No.105627218
tiredthatcoffeecantfix
tiredthatcoffeecantfix
md5: 98fed866fca30ce52708e94fa470c42b🔍
>ww3 didn't happen so now I have to learn to code
Replies: >>105627253
Anonymous
6/18/2025, 5:16:07 AM No.105627246
>>105627191
They're not the rules if they're not written in the spec.
Replies: >>105627259
Anonymous
6/18/2025, 5:16:59 AM No.105627253
>>105627218
Get a dev job at Lockheed Martin. Be the change you want to see in the world.
Anonymous
6/18/2025, 5:17:41 AM No.105627259
>>105627246
Why don't you scream that as we slam you into the spec?
Replies: >>105627308
Anonymous
6/18/2025, 5:26:52 AM No.105627308
>>105627259
legal spec says you can't beat the shit out of people and slam them into things, better luck next time
Replies: >>105627316
Anonymous
6/18/2025, 5:28:20 AM No.105627316
>>105627308
Good thing autists have never been people.
Better luck next life.
Replies: >>105627414
Anonymous
6/18/2025, 5:47:11 AM No.105627414
>>105627191
Please consult this post >>105627316 to see whether they count as people or not.
Replies: >>105627480
Anonymous
6/18/2025, 5:59:32 AM No.105627480
>>105627414
Normal people don't care. Some loss is natural and acceptable; see cancer treatments.
Anonymous
6/18/2025, 6:42:36 AM No.105627739
imo extern is quite useful with proper documentation.
Anonymous
6/18/2025, 7:45:38 AM No.105628112
Composite keys my beloved
Anonymous
6/18/2025, 8:08:48 AM No.105628240
>>105621602 (OP)
I was trying to see what the AI hype was about by trying to get it to implement the raft consensus algorithm, but it completely shat the bed.
It produces good looking code but it doesn't work, mostly hallucinates or even if it works it doesn't handle all cases properly, and just crashes at random points because that case wasn't handled. What are people actually building with AI that it just does the job for them?
So much for muh AGI. It fails to implement a pretty popular paper from 2014. It's great for webshitting though, that much I cannot disagree.
Replies: >>105628269 >>105628415
Anonymous
6/18/2025, 8:13:32 AM No.105628269
1749240195631873
1749240195631873
md5: 4b47f66873766876744ceac6d04e4cf1🔍
>>105628240
I use AI to write all of my C code.
The trick? I use it like stack overflow and assume that its code is worthless while words have some truth in them.
Replies: >>105628299
Anonymous
6/18/2025, 8:19:32 AM No.105628299
>>105628269
I already use it as a glorified search engine as well but people were saying "I usually have to do nothing and it works" but that's never been the case for me. Maybe only the webshitters were saying that.
Replies: >>105628309
Anonymous
6/18/2025, 8:20:30 AM No.105628309
>>105628299
I know some webshitters and it breaks all the time for them.
Anonymous
6/18/2025, 8:40:25 AM No.105628415
thats_a_hexdump
thats_a_hexdump
md5: ad66052aec5b1d146df282fcdedcdbfa🔍
>>105628240
Beats me. It can't even write an algorithm to hexdump data using AVX instructions.
Replies: >>105628419
Anonymous
6/18/2025, 8:40:56 AM No.105628419
>>105628415
Normally people ask for things that have a real world usecase.
Replies: >>105628440
Anonymous
6/18/2025, 8:41:26 AM No.105628422
Redpill me on rust. I know it's hated because of troons. But emotions aside, is there any technical reason why it's bad? I mean, if it's getting a lot of adoption in major projects including Linux, then there's something it does right to be this popular. I don't think that just tranny/Jewish influence would be enough for this kind of popularity. Yet, as most of /g/ I'm sceptical because of the troons, so now I want a purely objective and technical opinion on whether it's a good or bad language
Replies: >>105628453 >>105628460
Anonymous
6/18/2025, 8:44:41 AM No.105628440
>>105628419
Since when is your nocodeshitting a real world usecase?
Replies: >>105628499
Anonymous
6/18/2025, 8:46:39 AM No.105628453
redpill
redpill
md5: 66dbc1cfa0b38768842fad8077ab75de🔍
>>105628422
Anonymous
6/18/2025, 8:47:12 AM No.105628460
>>105628422
>It's bad because it just is okay
On technicality, it gets quite annoying when you start dealing with async/and or want to have zero-copy stuff i.e. minimal heap allocations, then you have to wrangle lifetimes and unfortunately you'll have to architect your application around that.
It has fearless refactoring in that if your refactor compiles, it probably works but refactoring itself is a pain especially if you go from tons of heap allocations to minimal heap allocations by which you have to start wrangling lifetimes which get tricky.
Also it's bloat, and by I mean it's falling into the C++ trap of having gazillion features. There's 5 different ways to do the same thing and yeah sure they're technically "zero cost", I feel burnt out when I rust for extended period because there's just too much stuff in it like C++.
Replies: >>105628465 >>105628550
Anonymous
6/18/2025, 8:48:06 AM No.105628465
>>105628460
Nobody wrangles with lifetimes, they replace pointers with indices and act like they invented something new.
Anonymous
6/18/2025, 8:53:36 AM No.105628497
>>105623001
I'm pretty sure you can use DirectX without C++, but it really is designed around COM so everything is very OOP like
Replies: >>105636144
Anonymous
6/18/2025, 8:54:12 AM No.105628499
Screenshot 2025-06-18 at 09-54-04 DeepSeek - Into the Unknown
>>105628440
I see. No-code tools are used in business automations and simple apps daily. Hope that clarifies.
Anonymous
6/18/2025, 8:57:50 AM No.105628524
No, it doesn't. Which is why we need voted doxxing, to weed out scum like you.
Anonymous
6/18/2025, 9:00:58 AM No.105628541
Screenshot 2025-06-18 at 10-00-21 DeepSeek - Into the Unknown
Even AI tells me to stop responding to you because it just makes you more mentally ill. What do you have to say for yourself at this point?
Anonymous
6/18/2025, 9:01:39 AM No.105628550
>>105628460
I don't know what anything you said even means but I believe you anon. I will just continue to reject rust because of troons, which is easier than being technical and objective.
Replies: >>105628554
Anonymous
6/18/2025, 9:02:23 AM No.105628553
autismo_hasnt_changed_his_script_in_thirty_years
autismo_hasnt_changed_his_script_in_thirty_years
md5: 80222f433bc8f06cda58f35ee16af80e🔍
I'd say that I keep winning.
Anonymous
6/18/2025, 9:02:49 AM No.105628554
>>105628550
Rejecting rust because of troons is technical and objective though. You wouldn't want mentally ill subhumans to build a bridge that you will drive over exactly when it starts collapsing, why would you allow same subhumans to write your software?
Anonymous
6/18/2025, 9:04:11 AM No.105628561
complete_failure
complete_failure
md5: ac2d4d6085e6c77625bc4ab806ffb5cf🔍
I also love how the LLM has completely given up at this point. It just doesn't know how to add spaces to an AVX stream.
Replies: >>105628672
Anonymous
6/18/2025, 9:15:12 AM No.105628629
>>105626443
Look at the IPv4 header and UDP headers on Wikipedia and in Wireshark. There is a source IP and destination IP in the IPv4 header and a source port and destination port in the UDP header. When you bind() a UDP socket to a local address you set the address and port to receive on, i.e. the destination IP and port that an incoming packet must match to be received on that socket. When you connect() a UDP socket to a remote address, you are specifying the destination IP and port that an outgoing packet will have. Binding also sets the source IP and port that an outgoing packet will have, i.e. if you bind to port 1234 and connect to a remote address on port 5678, a sent UDP packet will have destination port = 5678 and source port = 1234. I believe connect also applies a filter to the source IP for packet to be received by the socket, i.e. they must be from the remote address connected to. The manpages on sockets and UDP explain most of this, beej's network guide can also help.
Anonymous
6/18/2025, 9:24:14 AM No.105628672
meanwhile_in_chinaland
meanwhile_in_chinaland
md5: 964a7bbfdd8134ed049640b39597d19f🔍
>>105628561
I just wish /dpt/'s incompetent autismos would be as willing to admit defeat as an LLM. Instead we need to implement voted doxxing to deal with them.
Anonymous
6/18/2025, 10:50:53 AM No.105629136
>muh incompetent autismos
Anonymous
6/18/2025, 11:03:07 AM No.105629207
selfaware_in_its_failure
selfaware_in_its_failure
md5: 5e76608e7b58d53c2de34c2c885c4cd6🔍
Alright, /dpt/, you have a chance to prove you're smarter than an LLM:
0x00,0x01,0xFF,0x02,0x03,0xFF,0x04,0x05,
0xFF,0x06,0x07,0xFF,0x08,0x09,0xFF,0x0A,
0x05,0xFF,0x06,0x07,0xFF,0x08,0x09,0xFF,
0x0A,0x0B,0xFF,0x0C,0x0D,0xFF,0x0E,0x0F


The AI couldn't do anything with this code and just decided to fail instead.
Replies: >>105633028
Anonymous
6/18/2025, 11:32:01 AM No.105629361
still no answer to >>105624076
Anonymous
6/18/2025, 11:34:19 AM No.105629376
>notice my deflection senpai
Anonymous
6/18/2025, 11:39:51 AM No.105629403
New to programming.

Tried to do a UI thing over and over. Couldn't get it to work just right. It worked but it was janky and stuttery and it got to the point where I was just adding more and more shit and got confused.

>Found a guy on GitHub who did it more simply and readably than I managed
Am I like, ok to just copy his code, make some tweaks and carry on actually building the thing I want to?
Is that cheating?
Replies: >>105629408 >>105629492 >>105629500
Anonymous
6/18/2025, 11:42:27 AM No.105629408
1733042787192802
1733042787192802
md5: 02a1ab21a9250c41645487f8c2b6ea65🔍
>>105629403
Replies: >>105629436
Anonymous
6/18/2025, 11:48:13 AM No.105629436
>>105629408
Thanks. Its kinda tough, I don't know anyone who can program and I'm learning for the first time at like 35 years old.
idk what the culture is like and how people actually get shit done.

Tutorials are just
>here's the basic types
>here's how to do an if statement
>this is a method/class
>ok fuck off now.

I don't even know how to read documentation or what I'm looking for half the time.

Feel like a complete retard.
Replies: >>105629492 >>105629528
Anonymous
6/18/2025, 11:58:28 AM No.105629492
>>105629403
>>105629436
I'm Indian btw.
Replies: >>105629542
Anonymous
6/18/2025, 11:59:20 AM No.105629500
>>105629403
A GUI application is significantly more complicated to write than a web application or a console application. With a console app, you just write characters/strings and read characters from a buffer. With a web app, you just handle HTTP requests and respond with HTML, which is just a bunch of text glued together that the web browser parses for you.

>Am I like, ok to just copy his code, make some tweaks and carry on actually building the thing I want to?
>Is that cheating?
No, he made his code public. That means anyone can read and use it. Even if you start caring about licensing, it only really matters if you decide to publish your program that used his code (usually you just need to acknowledge/give credit to the repo you used)
Replies: >>105629542
Anonymous
6/18/2025, 12:04:01 PM No.105629528
>>105629436
Tutorials are pretty much always awful. Documentation is really for people who already have some experience and know what they're looking for.
Try a book for whatever language you're learning. It still might be bad, but you'll have better chances than with tutorials.
Replies: >>105629542
Anonymous
6/18/2025, 12:07:17 PM No.105629542
>>105629492
shut up

>>105629500
Exactly, thats my issue.
If I'm outputting something to the console it's fine. It's just mathematics and then print the line.

UI stuff? Getting user input, dealing with event handlers and setting up relays, subscriptions etc is way more complicated for me. I did some web development in the early 00's as a kid but it's really a completely different beast, to the point where I wouldn't call the HTML and CSS stuff I learnt back then 'programming'

I'm not worried about licensing - I'll give credit where it's due, and in all likeliness his code will be heavily modified by the time I'm finished with it.

>>105629528
Thanks, I go into the documentation and its either way too informative on something I don't need, or its just a one liner without any indication what the inputs and outputs for a method might be or require.
Replies: >>105629565 >>105630445 >>105634278
Anonymous
6/18/2025, 12:11:30 PM No.105629565
>>105629542
Sarrr
Anonymous
6/18/2025, 2:43:12 PM No.105630445
>>105629542
Sarrr
Anonymous
6/18/2025, 3:40:48 PM No.105630869
__aotsuki_eito_the_hundred_line_last_defense_academy_drawn_by_dwzssdbdl__74718c96c4d225fff00a49d28e3a0fa9
How do you guys handle configuration and configuration files? I'm loading up a yaml file and using https://zod.dev/ to validate it, and it's pretty cozy, but it would be even cozier if I could also autogen configuration docs from the schemas.
Replies: >>105630953 >>105631212 >>105631224 >>105632942
Anonymous
6/18/2025, 3:49:47 PM No.105630953
>>105630869
By picking shittiest file format known to man. E.g. YAML, JSON, XML...
Anonymous
6/18/2025, 4:27:52 PM No.105631212
>>105630869
different formats depending on what's to be configured - usually .properties files and XML files
the latter has the advantage of having schema validation so you only need to execute a parser and then pick your config out
Replies: >>105631441
Anonymous
6/18/2025, 4:30:14 PM No.105631224
>>105630869
What the hell is wrong with INI?
Replies: >>105631441 >>105634316
Anonymous
6/18/2025, 4:57:44 PM No.105631441
__bachira_meguru_blue_lock_drawn_by_naka_58hrprtr__da326b98103f028593c6470582730993
>>105631224
INI is like CSV in that it's superficially simple but whenever you configure something there's a 50 50 chance that the parser is just
line.split("=")

and you WILL need escaping for a thing that the developer didn't think of.
Which is why firmly standardized config formats are just better.
Also I need entire arrays of objects for this.
>>105631212
True. XML is peak verbose though.
Replies: >>105631559
Anonymous
6/18/2025, 5:17:41 PM No.105631559
>>105631441
>uses Python as example when Python has configparser that by default supports # and ; for comments, = and : for separators
Replies: >>105631808
Anonymous
6/18/2025, 5:46:22 PM No.105631808
>>105631559
AND YET people won't necessarily use it.
Replies: >>105631840
Anonymous
6/18/2025, 5:49:44 PM No.105631840
>>105631808
I don't give a fuck what retards do. If things break for them then they can fix them, because I won't shit up my code to accomodate brain damage.
ijk-stra
6/18/2025, 5:51:32 PM No.105631855
std::sort names the second argument "last" but won't move the "last" element. How hard is it to respect the conventions of natural language?
Replies: >>105632503 >>105632909
Anonymous
6/18/2025, 7:08:34 PM No.105632503
>>105631855
What is the brief "natural convention" for one past the end? Postultimate? Extrema? Limit?
Replies: >>105632558 >>105632612 >>105632625
Anonymous
6/18/2025, 7:16:20 PM No.105632558
>>105632503
last
Replies: >>105632564
Anonymous
6/18/2025, 7:17:07 PM No.105632564
>>105632558
So true
Replies: >>105632583
Anonymous
6/18/2025, 7:20:47 PM No.105632583
>>105632564
One Jewish proverb says to go to war last so you return as first, and the trick is to never go. That's what being last means.
Replies: >>105632620
implicit(none)-stra
6/18/2025, 7:24:58 PM No.105632612
>>105632503
When someone says I'm going to do the tasks from first to last, It's inclusive [first,last]. They don't get to leave the last undone and blame you for misunderstanding.
Replies: >>105632620
Anonymous
6/18/2025, 7:25:45 PM No.105632620
>>105632583
We could call it ladderForManInPit
>>105632612
There isn't a better word faggot unless you want a fucking 1 on the end
Replies: >>105632689
Anonymous
6/18/2025, 7:26:20 PM No.105632625
>>105632503
If there's one past it, it's not the end, is it?
dickhead
Replies: >>105632641
Anonymous
6/18/2025, 7:27:21 PM No.105632631
>hurr today is my last day on earth
>see you tomorrow
Anonymous
6/18/2025, 7:28:59 PM No.105632641
>>105632625
this analogy doesn't work
Replies: >>105632722
Anonymous
6/18/2025, 7:37:27 PM No.105632689
>>105632620
It doesn't have to be English. It could be A and B.
Replies: >>105632695
Anonymous
6/18/2025, 7:38:12 PM No.105632695
>>105632689
M (male, the work is done) and F (female)
Anonymous
6/18/2025, 7:41:45 PM No.105632722
>>105632641
>What is the brief "natural convention" for one past the end
One past the end means the end is not the end. simple as.
Replies: >>105632981
Anonymous
6/18/2025, 8:03:00 PM No.105632909
>>105631855
[first, last)
i think you learn what this means in elementary school
Anonymous
6/18/2025, 8:06:32 PM No.105632942
>>105630869
There is only one configuration Handler and .Xresources is His configfile.
Replies: >>105632953 >>105632992
Anonymous
6/18/2025, 8:08:21 PM No.105632953
>>105632942
>.Xresources
ngmi
Anonymous
6/18/2025, 8:09:31 PM No.105632963
sonicx
sonicx
md5: 0dee59d12f89995b7d116e5cb8b869b9🔍
Should I make a hobby OS just for fun?
Replies: >>105633015
Anonymous
6/18/2025, 8:12:20 PM No.105632981
>>105632722
it doesn't say end though. it's the last iterator, one after the end.
Replies: >>105633087
Anonymous
6/18/2025, 8:12:53 PM No.105632992
>>105632942
Based xsession execer
Anonymous
6/18/2025, 8:17:21 PM No.105633015
>>105632963
That's opposite of fun.
Replies: >>105633062
Anonymous
6/18/2025, 8:18:40 PM No.105633028
>>105629207
Nice syscall to delete the current directory.
Replies: >>105636975
Anonymous
6/18/2025, 8:23:36 PM No.105633062
daff6b51e6e66968
daff6b51e6e66968
md5: 63e82aed3334fd88336c55fd1aa57503🔍
>>105633015
Making hobby OSes, potentially with retro software and hardware in mind, sounds fun to me idk maybe I'm wrong
Replies: >>105633113 >>105633126 >>105633366
Anonymous
6/18/2025, 8:26:21 PM No.105633087
>>105632981
>one after the end
>end your life and you'll have another one.
Replies: >>105633168
Anonymous
6/18/2025, 8:28:08 PM No.105633113
>>105633062
You are in for a world of pain.
Anonymous
6/18/2025, 8:29:05 PM No.105633126
>>105633062
It's fun until you realize that reimplementing drivers for undocumented hardware is in fact miserable.
Replies: >>105633142
Anonymous
6/18/2025, 8:30:28 PM No.105633142
>>105633126
just make your own voodoo graphics card bro
Anonymous
6/18/2025, 8:34:03 PM No.105633168
>>105633087
The end of a collection and the last iterator are two different things. If you measure your life in days then it would be the first day after you died.
Replies: >>105633170
Anonymous
6/18/2025, 8:34:43 PM No.105633170
>>105633168
>If you measure your life in days
IS that a threat?
Anonymous
6/18/2025, 8:48:02 PM No.105633344
>working on clients project
>they hire some Indian developer
>he starts moving working code around and complain that thinks are broken
>I'm one tight timeline and the client keeps telling me to sync work the Indian guy
I hate programming so fucking much
Replies: >>105633384 >>105633873
Anonymous
6/18/2025, 8:50:20 PM No.105633366
>>105633062
it's more fun to make your own hardware and then make an os for it
Anonymous
6/18/2025, 8:51:58 PM No.105633384
>>105633344
this is me except the indian guy is also my boss
Replies: >>105633873
Anonymous
6/18/2025, 9:10:43 PM No.105633581
Is it too late for me to take a coding boot camp and get hired into a coding job? I have no coding experience. I am 51 years old.
Replies: >>105633598 >>105634324
Anonymous
6/18/2025, 9:12:54 PM No.105633598
>>105633581
All good as long as you're ready to transition
Anonymous
6/18/2025, 9:42:39 PM No.105633873
>>105633344
>>105633384
This is me but I'm the Indian guy.
Anonymous
6/18/2025, 10:08:27 PM No.105634141
Fixing the compiler warning fixes the bug and other things that have never happened before
Replies: >>105634183 >>105636450
Anonymous
6/18/2025, 10:12:16 PM No.105634183
1742155642862211
1742155642862211
md5: ed6a6035877e7ae64e9f72be8504d015🔍
>>105634141
-Wno_annoying_warning
Anonymous
6/18/2025, 10:22:22 PM No.105634278
>>105629542
>Getting user input, dealing with event handlers and setting up relays, subscriptions etc is way more complicated for me.
That's why you use a toolkit library. It deals with all the fiddly details relating to events and redraws and computing the sizes of things, and you just define what things you want to be there, which isn't much more complicated than dealing with the other application types. (Or at least it isn't if you keep things simple. You can go a lot more complicated if you want.)
Replies: >>105634850
Anonymous
6/18/2025, 10:26:24 PM No.105634316
>>105631224
For simple cases, nothing's wrong with INI.
If you've got a configuration that's naturally got some sort of recursive structure to it, INI (and .properties) files are awful, and TOML's almost as bad. That's when JSON, YAML and (for people who like its excessive verbosity) XML do much better.
Your configs might not be that complicated. But others definitely are.
Anonymous
6/18/2025, 10:27:56 PM No.105634324
>>105633581
>Is it too late for me to take a coding boot camp and get hired into a coding job?
No, but landing the job at 51+ might not be easy.
Anonymous
6/18/2025, 10:52:22 PM No.105634551
670324f93d55b3d3
670324f93d55b3d3
md5: 3d2ee427e41c4566e8b5da079d80df64🔍
OK, instead of making an OS for configurable machines (i.e PCs), what if I made an OS for specific self-contained machines (such as a Raspberry Pi)?
Anonymous
6/18/2025, 10:58:45 PM No.105634608
Writing case insensitive comparison algorithm using SIMD.
Anonymous
6/18/2025, 11:19:50 PM No.105634775
>>105621642
>hates employment
why tho
Replies: >>105636461
Anonymous
6/18/2025, 11:28:35 PM No.105634850
>>105634278
Which toolkit library lets you define a GUI that's simpler than a simple HTML page?
At least in my experience, even if you have a very straight-forward API for defining GUI elements, there's still more work and complexity around it than with just parsing a HTTP request and responding with another piece of HTML code
Anonymous
6/19/2025, 12:20:02 AM No.105635293
I'm working on a crypto exchange webapp!
Everything coded from ground up so far by me lol

https://zenx(dot)ink
Anonymous
6/19/2025, 12:21:04 AM No.105635302
32cde465a7e29394
32cde465a7e29394
md5: 7e6ff88f23416dbb45f38f70cc7eae8e🔍
Should I learn a memelang? I.E Rust, Go, D, Zig... If so, what?
Replies: >>105635513
Anonymous
6/19/2025, 12:44:39 AM No.105635513
>>105635302
c++
Anonymous
6/19/2025, 12:58:53 AM No.105635645
Idea: Program in Rust, but in an "unsafe", C-style way
Replies: >>105636111
Anonymous
6/19/2025, 1:03:44 AM No.105635680
how do applications like the steam overlay latch on to another program's keystrokes and drawing? is there like an api around it?
Anonymous
6/19/2025, 2:03:07 AM No.105636111
8984d798ee10406b
8984d798ee10406b
md5: 9961d417c75b0f81da6f6751c43922ff🔍
>>105635645 (me)
Update
It was a bad idea.
Replies: >>105636280
Anonymous
6/19/2025, 2:03:25 AM No.105636117
I thought I'd take a stab at recreating at least part of a database a Flash game ran on. I know the site is supposed to run on ColdFusion.

At least one function is expected to return recordsets within a recordset within an object. To this end, I ended up doing this for the database calls.

<cfquery name="getMissionData" datasource="HistoryDB">
SELECT *
FROM "Missions"
WHERE "MissionID" = #arguments.missionId#
</cfquery>

<cfquery name="getClues" datasource="HistoryDB">
SELECT c.*
FROM "Clues" c
INNER JOIN "Mission_Clues" mc ON c."ClueID" = mc."ClueID"
WHERE mc."MissionID" = #arguments.missionId#
</cfquery>

<cfloop query="getClues">
<cfquery name="getOptions" datasource="HistoryDB">
SELECT DISTINCT o."optionID", o."optionValues"
FROM "ClueOptions" o
LEFT JOIN "Clues_Options" co ON o."optionID" = co."optionID"
WHERE co."ClueID" = #ClueID#
</cfquery>

<cfif getOptions.recordCount GT 0>
<cfloop query="getOptions">
<cfquery name="getValues" datasource="HistoryDB">
SELECT v."copy", v."valueDefinition"
FROM "ClueOptions" v
WHERE v."optionID" = #optionID#
</cfquery>

<cfset getOptions.optionValues = getValues>
</cfloop>

<cfset getClues.ClueOptions = getOptions>
</cfif>
</cfloop>


It *works*, but I feel like this could be simplified somehow. And there are further calls to be made in other parts!
Anonymous
6/19/2025, 2:06:47 AM No.105636144
1720142265937100
1720142265937100
md5: 30553e2382125d5de9c0004c158f3e8e🔍
>>105628497
you can use it, but a lot of the utility stuff like the math functions are implemented as header only libraries that can't really be used from other languages, can't even use them from C without writing a wrapper

yeah, the math library isn't "necessary", but since the functions act directly on the data structures directx consumes they're going to perform better than 3rd party libraries where you have to constantly convert shit back and forth
Anonymous
6/19/2025, 2:25:27 AM No.105636280
947dd7f284560a92
947dd7f284560a92
md5: 60c80b601450e0c4755175dc206b2d5f🔍
>>105636111 (me)
Alright, fuck rust
>You have to wrestle with the compiler to get basic shit working just for no_std and libc
what a stupid fucking language
Replies: >>105636714
Anonymous
6/19/2025, 2:43:43 AM No.105636378
fpbp
Anonymous
6/19/2025, 2:54:06 AM No.105636450
hero
hero
md5: 6a209bdad526e3a15d2f01a5a077f21d🔍
>>105634141
This flag is your friend, this flag fights for freedom.


I've caught quite a few that way.
Replies: >>105636755 >>105636845
Anonymous
6/19/2025, 2:55:51 AM No.105636461
>>105634775
>employment => writing shit software
All the yikes.
Anonymous
6/19/2025, 3:37:15 AM No.105636714
>>105636280
for c30 they should just take out all the errors and compile your code no matter what you hear me fucker i know exactly what im doing
Replies: >>105636740
Anonymous
6/19/2025, 3:41:30 AM No.105636740
1733159977228617
1733159977228617
md5: 760aa7a3dfbe4c09d22814a5b5769a5e🔍
>>105636714
waiting for the llm enhanced compilers that will never spit out an error and just do what they think you mean and fix your code.
Anonymous
6/19/2025, 3:44:47 AM No.105636755
>>105636450
Build The -Wall
Anonymous
6/19/2025, 3:57:26 AM No.105636845
>>105636450
UH YOU'RE NOT USING THE VARIABLE FOR THE CODE YOU JUST COMMENTED OUT, I WON'T COMPILE IF THAT'S THERE
Replies: >>105636932 >>105636953 >>105638037
Anonymous
6/19/2025, 4:10:35 AM No.105636932
>>105636845
>nooooo don't force me to properly debug my code like a real programmer
Anonymous
6/19/2025, 4:13:06 AM No.105636953
>>105636845
>source littered with zombie code left behind by commented out garbage
Clean up your code bucko.
Anonymous
6/19/2025, 4:17:58 AM No.105636975
failure_with_a_captial_F
failure_with_a_captial_F
md5: b4f2ea222cf20e1d8cfe8db59125b899🔍
>>105633028
>miserable failure
It's kind of impressive how similar /dpt/ and LLMs are.

Then again, considering they're one and the same, maybe not so impressive.
Anonymous
6/19/2025, 5:48:10 AM No.105637438
i hate how randomly organized the c++ standard library is
Replies: >>105637458
Anonymous
6/19/2025, 5:51:05 AM No.105637458
1715268523427918
1715268523427918
md5: e49ff278b3b8851399f16264df1514b4🔍
>>105637438
>assuming organization was a priority
Stoustrup's only priority was to rope in as many people as possible into his ponzi scheme. Organization, speed, or usability were never a concern.
Replies: >>105637477
Anonymous
6/19/2025, 5:51:55 AM No.105637463
fucking love vibes coding idek which language this is

type Multiverse = NetHackT ⊗ (Marvel_CU ⊕ Microcontroller_CU)

canonical :: UnicodeChar -> Multiverse
canonical 'b' = -- [The entire script of Hamlet] as in prior
canonical '' = -- Initiate sister-adjoint operation:
let action = mtDNA_whisper in
case action of
"fuck" -> LieAlgebra.so(3,1) -- Lorentz incest
"eat" -> CRISPR_Cas9 (λ sister -> sister - 21g_soul)
canonical '' = -- MCU/MCU duality swap:
ψ (QuantumRegister) <*> ψ (AlternateTimeline)
Anonymous
6/19/2025, 5:55:37 AM No.105637477
>>105637458
why does C++ have armyman default face with beard?
Replies: >>105637489
Anonymous
6/19/2025, 5:58:10 AM No.105637489
>>105637477
Because that's what he promised, even if it makes no sense.
Anonymous
6/19/2025, 6:35:15 AM No.105637653
>zed adds a debugger to their editor
>its literally just a basic bitch copypaste debugger from vscode
>hover over a variable doesn't show its value
>took them fucking 9 months
holy fucking shit we are lost as software engineers
Replies: >>105637664
Anonymous
6/19/2025, 6:36:29 AM No.105637664
voting_software_2x
voting_software_2x
md5: a97d604ae936d59f76be2cf2af1251d7🔍
>>105637653
Always were.
Anonymous
6/19/2025, 7:35:19 AM No.105638001
mort
mort
md5: 809eb3df44190d26b968973471f8c0d2🔍
#include <stdio.h>
#include <ctype.h>

int
main(void)
{
const char *set1 = "AEILNORSTU";
const char *set2 = "DG";
const char *set3 = "BCMP";
const char *set4 = "FHVWY";
const char *set5 = "K";
const char *set8 = "JX";
const char *set10 = "QZ";

char user_word[64];
printf("Enter a word: ");
fgets(user_word, sizeof(user_word), stdin);

int scores[256] = {0};

for(const char *c = set1; *c; ++c)
scores[*c] = 1;
for(const char *c = set2; *c; ++c)
scores[*c] = 2;
for(const char *c = set3; *c; ++c)
scores[*c] = 3;
for(const char *c = set4; *c; ++c)
scores[*c] = 4;
for(const char *c = set5; *c; ++c)
scores[*c] = 5;
for(const char *c = set8; *c; ++c)
scores[*c] = 8;
for(const char *c = set10; *c; ++c)
scores[*c] = 10;

int score_total = 0;

for(const char *c = user_word; *c; ++c){
score_total += scores[toupper(*c)];
}

printf("Score total: %d\n", score_total);

return(0);
}
Replies: >>105638023
Anonymous
6/19/2025, 7:39:28 AM No.105638023
>>105638001
>fgets
>const
>toupper
>statically allocated user input data
ayy lmao ceniles for real?
Replies: >>105638050
Anonymous
6/19/2025, 7:43:24 AM No.105638037
>changing one line from foo_t x = {0}; to foo_t x; prevents the compiler from deleting 90% of the code in optimized builds
GCC is retarded

>>105636845
#define UNUSED(x) ((void)(x))
Replies: >>105638140 >>105638158
Anonymous
6/19/2025, 7:46:21 AM No.105638050
>>105638023
>fgets
qrd on the issue here?
>const
was told to do this as a habit, is this bad?
>toupper
qrd on the issue here?
>statically allocated user input data
but there's no words longer than that

thanks!
Replies: >>105638158 >>105638205
Anonymous
6/19/2025, 8:08:31 AM No.105638140
>>105638037
Just fugging remove it instead of voiding it.

>but muh mandatory callback arguments
All right thinking people use -fno-used-parameters.
Replies: >>105638158
Anonymous
6/19/2025, 8:12:52 AM No.105638158
>>105638050
It's just the resident schizo who is hyper aggressive and complains about literally everything. He's probably going to do that bitchy thing where he won't reply to my post directly.
Just ignore him.

Regarding fgets, honestly dealing with potentially arbitrary length user strings only with standard C is actually quite a pain in the ass.
What you're doing is fine. In a real program, I'd prefer getline, but that's POSIX standard, not ISO standard.

If you were dealing with true internationalisation, toupper and other ctype functions are tied to the whole locale mess and you'd probably try to avoid it. In this case, it's fine. He's probably going to go on about how you can convert between upper and lowercase ASCII by adding or subtracting 32.

I don't know what retarded shit he's going to cook up about const, unless he just wants a static added there too.

>>105638140
>>105638037
C23 adds the maybe unused attribute, and you can just leave argument names off e.g. in a callback.
Replies: >>105638325
Anonymous
6/19/2025, 8:21:00 AM No.105638203
being_gestapo
being_gestapo
md5: 279043da5a5d5e8b81cb5e65bb2ade14🔍
>It's just the resident schizo
Lol
Lmap
Anonymous
6/19/2025, 8:21:15 AM No.105638205
>>105638050
>>fgets
>qrd on the issue here?
99% of stdc functions are useless and have some retarded blow your own foot shit and their name is stupid
just do the read syscall and parse and handle yourself (printf is okay tho)
>>const
>was told to do this as a habit, is this bad?
imo it doesn't prevent any bugs and it only makes writing/reading code shittier and since it can be cast away compilers completely ignore it
you can use when actually defining a constant (i.e. const char *set1) if you want tho
>>toupper
>qrd on the issue here?
retarded name and most char/cstring functions are influenced by what locale user has set, which will completely fuck over performance over your program and once in a while do thing you didn't except it do so just write your own version
essentially C is unusable without having your codebase
>>statically allocated user input data
>but there's no words longer than that
doesn't mean user wont input it
Replies: >>105638325
Anonymous
6/19/2025, 8:33:22 AM No.105638279
ABNF
ABNF
md5: 1ff2048337f2c38a1f28dfbee7f39eb1🔍
This thing is ambiguous. How the fuck is anoyone supposed to understand any spec described in ABNF? the syntax of URLs for example.
jesus fucking chirst
Replies: >>105638405
Anonymous
6/19/2025, 8:38:07 AM No.105638305
meanwhile people will bitch about regex's syntax, except that the regex is thoroughly unambiguous
Anonymous
6/19/2025, 8:41:12 AM No.105638325
>>105638205
>>105638158
thanks for legitimate replies and nobully. just trying to learn.
Replies: >>105638338
Anonymous
6/19/2025, 8:43:45 AM No.105638338
>>105638325
>just trying to be a parasite
Replies: >>105638357
Anonymous
6/19/2025, 8:46:33 AM No.105638357
>>105638338
yeah, of course. these are things you cannot learn from a book. not concisely and with no filter anyway.
Anonymous
6/19/2025, 8:50:02 AM No.105638374
graduatepepe
graduatepepe
md5: 2973f9e5dcd7f5db35ec47294e6fe30e🔍
>>105621602 (OP)
i made a tutorial using the python shell. i like imagining how i would teach basic programming, so i made a video. this one is a quick intro to lists. it's got lots of examples (i hate it when the documentation doesn't have any examples)

https://youtu.be/Qwl7pxY6nKM

music is "i will" by radiohead
Replies: >>105638544
Anonymous
6/19/2025, 8:54:05 AM No.105638405
>>105638279
I read it and don't see the ambiguity. What' specifically do you mean?
It's just a range indicator with some implicit default values. Notation for an exact count, as well as defining lower and upper bounds of the range.
1element is 1 element, no range
1*1element is the same but ranged
*1element is 0 or 1 elements in the range 0-1 where 0 is implied
0*1element is the same but explicit.
Replies: >>105638467
Anonymous
6/19/2025, 9:03:23 AM No.105638467
>>105638405
* N element could be interpreted as *(N element) or 0*N element (ie element{0,N} in regex)

and similarly with A * B element: A * (B element) or even A (* B element) which itself is ambiguous
Replies: >>105638499
Anonymous
6/19/2025, 9:09:28 AM No.105638499
>>105638467
>* N element could be interpreted as *(N element) or 0*N element (ie element{0,N} in regex)
I might be wrong but from my interpretation, that can't be the case because *N is always expanded to 0*N, which is different from N (sans asterisk) that expands to N*N.
Unless you mean from the perspective of a parser where you would need to find both forms and handle them.
Replies: >>105638574
Anonymous
6/19/2025, 9:19:58 AM No.105638544
>>105638374
based
Anonymous
6/19/2025, 9:26:14 AM No.105638574
1g3lst
1g3lst
md5: e8733dcb3b62acd8322ff1a1c5168b9c🔍
>>105638499
>Unless you mean from the perspective of a parser
Yes, always. I can't conceive of another way to think about those things.

>that can't be the case because *N is always expanded to 0*N, which is different from N (sans asterisk) that expands to N*N.
JUST
I would be dumbfounded if that was the case, that's how a non-technical person would think about this, and this is absolutely not the way to think about operators.
Anonymous
6/19/2025, 9:30:16 AM No.105638596
/dpt/ is unsurprisingly devoid of any meaningful discussion, so lets redditshed this:
>Actions A and B are controlled by user input using two flags
>A and B are not mutually exclusive
>B must follow A.
>C must follow B, and happen if either A or B happened.
Here's my attempt:
if do_A
A
if do_B
B
if do_A || do_B
C
Anonymous
6/19/2025, 9:36:10 AM No.105638632
smexarinos_thumb.jpg
smexarinos_thumb.jpg
md5: e6e89f2b7570f785fdaa11cdad6daf47🔍
>>105621602 (OP)
Bros what data structure would be good for this problem:

1. I have to define points (Point object) in 3D space, each point has an ID string and float coordinates x, y, z.
2. I have to define members (Member object) in 3D space which are line segments referencing 'Point' objects. A 'Member' object also has ID string, 'start' as the starting Point object and 'end' as the end Point object.
3. I have to check if newly instantiated Member objects are unique i.e. no line-segment overlaps. Suppose I have Members 'm1' and 'm2':

// In javascript bullshit pseudo-code cuz I'm a retarded webshitter
// points
const p1 = {id: "p1", x:0, y:0, z:0}
const p2 = {id: "p2", x:1, y:0, z:0}

// members
const m1 = {id: ''m1", start: p1, end: p2};
const m2 = {id: "m2", start: p2, end: p1}; // Illegal, not unique

Whats the best way to do this considering deletion of points? Maps are the obvious answer but IDK where to start.

I'm trynna "OOOOPTIMIZE" my webshit structural analysis web app (webmrel).
Replies: >>105638654
Anonymous
6/19/2025, 9:39:58 AM No.105638654
Screenshot 2025-06-19 at 10-39-51 Graph (abstract data type) - Wikipedia
>>105638632
Replies: >>105638701
Anonymous
6/19/2025, 9:47:00 AM No.105638701
>>105638654
Aight cool I forgot about graphs. I am truly retarded.
Anonymous
6/19/2025, 9:52:50 AM No.105638730
screenshot-19-06-2025-17:50:01
screenshot-19-06-2025-17:50:01
md5: 78556c522b28b96dc80b59a53661ae5e🔍
This is actually pretty neet.
I did not expect inf to work.
Replies: >>105638740
Anonymous
6/19/2025, 9:55:00 AM No.105638740
>>105638730
This kills the mathlarpers.
Anonymous
6/19/2025, 9:55:26 AM No.105638744
i made another python tutorial, this one is on dictionaries. looks prettier this time because i used ipython.

https://youtu.be/PiBwqDALdP4

music is animal collective - guys eyes

(i edited out the middle part of the song cuz normies wouldn't like it, kinda sounds like an mri machine)
Anonymous
6/19/2025, 2:16:19 PM No.105640236
>We finish this somewhat mechanical discussion of the rules by pointing out that if silly inappropriate preconditions are given then we will get a silly program.
>So programmers should not write preconditions that are not sensible and sensibly related to each other. Because of the generality, the compiler cannot tell so stupid things are hard to prohibit. There is no defence against stupid programmers.
Replies: >>105641453
Anonymous
6/19/2025, 5:19:50 PM No.105641453
>>105640236
what is "church-turing under linear subjectivity"?
Anonymous
6/19/2025, 10:05:15 PM No.105643926
I love C++ now.
Anonymous
6/19/2025, 10:42:38 PM No.105644311
when dealing with an enum to string conversion, how do you typically deal with the default case for values that technically should never appear?

enum Status {
not_ready = 0,
ready = 1
};

string statustostr(Status s) {
switch(s) {
case not_ready: return "not_ready";
case ready: return "ready";
default: return "unknown";
}
}
Replies: >>105644385 >>105644482 >>105644942 >>105646073
Anonymous
6/19/2025, 10:49:58 PM No.105644385
>>105644311
i dont, use the equivalent of unreachable
youre literally telling the compiler that it needs to handle that case and give that shit
Anonymous
6/19/2025, 10:57:55 PM No.105644482
>>105644311
assert(false && "Fix your shit code, nigger");
Anonymous
6/19/2025, 11:44:59 PM No.105644942
>>105644311
enum Status {
not_ready = 0,
ready = 1
};

string statustostr(Status s) {
switch(s & 1) {
case not_ready: return "not_ready";
case ready: return "ready";
}
}
Replies: >>105644955
Anonymous
6/19/2025, 11:46:43 PM No.105644955
>>105644942
this level of autism and you don't even consider adding 4 to "not_ready"
Replies: >>105645402
Anonymous
6/20/2025, 12:25:20 AM No.105645310
string stos(Status s)
{ return "not_ready" + s * 4;
}
Anonymous
6/20/2025, 12:34:50 AM No.105645369
#define STATUSTOSTR(s) #s
Anonymous
6/20/2025, 12:36:15 AM No.105645378
In C# this is just
Enum.GetName(typeof(Status), s);

I FUCKING LOVE REFLECTION
Anonymous
6/20/2025, 12:38:43 AM No.105645402
>>105644955
if you insist
string statustostr(Status s) {
return ((s & 1) << 2) + "not_ready";
}
Anonymous
6/20/2025, 12:42:11 AM No.105645433
>/dpt/ spergs out over enum-to-string conversions
>can't beat an LLM tasked with generating a simple AVX algorithm
>those who notice this autism are called "schizos"
Never change, /dpt/. Not that you can.
Replies: >>105645456
Anonymous
6/20/2025, 12:45:02 AM No.105645456
>>105645433
why would i beat an LLM tasked with generating a simple AVX algorithm? thats reserved for LLMs tasked with being my wives
Replies: >>105645840
Anonymous
6/20/2025, 12:46:41 AM No.105645467
588d15a951ea3c3c
588d15a951ea3c3c
md5: b7ffd67a93a889703b37018c4fb737c6🔍
>regdump schizo is trying to insert himself into the convo to maintain relevance
Kek
Anonymous
6/20/2025, 1:02:32 AM No.105645610
double_regger
double_regger
md5: e127b936033ee3a8441f265435117b39🔍
I don't need to insert myself. I am ALWAYS relevant.
Anonymous
6/20/2025, 1:32:49 AM No.105645840
>>105645456
Because both of you fail utterly.
Anonymous
6/20/2025, 1:39:49 AM No.105645905
best language for video games programming saars?
Replies: >>105646000 >>105646756
Anonymous
6/20/2025, 1:54:59 AM No.105646000
>>105645905
The one you know the best. JS doesn't count though.
Replies: >>105646019
Anonymous
6/20/2025, 1:57:51 AM No.105646019
>>105646000
i dont want to video games programming in php
Replies: >>105646107
Anonymous
6/20/2025, 2:06:59 AM No.105646073
>>105644311
#define ALL_SHAPES \
X(Triangle, 3) \
X(Rectangle, 4) \
X(Pentagon, 5)

enum Shape {
#define X(name, ...) \
Shape_ ## name
ALL_SHAPES
#undef X
};

const char* GetShapeName(enum Shape shape) {
switch (shape) {
#define X(name, ...) \
case name: return #name;
ALL_SHAPES
#undef X
};

ASSERT(false);
}

int GetShapeSides(enum Shape shape) {
switch (shape) {
#define X(name, sides, ...) \
case name: return sides;
ALL_SHAPES
#undef X
};

ASSERT(false);
}
Anonymous
6/20/2025, 2:11:39 AM No.105646107
>>105646019
You will unleash horrors beyond human comprehension in the form of game dev with php. It's your duty.
Anonymous
6/20/2025, 3:48:58 AM No.105646756
>>105645905
video games programming is not real programming
Replies: >>105647000
Anonymous
6/20/2025, 4:26:11 AM No.105647000
>>105646756
There's no real programming, just problems that have to be solved.