[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1724226729315.png (270 KB, 850x400)
270 KB
270 KB PNG
Welcome to the Daily Programming Thread. What are you working on, /g/?
Previous Thread: >>101979603
>>
>>102005977
writing an entity component system
>>
>>102005977
Why new? I am oldfag
>>
>>102005977
Total Python death NOW !!!
>>
>>102005977
OOP is a bad idea for people with fridge IQ
>>
>>102005977
Why do people hate OOP? Is it because its too hard for them to do? I like objects. They encapsulate things that are supposed to be together, and have many useful patterns.
>>
>>102005977
>>102006000
>try to find new jerb beginning of the year (after release from mental hospital)
>okay lets try to find something easy with only 30h/week
>get a jerb at some internet company as backend dev for golang and python
>I have never written golang, but boss said if I know C go will be easy
>go is akshually fun
>Their python code though. Damn.
>Django
>Multiple inheritance everywhere
>Thousand files to achieve one simple task
gosh, i fuckin hate it so much. I try to work as much as possible on the golang code, which is just fun and easy money.
Gotta get back into embedded dev some day. I can't stand this internet crap.

Now working there a few months and I think I got a good overview about what the big boi python code actually does. And I believe it can be shrinked down incredibly. So I am thinking all the time about writing it from scratch in golang whenever I have some minutes free during cagie. It'd be so much easier, faster and just better in every possible way
>>
>>102006043
As >>102006013 said.
OOP ain't that bad. People just use it in dumb ways. Stupid long hierarchies, multiple inheritance, etc.
When everything you need is just a simple class to encapsulate something.
Abstract classes are good too. Imo factory pattern is one of the only really good patterns. I like it and that's where OOP is just nice. Over use of OOP is bad
>>
>>102006043
There's a handful of cases where it's useful, but the most prominent example of it, C++, is literally just fucking abstraction of existing C concepts, with an added noxious layer of "WE MUST PROTECT YOU FROM YOURSELF!"
>>
quick koding nap, ok? Then we build a new, simpler SoC for my risc-v cpu. Hopefully shortening the critical path so much that I can achieve 100 MHz on the ecp5
>>
>>102006043
What if I told you that I want to control where those objects are stored, and where subobjects and their subobjects are stored as well?
>you're not supposed to have control over that
Then your implementation of OOP is garbage.
>>
>>102006043
for beginners (everyone on this board) they don't like it because it adds overhead they see as unnecessary because they haven't had to organize a large project
>>
>>102006066
>Over use of OOP is bad
underusing OOP is far worse. in my experience, 95% of problems with code is a result of writing procedurally instead of going all out on OOP

what most people complain about isn't actually OOP itself - it's overengineering, which can happen in any paradigm and isn't inherent to only OOP
>>
>>102006243
>I want to control where those objects are stored, and where subobjects and their subobjects are stored as well
so implement it that way? sounds like you're eager to blame the paradigm for your own lack of skill
>>
File: locs.png (3 KB, 72x330)
3 KB
3 KB PNG
>>102006290
>because they haven't had to organize a large project
Lol
Lmao
>>
>>102006325
Why bother with the paradigm in the first place, if I have to work around it?
>>
>>102006326
>he thinks LoC measures the size of his project
>>
>>102006343
It quite literally does.
>>
>>102006339
then don't use it, you pissbaby
>>
>>102006359
it doesn't
I could write 80,000 lines of boilerplate or I could write 8,000 lines of complex code
you aren't considering information entropy
>>
>>102006360
So it is garbage? That's what I thought.

>>102006372
Your denial of reality is cute, but fruitless.
>>
>>102006406
Let's see the code then tough guy
>>
>>102006416
>Why would I post a single line of code
>>
>>102006450
I accept your concession
>>
>>102006467
I was just throwing your own quotes back at you.
>>
>>102006477
You're all bark and no bite
Can't back your words up
>>
>>102006043
>>102006044
>>102006296
>write an app using a framework and/or OOP
>write it the way the framework/OOP specifies
>hire a new dev with experience with framework/OOP
>he's pushing code on his first day
it's that simple retards, if you're running a business and don't want to be lorded over by a bunch of nerds who think they're gods then OOP is unironcally the best option. Otherwise be happy with them building a silo of esoteric knowledge they'll eventually use against you.
>>
>>102006493
Wrong. *I* choose not to, whereas *you* can't.
>>
>>102006516
Amusing that someone so keen to brag is too afraid to post his own source code
Must look pretty terrible in there
>>
to the anon who wrote the "regger": I wrote a version that dumps the entire registry database in little over 10 seconds, didn't use any fancy tools, just regular C++ code.. What now?
>>
File: dump.png (89 KB, 1894x989)
89 KB
89 KB PNG
>>102006530
Well, why don't you show off your work then? Is it diffable?
>>
>>102006550
well, I don't really need to show anything now, do I? It just works and does the job
>>
>>102006565
>proof of existence: missing
>What now?
Now nothing, just as your project.
>>
>>102006575
Not seeing any source code from you lil bro
>>
>>102006577
You get what you give. In this case: nothing.
>>
>>102006598
We get that you think you're an amazing programmer but you haven't given the proof
>>
>>102006406
OOP isn't garbage, you just have to not get filtered by it
>>
Shucks.
>>
File: reg_output_example.png (1.18 MB, 3377x1240)
1.18 MB
1.18 MB PNG
>>102006575
Fine.. Here's a little snapshot of how it looks like
>>
File: final_version.png (35 KB, 1530x968)
35 KB
35 KB PNG
>>102006652
How long does it take to run?
>>
I seriously can't believe there's some retard in here bragging about how fast his registry dumper is
>>
The dumbest part is how these fucking threads aren't about programming now, they're just a place for masochists to get verbal abuse from someone so tirelessly hateful, he could make AM blush
/dpt/ - Daily humiliation ritual
>>
>>102006750
I'm more baffled how in current year it's OK to be openly using windows, let alone on a tech board.
>>
>>102006776
You know if this guy acted like this anywhere in real life he'd get the shit kicked out of him, but here he is on the internet on an unmoderated board holding anyone who wants to talk about programming hostage
>>
>>102006795
It has to be a sex thing
He is gooning at all times to the thought of making sweaty men cry
>>
>>102006812
He had a big meltdown a while back when he admitted he was bullied at school, clearly he wasn't bullied hard enough
>>
File: full_reg_dump_time_test.png (448 KB, 1163x1104)
448 KB
448 KB PNG
>>102006711
Little over 2 seconds. But it doesn't make sense to compare our results like this, no? Your computer might have a completely different registry than mine and viceversa, plus I might have a more powerful PC than yours, I doubt its just code difference here, otherwise I guess you didn't enable optimizations in your compiler.
>>
>>102006793
some people actually have jobs
>>
>>102006839
>Little over 2 seconds.
Yeah, now I know that's bollocks. Have fun larping.
>>
>>102006839
little less* than 2 seconds. Also fuck, I hope that Steam info in the registry can't be tracked back to me. Oops!
>>
>>102006793
At my current cagie I had the option to use whatever OS I like.
I started with windows, because then it was already set up and I thought I could at first just adapt the workflow of my colleagues.
But damn, that was a pain. Windows 11 constantly used like 11/16GiB, was slow as hell and just plain frustrated. After about a month I installed simple Ubuntu and now cagie is fun again.
I don't even know how anyone can use windows at this point
>>
>>102006849
I accept your concession.
>>
>>102006849
haha he can't cope
he shrinks back into the cave of denial
>>
>>102006824
Don't use "bullied" and "hard" in the same sentence around that guy when you already know he is
>>
>>102006870
No, I just know about the "UserData" and "SideBySide" keys. Also the fact that you haven't clarified how big your dump is, and that you use the hive notation indicating you're not iterating through the NT namespace ... I mean, come on.
>>
>>102006883
You never specified what the program needs to do exactly, you never provided a baseline implementation, all you do is post random screenshots challenging people, and now that I post my evidence you say its not good and that I am larping, do you have any idea how insane you sound?
>>
>>102006043
in Java-style oop languages, you implement a new interface for every piece of data, and you have to learn every object's interface in order to use it.
Another approach is to just use maps/dictionaries for yor data and then have a strong standard library with many generic functions to process maps. The result of each philosophy is >>101980847

>They encapsulate things that are supposed to be together
no, they complect mutable state with business logic, thereby making everything they touch harder to understand and harder to test.
Grouping things together can be achieved with namespaces just fine.
>>
>>102006903
textbook small dog syndrome
>>
>>102006903
Also btw, the speed difference might just be that I am using 2 NVMe SSDs in RAID1. Pretty sure the bottleneck here is reading the database from the file, not producing output.

>>102006908
lmfao you delusional
>>
>>102006921
sorry, I was talking about the guy issuing challenges
>>
>>102006930
ah, sure. Yeah no idea what that guy is on about, this shit didn't even take that long as the database format for registry is well-known and there's plenty of blogs covering registry dumpers.
>>
File: format.png (148 KB, 1894x966)
148 KB
148 KB PNG
>>102006903
>You never specified what the program needs to do exactly
I have done so plenty of times.
>>
>>102006953
Do you seriously expect everyone you talk to to have read your entry on the 4chan schizo wiki?
>>
>>102006953
Nobody is subscribed to your blog my schizo friend.
>>
>>102006966
Well, now I do.
>>
>>102006973
>>102006953
Is the screenshot supposed to be a spec?
>>
>>102006921
>>102006849
>NOOOOOOO YOU CAN'T JUST MAKE A REGISTRY DUMPER FASTER THAN MINE
>haha NVMe go brrr
>>
>>102007003
kek
>spend 5 years making state of the art registry dumper in ASM
>it's IO-bottlenecked
>>
>>102006996
... fine. Here's the format:
>complete registry
>meaning it has to run as System/nt authority
>sorted alphanumerically, so that the outputs are diffable. Yes, that's important, you can't skip on that.
>each value starts with the upper and the lower 32-bit of the timestamp as well as the data type, followed by the complete path, and then the data, whose representation can vary depending on that type
>binary data needs hexadecimal and ASCII representation, as shown in the screenshot
>in UTF-8 format probably over 400 MiB, if not more

>>102007003
I write the files into a RAM disk. There is no NVMe.
>>
>>102006043
I work with micro-services and we are never meant to store state. Data comes into a service and some action is performed, which results in function calls. I just group related functions logically into a namespace.

A class without space is really just a namespace. A static class is kind of an anti-pattern, because if your application is all static classes and/or singletons, you really don't benefit from OO.
>>
>>102007039
>without space
without STATE
>>
>>102007039
>I work with micro-services and we are never meant to store state. Data comes into a service and some action is performed, which results in function calls
Webdevs seem to have managed to remove all the actual programming for programming
>>
>>102007014
Oh, and I should add:
>because it needs to be the complete registry
RegOpenKey won't do you much good, you have to interact with the NT namespace, as I've already hinted at: >>102006883
>>
Why am I productive as hell on my smol t480s and just procrastinate on my desktop, where I have a nice 1440p screen and a clicky clacky keyboard? I don't really understand
>>
>>102006904
>they complect mutable state with business logic, thereby making everything they touch harder to understand and harder to test
way to miss the point of encapsulation

>you implement a new interface for every piece of data, and you have to learn every object's interface in order to use it
interfaces should be designed around behavior rather than data
that way you only need to learn interfaces relevant to the action you want to execute on data
>>
OOP is not how hardware works. It slows things down.
>>
File: Brainlet.jpg (64 KB, 645x729)
64 KB
64 KB JPG
>>102007217
Look at this guy
>>
>>102006372
you are retarded
>>
>>102007251
>>102007238
>>
>>102006824
i remember literally breaking the guy's mind by dehumanizing him, he left for a couple days then some other retard made a thread about arena allocations or whatever and that /r/MadeHisDay
>>
File: double_regger.png (304 KB, 571x525)
304 KB
304 KB PNG
I seem to have broken quite a lot of minds here, considering all the lies that are told amongst the bottomfeeders. Keep at it, girls.
>>
What is it that you guys consider "OOP"? For example, lets take this NES emulator as example:

https://bisqwit.iki.fi/jutut/kuvat/programming_examples/nesemu1/nesemu1.cc

Clearly, its grouping methods inside namespaces, but its not using inheritance, would this be classified by OOP? I mean, C++ the language, refers to all types as objects, instances of a type. Does that mean that C++ is inherently OOP? Even if you don't use inheritance or other made up construct?
>>
>>102007278
>i remember literally breaking the guy's mind by dehumanizing him
how? can you do it again?
>>
>>102007298
>SDL_Surface *s;
Stopped reading, sorry.
>>
>>102007292
i feed higher than you, anyway if i were as schizophrenic and jewish as you are i would be able to find that post, you are likely glad that i cant
>>
>i feed higher than you
With no code to speak of? Lol
>>
>>102007298
OOP has not been rigorously defined
If you actually think about it, the definition that makes the most sense is that an object is a grouping of data and functions that operate on that data, so by that definition I would consider that code OOP
>>
in short, i want to start making free tools for various things either in my daily life or communities i participate in. i can write the majority of the code but making it user friendly seems like a challenge
is there a reasonable way to make C++ GUI applications without using libraries like Qt and especially not dear imgui? i feel like Qt has a lot of baggage with figuring out licenses, etc. and i just don't like the stock look of imgui at all. if i'm wrong about Qt let me know though because i do feel like it's very powerful
>>
>>102007292
I still remember you breaking down about crying about bullies kid
Maybe if you didn't act like literal hellspawn people wouldn't bully you
>>
>>102007299
it is not that simple

though he was basically blogging all of his programming activities, which consisted mostly of boring text encoding parsers in 512avx, other anon(s?) started calling him a faggot and the final anon posted some 5 line post the essence of which was "guy is a retarded nigger, dont hold any regard towards him, just consume whatever it is useful that comes out of his mouth and fuck the rest off"
>>
Is that the same universe in which a registry dumper runs in two seconds? Lol.
>>
>>102007323
i work harder than you, i am not going to doxx myself though
>>
>which consisted mostly of boring text encoding parsers in 512avx
This just keeps getting better and better. I've never done AVX-512 (yes, that's how it's spelled).
>>
>>102007349
>he started replying within the minute
top lmaos, so yeah you seem pretty mad mate
thiss is the last bit of attention you are getting from me today, matter of fact fuck this nigger thread, been a while since i saw interesting discussion
bye bye niggers hope i wont be missed.
>>
>>102007324
But then, by that definition what *isn't* OOP?
>>
No, you just work GPT harder than me, which I don't at all.
>>
>>102007298
For me, OOP is, as others have said, grouping variables and functions into a single entity and on top of that being able to control visibility of these attributes. Also inheritance.
Sure that can be done with C, too, but it's just not as rigorous.
>>
>>102005977
Some dude hired me to make him a website for some university club thing, I'm taking it as a chance to try out in an actual project the shitty PHP framework I am working on in my free time. Not going to lie I'm having some real fun
>>
>bye bye niggers hope i wont be missed
A nocodeshitter? Are you kidding?
>>
>>102007326
The only other real option is GTK, but gtkmm seems pretty inactive and the GTK devs don't seem to care about it much. I've used wxWidgets for some projects before, but most people would consider it a "legacy" thing nowadays.
>>
>>102007369
standard procedural programming where functions and data are seperate
>>
>>102007369
int a;

void foo() {}

int bar(int) {}

int main() {
a = 5;
foo();
bar(a);
}
>>
>>102007387
lil bro still hasn't posted his source code
>>
>>102006598
>>
>>102007406
If i post source code will you post yours?
>>
>>102007392
but you have functions acting on that data, and that data has some representation.
>>102007394
Even here, you could argue that the "int a" is an object on which "bar" acts upon.

In any case, I think what most people mean when they say "I hate OOP" is the endless bullshittery of class hierarchies and the overuse of design patterns when they aren't required. That I am fine with, but nobody has sat down and separated abstracting code logically and OOP bullshit concisely.
>>
File: regger_threads.png (68 KB, 1664x720)
68 KB
68 KB PNG
>>102007411
Just to make my point I'll go in advance. I fully expect to receive nothing in return anyway, since this is Nocodeshitter Central.
>>
>>102007421
All functions operate on data. An object is where you group data together with functions that operate on that data
>>
>>102007388
>GTK devs don't seem to care about it much
feels bad
might check out wxWidgets though. the out of the box look seems pretty cute (in a windows 7 sorta way). plus my programs don't need to be super sleek looking especially during testing, they just have to work and be navigable lol
>>
>>102007424
Post one of those 8000 line files
I want to see your godly programming style
>>
>nothing in return
>absolutely nothing at all
>just more demands
Go drown in a swamp.
>>
>>102007436
So if I have my data defined in one file, and my functions that act on that data defined in another, I am no longer doing OOP? Wouldn't that mean that C++'s header separation (class definition) and member implementation (translation unit) is not OOP?
>>
>>102007424
>>102007454
lil bro what you posted is just an array. It doesn't even have logic on it, you couldn't even call that code.
>>
What exactly confused you about "drown in a swamp"?
>>
>>102007465
The object and the data need to be bound somehow. C++ has a shitty way of binding member functions, because you often do it outside the class definition, but they are still exclusively bound to that type and not another type
>>
>>102007454
You didn't post much. I want to see your actual code. If I need to post code to get you to cough up I'll do it
>>
Is it correct that I have to write every single fucking shit twice, if I want to adopt harvard architecture for my CPU core?

And then, for external memory access I have to build a priority decoder and make it von-neumann right???
>>
>>102007495
What you refer to is strong typing, not a property of OOP alone, other paradigms that don't call themselves "object-oriented" behave similarly even if they dont support the fancier features like inheritance. My point to all of this being, that clearly when people say they hate OOP, they are not referring to the language, nor to paradigms, they are referring to a specific organizational issue that promotes needless use of design patterns when they aren't needed, in other words, overengineering for the sake of looking pro or some other random shit as opposed to actually solving the problem.
>>
File: 1724208762910178.png (15 KB, 355x425)
15 KB
15 KB PNG
>>102005977
I pogrammed a calendar/shedule console app in C#. However I want a gui so now I gotta learn how to do a gui.

I got previous experience with Python's TK for the gui. What C# Framework is similar to that?
>>
>>102007571
No I'm not talking about strong typing at all. Grouping data and functions that operate on that data into one unit is not that hard to understand
When people say they hate OOP they mean many things, because OOP hasn't been clearly defined
>>
File: for_the_leech.png (33 KB, 780x930)
33 KB
33 KB PNG
>>102007503
Sure, whatever, leech.
>>
>>102007642
The whole file
I don't want to see snippets, I want to see how you structure your code, I want to know why your program that should be a few hundred lines is 100,000 lines
>>
File: ntstatusssssssssss.png (97 KB, 1394x706)
97 KB
97 KB PNG
>>102007653
>100,000 lines
... that's a completely different project from the registry dumper and has to do with the fact that ntdll.dll is a undocumented mess.
>>
>>102007690
what project is that?
>>
File: more_proof.png (49 KB, 1894x506)
49 KB
49 KB PNG
>>102007700
What it says on the tin:
>injector_ntdll
>>
>>102007718
I don't know what that is, what does it so?
>>
>>102007734
It places itself between the program and the kernel and logs all calls together with their parameters.
>>
>>102007767
So why is that so many lines of code?
>>
>>102007128
I guess it's because Youtube and other possible distractions aren't as appealing on a T480s.
>>
File: queries.png (77 KB, 1258x676)
77 KB
77 KB PNG
>>102007780
Do you have any idea whatsoever how many syscalls there are? But they still have to be in the same file because I use __COUNTER__ as an index into a structure array.
>>
>>102007808
Oh so it's not even code, it's essentially just data
Pretty dishonest of you to flaunt that like you've actually written a large program
>>
>still nothing in return
I love how I was right all along.
>>
>>102007846
First of all, you haven't posted code
Second, why do you want it in the first place
>>
>nothing at all
>as expected from a nocodeshitter
>>
"Narcissistic supply" refers to the attention and validation individuals with narcissistic personality traits or NPD seek to maintain their self-worth. They derive this supply from others through praise, compliments, conflict, or criticism—positive or negative attention serves the same purpose. When they feel deprived of this supply, narcissists may resort to manipulative or abusive behaviors to regain it, often cycling through relationships to find new sources. The preferred method of interacting with narcissists online is to starve them of attention, denying them the supply they crave.
>>
>making up excuses why he doesn't post any code
>>
>>102007896
yeah, we should just ignore the renigger schizo until he finally goes away. I see absolutely no fucking point in all his shit, and if he was that knowledgeable about wingblows innards, why not share the knowledge, or hell, even contribute it to something like Wine. Nope, instead he spams /g/ for days on end with no real purpose.
>>
>>102007876
I told you, if you want me to post code in exchange for yours, I'll do it
Although I don't know if I'm actually interested anymore now that I know that your "big project" is just a load of boilerplate
>>
>>102007943
>until he finally goes away
this psychopath has been haunting this thread for a year
>>
>>102007966
jesus fucking christ, I am relatively new and I thought the guy would leave soon and was just the autist of the week. I am incredibly sorry to hear this.
>>
>>102007993
It's sad, he actually destroyed this thread, I had been a regular for years and I left, came back and he's still fucking here and he's basically the only person in this thread, programming discussion on /g/ is dead
>>
>>102008003
I wonder now if its the same lunatic that keeps trigering the rusttrannies into insulting every C programmer on every other thread. Mods, fucking do something!
>>
>>102008003
>programming discussion on /g/ is dead
It was always dead.
>>
>>102008063
Nope, this thread was pretty good until you came along
>>
File: Capture333.png (317 KB, 1851x340)
317 KB
317 KB PNG
Can i get a summary of what the problem is?
>>
>>102008094
Nope, it wasn't, because I didn't leave any safe spaces for you to flee into. I brought truth into a space that thrives on lives.
>>
File: 983.png (331 KB, 600x784)
331 KB
331 KB PNG
>>102008150
>>
>>102008178
Do you think that will make me go away? Lol.
>>
>>102008150
You're a mediocre programmer, high school level, and you ruined the thread with your psychopathic narcissism
>>
>>102008025
I wonder if there's anything I can say that will change your preconception.

>>102008208
Sounds like I'm right at home then.
>>
>>102008215
No, you even mananged to repel the average 4channer, which is why this thread is now dead
>>
Sounds like a good thing not gonna lie.
>>
>>102008263
Why do you think you matter and others don't?
>>
Because they're powerless to do anything about me.
>>
>>102008299
I mean is there any actual reason for you to ruin this thread or are you just intrinsicially evil?
>>
Why not both?
>>
>>102008236
Only troons are that desperate for male attention. I have a feeling this problem will solve itself eventually.
>>
>>102008561
its been over a year
>>
>>102008561
Goddamn i wish he was actually a troon that would give me his discord so we can send each other dick pics, alas, its just an autistic schizo
>>
File: 1620959278062.jpg (9 KB, 229x220)
9 KB
9 KB JPG
>>102007298
>What is it that you guys consider "OOP"?
for me, it boils down to instantiation (non-global lifetime of objects, which are entities that expose behavior and hold state internally)
ideally, all state is internal and only behavior is exposed, ie. encapsulation; also narrow scoping of state, ie. low coupling/high cohesion

for example, a List can have behaviors like addElement(), removeElement(), getElement(), getSize(). each instance of List has its own internal state, which you don't need to think about - is the size a field or always recalculated whenever I call getSize() -- I don't care, I only want to get it when I ask for it
I can instantiate a new List whenever I need it, if I need another I can have a new separate one without affecting the first.

>NES emulator as example
looks procedural, everything is a singleton
then again, it's a too low-level example to make OOP stand out - what would you even instantiate differently, more than once, or for shorter than the whole lifespan of the program?

>Does that mean that C++ is inherently OOP?
writing in a "[paradigm]" language does not inherently dictate the paradigm the code is written in. you can reinvent OOP in C or Pascal; you can write procedurally in Java
so whatever paradigm you consider C++ to be, it doesn't inherently dictate what your program ends up being
>>
>>102008567
Well have you tried being more interesting than him to argue with?
>>
>>102008660
Of course I'm more interesting than him given I'm an actual programmer but I don't actually want to have arguments with children on /dpt/
>>
File: 1677620821222259.png (127 KB, 237x311)
127 KB
127 KB PNG
>i wish he was actually a troon
And yet people call ME evil.
>>
File: depressed_miku_1.jpg (76 KB, 1024x722)
76 KB
76 KB JPG
So there's this team of php boomer contractors I've worked with on a few projects in the past. They're not the brightest programmers, they make dumb mistakes and write simple code that's basically just a thin wrapper around DB accesses. If they end up having to write anything that has the potential to become a real performance bottleneck, yeah you definitely want to jump in and write that part of the code yourself. But, after some prodding, they usually get the job done and their stuff is simple and it ends up working stably in the end. So about half a year ago, it seems some fuckwits from another company involved in the current project which is higher up in the pecking order than the boomers' company, caught wind of the fact that this boomer team wasn't using (insert whatever current year slop middleware was popular at the time), and so this other company strong armed themselves in as "consultants" and started demanding that the boomer team use all sorts of Cloud (tm) based vendor lock-in type microservices and so forth. I'm pretty sure the term "web scale" was thrown around unironically at some point. Anyhow, now the boomers' servers are unstable as fuck and shit breaks every time they try to update anything at all. Whenever I glance at their source, the third party vendor folder is getting larger and larger. And when the project releases in a couple months and inevitably nothing works, the boomers are going to take the blame in place of the hotshot assholes who pushed in all the shitty cloud based crap.

Thanks for reading my blog /dpt/.
>>
File: 1683665049321272.jpg (13 KB, 292x215)
13 KB
13 KB JPG
>I'm more interesting than him given I'm an actual programmer
Good one, but programmers have code to post, and you never post any code.
>>
>>102008776
anime poster = gae
>>
>>102007061
>still nothing
Yeah, I figured there'd be absolutely nothing. Guess I win yet again.
>>
>>102008748
Dont be shy anon, post tour clitty for us to enjoy. I dont care about the code, I just want to goon
>>
File: zu96pbylvkn61.jpg (134 KB, 1452x854)
134 KB
134 KB JPG
Sorry, but despite my proper color vision I'm a guy who sees Christmas just fine.
>>
>>102008776
>Thanks for reading my blog /dpt/.
I didn't read it but you're welcome anyways
>>
>>102007298
>>102008633
>Q:What is OOP?
>A:WORDS WORDS WORDS WORDS WORDS
OOP is, foundationally, nothing more than a notation to better allow fully-specified typing of values, even in a chain of operations with intermediate values of differing types. This is the main goal it actually tries to achieve, and mostly does.
To the point about the emulator source, since operator overloading is basically an extension to OOP's purpose, yes, there is some OOP in that code.
>>
>>102007298
Smalltalk or any of its implementations.
For modern Smalltalk, see: Pharo.
>>
>>102008776
maybe you should get each team to attribute their log messages somehow
assuming the cloud based crap is directly causing the crashes it'll be fairly clear who's responsible
>>
>>102008776
You should have stood up for the boomers and told the hotshots to fuck off.
Now you get the boomers to be more agreeable to your fixes and the codebase is safe.
>>
>>102008714
The most interesting people say the least interesting things, I guess.
>>
>>102009118
Lol.
>>
>>102009118
???
>>
>>102005977
I just wrote my first fizzbuzz program (in shell). It's probably super poorly written and inefficient and whatever, but I didn't use any manpages, documentation, tutorials, guides, past code, AI, etc. I wrote it entirely off of recollection, so I'm personally pretty hyped.

```
#!/bin/sh

for x in {1..100};
do
if [ $[ $x % 3 ] = 0 ] && [ $[ $x % 5 ] = 0 ]; then
echo "Fizzbuzz"
elif [ $[ $x % 5 ] = 0 ]; then
echo "Buzz"
elif [ $[ $x % 3 ] = 0 ]; then
echo "Fizz"
else
echo "$x"
fi
done
```
>>
>>102009193
Go back
>>
>>102009193
I prefer the
elif ((x % 5 == 0))
syntax.
>>
finally stopped being lazy and actually began working on the GUI for my python program its very new so sorry it doesnt look too polished
>>
>>102009021
>2 sentences and an example
>WORDS WORDS WORDS WORDS WORDS
zoomers are hopeless
>>
Nocodeshitters are worse.
>>
>>102006000
But why do you hate Python?
>>
>>102009633
dependency hell and offering very little over c++ classes while being slow. It offers nothing. pandas, beautiful soup or numpy could have been done as a c++ class and you'd harrdly know the difference other than the build system.
>>
File: 1724159011646049.png (19 KB, 743x216)
19 KB
19 KB PNG
>>
>>102009633
Retards love abstracting and make a single pipeline that gives you a god object with 100 optional members.
>>
File: rubish.png (77 KB, 1386x920)
77 KB
77 KB PNG
I made a rubbish programming language and interpreter as a hobby project over the last couple weeks
>>
>>102009793
Does this have anything to do with Python's lack of private/public distinctions? There are workarounds but that muddies things.
>>
>>102009872
Private stuff would help but it always boils down to dynamic typing.
>>
I'm pretty new to programming, but is there like a site for code snippets since I want to make a File tab on the top left by myself but I don't know how...
>>
I can delete items from my images grid, now i want to access the item data and display them in textboxes in a panel in the right, i wish things were much easier
>>
>>102010633
Yeah, it's called StackOverflow (unironically)
>>
>>102010599
>>102010633
>>102010644
I have nothing to say, but your repeating numbers are nice
>>
>>102010633
>>102010674
Yes, stackoverflow and just learn how to use search engines efficiently in general.
I wouldn't recommend AI since it produces way way too much garbage
>>
>>102010674
>>102010695
Can you type the code? Like the File tab on Notepad
>>
File: uh-wut-5c5d01.jpg (282 KB, 800x449)
282 KB
282 KB JPG
>>102010872
>>
>>102010872
Has Anyone Really Been Far Even as Decided to Use Even Go Want to do Look More Like?
>>
>>102010889
>>102010900
Is that an File?
>>
>>102010675
What OOP touches becomes the reverse of OOP.
>>
>>102010970
Ah yes Indian
>>
>>102010997
Well I'm just saying there's a reason they flock to it. A certain feeling of.. familiarity. Home.
>>
>OOP heads: WORDS WORDS WORDS
>actual coder: >>102007217
>brainlets: <no reaction>
/dpt/ has gone to pot, and it's not due to one single schizo.
>>
>>102009842
>>
>>102011181
>coder
Opinion discarded.
>>
>>102010889
Anon wants to draw a window and put a native bar with native buttons on top, like the File and Edit buttons in Notepad (Windows).
>by myself
Which is basically impossible for a noob since they have to either understand and bind the WinApi or roll their own rendering.
What would you recommend for a noob that wants to do GUI? Webshit? Qt? JavaFX? Raylib?
>>
>>102010633
>>102010872

You need communicate better what you want to do, you are being extremely vague to the point that nobody can understand what you're asking for.

When you say you want a "file tab on the top left", that could mean a million different things. We need to know stuff like
- What programming language and dev tools are you working with?
- What environment are you targeting? Windows? MacOS? Linux? Or are you looking to make a web app that runs in web browser? Or are you looking to make an android app?

Basically you need to understand that nobody can read your mind, you need to fucking communicate what you are looking for, rather than asking a question like "uhh I want, like, a button... like, in the top left n stuff.... how do I do that, can you give me the code?"
>>
File: 1659936599736.jpg (179 KB, 956x771)
179 KB
179 KB JPG
>>102011405
Qt
>>
>>102011405
> What would you recommend for a noob that wants to do GUI? Webshit? Qt? JavaFX? Raylib?

tcl/tk
>>
>>102006123
cniles mad
>>
>>102005977
im sick of every game launcher on linux being electron or gtk, whats the best way to learn programming so i can make a qt game launcher?
>>
>cniles mad
How can someone superiour be mad? Sounds like cope to me.
>>
>>102006043
the reason: C programmers love 1-file programs that are 20,000 lines of code and where every variable name is 'c' j' 'x' 'i' and so on
so when they see programmers who actually still contain a bit of human spirit inside them, and realize they are writing for for other humans to not only use but understand, it confuses and enrages them
you have to act like people who are still using c/c++ are 20,000 year old turtles in the galapagos to understand their behavior
>>
>>102011587
>human spirit
>writing for other humans
I think you've mistaken corporate cult for human spirit
>>
>>102011647
write real software that people actually use and then get back to me
>>
>>102011662
>real software that people actually use
>human spirit
Sorry bro but human spirit is not a bullet point for your CV
>>
>>102011587
>you have to act like people who are still using c/c++ are 20,000 year old turtles in the galapagos
So ancient, wise and resilient? If I met a turtle that's 20 thousand years old I would GENUFLECT immediately.
>>
>>102011587
I feel like you haven't read any C source written in the last 20 years.

Post your rust repo
>>
>>102011587
> 'c' j' 'x' 'i'
Excuse me, you forgot 'y' and 'k'
>>
>>102011676
>>102011675
lol, lmao even
>>102011709
https://github.com/cdown/dwm/blob/master/dwm.c
>le epic "c hacker" suck less window manager
>it's just a 3000 line c file with 0 organization and not a single variable name that actually tells you what the code is doing
a real hacker values self-documenting code, not this unreadable soup
>>
>>102011743
>self-documenting code
"lol, lmao even" back at you.
>>
>>102011743
>a real hacker values self-documenting code
Yeah they actually had that right there in the definition for "hacker" since day 1.
Hacking? No, self documenting code
>>
>>102011743
You can't actually read code at all, can you.
>>
cniles are so embarrassing you slap 1 down and 3 more come up like its whack-a-mole to tell you that yes, actually, pretending like programming as a technical field hasn't made any progress in 20 years is good, actually, and so is still writing code that looks like it belongs in K&R
>>
Should I build an OS with Rust from scratch (no stdlib)?
I never really koded in rust. I think i went through the book in 2017 or so
>>
>>102011823
>you slap 1 down
Where?
>>
>>102011836
in your moms bed last night whilst i wast pounding thine sweet ass of thy fine maiden's
>>
is this thread normally this schizo?
i haven't been here in a few months

anyways is there a way to determine if crackmes are malicious? trying to get up and running with ghidra but dunno where else to start
>>
>>102011858
Dry-humping you mattress again, eh.
>>
>>102011870
>cnile projection
>>
>>102011878
>nocodeshitters projection
>>
>>102011823
>everybody who disagrees with me is a diehard C programmer
Anyway, show us some of that "self documenting code" of yours, so we can have a good laugh at your expense.
>>
>>102011264
What windowmanager?
>>
>>102011902
>show us some of that "self documenting code" of yours
okay, i've got it
how about a variable name that isnt 'c'? or 'x'? or 'e'?
we don't use punchcards anymore, you know. a variable name can be as long as you want!
>>
>>102011743
You're right with this example, this code is really unreadable, there are almost no comments at all and the comments that are there only make sense if you already know everything, the variable names are mostly a single letter or three letters long, and the ones that are longer and more descriptive are all in lower case so the words meld together and you have to stare at it for a few seconds to work out wtf it's saying,

this is very "autistic lone wolf coder (oh sorry for offending you mr autist I mean programmer) hobby project", and the author probably gave almost 0 thought to making it presentable to other people, either that or they're too autistic to realise that other people can't read this code as it requires you to already know wtf it's doing to make sense of it
>>
>doesn't show us any code
>is just talking about it
The nocodeshitter's scared.
>>
>>102011743
I just skimmed through the first 700 lines of defs it seems readable. Single characters are annoying, but the functions are concise and the pointer reference is visible.

This actually looks really good to me tbqh
>>
>>102011903
xfwm4 with "Tgc-large" theme
>>
>>102006000
checked

>>102006044
Django was a huge mistake. Flask is SO much comfier.

Honestly Flask (and Quart) is the most beautiful thing I know. Why would you need something other than that and SQLite?
>>
>>102011910
>we don't use punchcards anymore, you know. a variable name can be as long as you want!
I know; I'm a lisp programmer.
Now, back to that "self documenting code" of yours. Don't be a tease, I need a good laugh.
>>
>>102011946
>I'm a lisp programmer.
lol, lmao
>>
>>102011919
What comments do you need? The first 2000 lines with any need-to-know names are X11 API calls that never change regardless of who writes them and in what application.
>>
>>102012000
>write the same 2000 lines over and over for every x11 wm
do they really?
>>
File: 5ebb.jpg (53 KB, 480x600)
53 KB
53 KB JPG
>>
>>102011937
>Honestly Flask (and Quart) is the most beautiful thing I know. Why would you need something other than that and SQLite?
That's what I've been asking myself for the past 6 months.
They blew that shit up so fucking much and I don't know why.
We have like 40k customers or something in that order of magnitude, which translates to (i am not entirely sure) a few requests per second maybe. So really not that much. The service I am working on is mostly idling, because it's just some management. I don't know why you'd need django or some big boi database behind that, but that's what we have. I am just doing my job and kooding day in day out
>>
>still no self-documenting code
Really makes you wonder who the real schizo is.
>>
>>102011976
Now, now, let's get back on track. I would like to see that "self documenting" code of yours. Show me how big boys like you write code; I am very curious.
>>
>>102012091
https://gitlab.gnome.org/GNOME/gnome-shell/-/tree/main/src
>>
>still someone elses code
It's official, the one accusing others of being schizo is the real schizo all along.
>>
>>102012128
i would tell you to get a life but you're a lisp programmer so clearly you have no need nor desire for one
>>
>you're a lisp programmer
Wrong.
>>
>>102012025
He means to say that you would have no problem reading the code if you were familiar with the X11 API, and that there is no point in explaining these portions of the program. If you are familiar with it then you will have no problem filling in the abbreviations, if you are not then not even the most descriptive names would help you.
>>
>people are larping as lisp programmers now
grim. lisp is actually a dead language now that 90% of AI researchers moved to python anyways. literally what is the point
>>
>>102011587
>every variable name is 'c' j' 'x' 'i'
As it should. Only if you have to scroll up the window two pages to see the declaration of the name, you make longer names. Calling your var 'indexIntoArray' in a small for loop is stupid. Just call it i.
>>
>>102012312
to pretend like you're cool on the internet
>>
>>102011932
Thnx
>>
>>102012065
kek comfy reply to read as I'm gooning and being paid for it
>>
>>102012113
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C 113 12797 13913 54151

That's 1 line of comments per 4 lines of code. Doesn't exactly sound "self-documenting" to me.
>>102012312
Are you back from reading the Wikipedia page? I'm glad you learned something, but I am still waiting for your "self documenting" code. To be really specific, since you don't seem like the brightest child around, I mean code that you wrote, and that is "self documenting" as you put it.
>>
>>102012423
>he uses lisp
lol, lmao
yahoo marketplace - i mean, wow! what a big success, right?
>>
>>102012423
>Are you back from reading the Wikipedia page?
wrong person, bud
i'm not gonna pretend to know lisp because i was too lazy to read sicp, but this is just embarrassing dude
go learn about call/cc or something
>>
>>102012527
>i'm not gonna pretend to know lisp
You already did.
>go learn about call/cc or something
And again. Why are you even talking when you have nothing to say?
>>102012526
One word: "self documenting code", "self documenting code", "self documenting code".
>>
>>102012526
Viaweb is now completely C++.
>>
>>102012612
>You already did.
everybody knows it's a dead language bud
>>
>>102012423
fully working risc-v cpu with quite a few peripherals by now
>>
>>102006652
>>102006711
I'm Normal, how do I read the runes?
>My sign is Leo, if that helps
>>
>>102012423
>>102012685
That's the full project.
Not entirely sure why it's that many vhdl kode. Prolly some auto generated stuff that i didn't clean
>>
>>102012612
Three words: you use lisp.
LOL!
>>
The coolest thing about lisp isn't writing programs in it, it's telling everyone online that I did.
>>
File: 20240821_121322.png (68 KB, 996x1274)
68 KB
68 KB PNG
For the thread's consideration
>>
>>102013057
>adds a null/undefined/error/etc to your enum
>>
File: hyper.png (4 KB, 498x308)
4 KB
4 KB PNG
>>102013057
My favorite.
>>
>>102011416
I'm using VSCode and C++, I want it for a Windows program
>>
>>102013057
explain
>>
>>102013490
funny fotm meem dpt flavor
>>
every function is an object and every object (at least in PHP) might be a function in modern scripting, so those postulates dont work for scripting. Scripting became functional programming years ago.

class Test {function __invoke(){echo "ok";}}

(new Test())();
>>
File: wikipp.jpg (284 KB, 1400x565)
284 KB
284 KB JPG
>>102013696

https://crypto.stanford.edu/~blynn/c/object.html

https://chrisdone.com/posts/dijkstra-haskell-java/

those sound like reflexia over lost opportunities to me.

create separate topic if you want to discuss any of those
>>
int overloaded(Base* b)
{
return 0;
}

int overloaded(Derived* d)
{
return 1;
}

Base* d = new Derived();
int x = overloaded(d);

Is there a way for
overloaded(d)
to return 1 in this situation?
>>
>>102015076
dynamic_cast
>>
>>102015195
The actual situation is one where there are multiple derived classes and the class for that particular instance is unknown. I've been thinking about it and it doesn't seem like what I'm asking for is possible in C++.
>>
>>102015076
>>102015326
either it needs to call a virtual method or use typeid
>>
>>102013696
>Scripting became functional programming years ago.
This is your brain on functional programming. It's a bit like how mathfags like to claim that all of science is just applied math: I suppose so, but only if you ignore all the bits that aren't.
>>
>>102015326
>I've been thinking about it and it doesn't seem like what I'm asking for is possible in C++.
You're looking for "multiple dispatch", and no, it's not really a thing in C++. It's the point where people crack open their Software Pattern book and look up Observer (which is only really tenable when you have a closed type hierarchy that you're dispatching over).
I usually try to avoid getting into that situation in the first place.
>>
>>102015326
what about a virtual method on d that calls overloaded
>>
>>102015497
overloaded isn't a member of Derived or Base. It'd be nice to use this design but it's just not suitable for the situation that I've described.
>>
>>102015524
right well the static type of d is base so expecting it to do anything other than call the overload with the base parameter is so stupid that it's hard to believe you are asking at all
>>
>>102015571
>it's hard to believe you are asking at all
As with any question asking it is basically zero effort and potentially high reward.
>>
>>102015636
True it's just making my brain short circuit imagining a scenario where the assembly magically rearranges itself to call a different function than the one it was compiled to call
>>
>>102011587
C/C++ programmers are like people in Idiocracy who get confused over basic things like putting the right shaped blocks in the right holes. C/C++ took too much of their brain power to learn even though they are low IQ languages. Their hatred of better languages is just an extension of their hatred of learning.
>>
>>102015849
calling C/C++ bad languages is why nobody takes you shills seriously
>>
>>>/an/4860993
>>
>>102013057
lmao
>>
Compiler now supports comparison operators. On to variable assignment.
>>
>>102015849
still mad your learning capacity stopped at javascript? oh i know javascript pays low i know it's okay maybe one day
>>
>>102015862
explain why the only use case of c/c++ is to build tools, platforms and languages for other people to use that arent c/c++?
that and AAA video games (basedslop but necessary for performance)
>>
>>102015862
>calling C/C++ bad languages is why nobody takes you shills seriously
It's not "shills" who say C/C++ are bad languages. It's smart people and anyone who actually looks at C/C++ themselves instead of falling for the Emperor's New Clothes trick.
>>
>>102005977
this really should be a weekly thread.
>>
>>102015910
implement SETcc or MOVcc from x86 please
>>
Rust noob here, you might remember me from past threads.
The thing is I'm not only a Rust noob but my programming logic is quite bad, also.

I am trying to write a cat clone but I'm confused about how to aproach it. Right now I have the basic functionality working but I would like to implement giving the program no arguments, and giving it the -n option.

For the -n option I am thinking about parsing each cmd line argument and if the argument contains an "-n", add the setting to print lines to the 'config' struct, which looks like the following:

pub struct Config {
pub files: Vec<String>,
}

impl Config {
pub fn build(args: &[String]) -> Result<Config, &'static str> {
if args.len() < 2 {
return Err("Not enough arguments");
}

let mut result = vec![];
let args = &args[1..];
for arg in args {
result.push(arg.clone());
}

let files = result;
Ok(Config { files })
}
}


For when the program is ran without arguments, should I just have it wait and read each line and then print it again? Is it that simple?
>>
>>102016212
This should really be a moderated board
>>
>>102006243
>What if I told you that I want to control where those objects are stored, and where subobjects and their subobjects are stored as well?
So do I, that's why I use OOP...
>>
>>102016278
>For when the program is ran without arguments, should I just have it wait and read each line and then print it again? Is it that simple?
there's a number of more advanced things you could do to speed it up/help but i think so, just read stdin write stdout (assuming rust doesn't rename them) in a loop
>>
>>102016297
yeah, maybe they would kick the shitposters out
back in 2010 g wasnt this way.
>>
>>102016476
>back in 2010
someone post that meme
>>
>>102016529
>uh i have actually been masturbating to child pornography for 24 years ----
ok.
>>
>>102016476
It wasn't THIS bad even a few years ago
>>
>>102015973
>It's smart people
By which you mean anyone who confirms your prejudices. Common pattern. Mark of a literal midwit.
>>
>>102016297
You are such an unremitting, unapologetic faggot. Stop calling for teacher because you can't handle trolls. Jannies can't fix your retardation.
>>
>>102016439
I skipped that for now, just focused on the normal output and the -n flag. Made some progress.
It feels good, rust code is starting to get written a little faster. I am feeling a little more "fluid". I'm glad because last few weeks of learning Rust have been hell, with me barely writing 5-10 lines apart from copying examples from the book.
>>
>>102011587
Every C program is a 1-file program. The macros can separate them intobmultiple files but what the actual C compiler reads, after the macros have run, is a single giant file.
>>
>>102011405
I did this when I was 14 in minutes with VisualBasic 6.
These days you need a PhD to do the same.
>>
>>102007217
>stands completely uncontested for an entire thread
>C++ heads can do nothing seethe powerlessly and ignore, like >>102015973 >>102016334
Reminds me of last thread, when the retards claimed that vectorization doesn't do anything in real-world programs, only to retreat with "b-b-but my personal experience" cope. But hey, if a C++ head understood scalability he wouldn't use C++, right?
>>
>>102017230
nta but C and sepples are kind of shit from a STEM perspective, at least. C++ is so all-encompassingly hype and corpo driven that all code eventually rots because the anarchic nature of academia means that either every phd student sneaks in another hot meme that will be obsolete in 5-10 years or you micromanage your group. You can't have people just managing and reviewing the code. You can't have an army of jeets for the low skilled grunt work. That makes C++, Java, and a lot of CSlet languages fundamentally broken because in reality they are made with the assumption you have a trillion midwits to mop up the code base every so often.
C is flat our garbage for self evident reasons for science. It has the stink of system programmers all over it, and that is fine for what it is.
Neither of these are arguments against either per se, but maybe the anon comes from a science background, and, contextually, yeah I get the point.
>>
>>102018283
You can use Visual Studio with C# and VB.net to achieve the same in minutes.
But then anon mentioned VSCode and C++. It's over.
>>
>>102018362
>It has the stink of system programmers all over it
Since when is that a bad thing?
>>
>>102018362
haskell for stem!
haskell!
>>
Haskell is also not how hardware works. It slows things down.
>>
>>102018540
but it's pretty!
haskell!
>>
>It's runs like shit, but look how pretty it is
And they call ME a schizo.
>>
>>102018455
since C was conceived, really. Most non-trivial physics shit will require multi-index tensors and complex reshaping operations and complex numbers, tons of linear algebra. C gets away with its autism[][][];; and not offering what to a scientist is the bare minimum of features ("just use a lib bro" - that is why people use C++ then because it actually HAS those.) because its scope is portable, low-level systems programming. And that is fine.
>>102018533
Julia is... kinda trying to be a STEM lang. But I expect it to die any moment because it doesn't have some corpojew backing it for prooduct slop.
>>
>>102018569
link my posts like a MAN, double regger.
>>
>>102018606
>tons of linear algebra
Yeah, because that's how computers fucking *work*. Carefully organized sand and all that. If scientists are too lazy to accommodate the hardware they're writing for at an elementary level ("I don't want to do memory management; guess I'll just use C++ or Python"), then that's on them, because despite what copers will tell you there are no easy fixes or automation that'll come close to an optimized build.
>C++ is low-level
Lol
Lmao
>>
>>102018751
>I don't want to do memory management; guess I'll just use C++ or Python
most actual performance issues in stem are not about autistically ricing your memory management, it is trying to compress your internal representation of your system to use an algo that does not have a time complexity O(N^12) on a good day.
>Carefully organized sand and all that.
of which an engineer chimp like you understands nothing besides carefully memorized features of modern architectures.
>>C++ is low-level
not what I said, you illiterate fag. I said C's scope is that of a language for low-level gimps, which is why it lacks so much ootb. And that is perfectly fine for what it is.
> If scientists are too lazy to accommodate the hardware
Your condescension only accentuates your CSlet stink.
>>
>>102018828
Both people in this exchange suck ass at writing intelligible messages
>>
>>102018893
I am as coherent as I can muster at 3 am, but a rambling fuck by default, yes.
I should sleep.
>>
>>102018828
>it is trying to compress your internal representation of your system to use an algo that does not have a time complexity O(N^12) on a good day
Sounds like your internal representation of your system to use an algo doesn't take locality into effect. But then again scientists can't even be bothered to make their findings and analyses reproducible, so wasting time, money, and resources sounds just right up their alley.

>modern architectures
>he has never heard of CRAYs
A lot of this shit is older than you.

>Your condescension only accentuates your CSlet stink.
At least my results are reproducible.
>>
>>102018913
>At least my results are reproducible.
The only thing more questionable than your claim that they are reproducible is your claim they qualify as results.
>your internal representation of your system to use an algo doesn't take locality into effect.
a lot of the time localization schemes are used, among other techniques. You know who pioneered tensor contraction schemes to compress high dimensional data? Not CSfaggots, not mathematicians, not physicists either. Chemists.
>>
>>102018983
>tensor contraction schemes
And who you know who managed to make it work with a CPU?
>>
>>102018997
the compiler, you sniveling rat. In that case the child worker that died mining the minerals for the CPU has earned credit as well. Please follow his example and return to your pit until you are crushed by a boulder or succumb to toxic fumes.
>>
>you sniveling rat
Still better than having articles published about my ongoing incompetency, I suppose: https://en.wikipedia.org/wiki/Replication_crisis
>>
>>102018455
>>It has the stink of system programmers all over it
>Since when is that a bad thing?
Because of Worse is Better. If it was Right Thing system programmers, that would be a good thing.
>>
>>102013218
the shading says so much i love this one
>>
>>102019029
>the compiler
And who the fuck invented the compiler? Sure as shit wasn't the people who REFUSE to make anything that a computer can understand.
>>
>>102018828
>not what I said, you illiterate fag. I said C's scope is that of a language for low-level gimps, which is why it lacks so much ootb. And that is perfectly fine for what it is.
C is not good for that either. C is why everything needs millions of lines of code and is full of bugs.

>>102019529
>And who the fuck invented the compiler?
C people didn't invent anything related to compilers. They just made a worse copy of what smarter people already did.
>>
>>102019577
Yeah? Who do you think invented compilers, wise guy? Some FEMALE?
>>
>>102019577
>worse copy
Pascal and Fortran are not better than C.
>>
>>102019737
>>102019737
>>102019737
>>
>>102019577
>C is why everything needs millions of lines of code
To do what? Accommodating retards?
>>
>>102019679
Nobody involved with C invented compilers.

>>102019699
Better for what? Pascal and Fortran didn't have buffer overflows everywhere and bounds checking was a lot easier.

>>102019759
>To do what? Accommodating retards?
Accommodating C programmers.
>>
>>102019799
Must be the retarded kind of C programmers then. The kind that uses linked lists and generic allocators.
>>
>>102019799
>Better for what
Better for "systems" programming, which is ironic because C actually sucks in that compared to direct assembly. If you aren't writing whole systems with your language, you're not engineering software, and not really programming anything but a compiler. Even fucking rust is better for systems programming than fortran.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.