FORTRAN editionWhat are you working on, /g/?Previous thread: >>106767248
cute tranny, what's his name and is he single?
She's a pedophile
>>106796028he*
>>106796039blud's brain so behind that he still replying to me in old thread lol
>>106795929>end if>end do>end program is there a reason you need to specify which statement to end?inner blocks will always end before parent block
>>106796128 } }}
} }}
based Ritchie, Thompson and based Unixwe could've gotten stuck with these overly expressive languages if it wasn't for them
>>106796151
>What are you working on, /g/?I'm abandoning GUIs again except for games though.I don't want to wait more than 16ms for my shit to open.I wrote a bash script to open it in a 900x325 floating window in /bin/
>>106796147im asking why "end if" instead of just "end"
>>106796156Your program is as overcomplicated as GUI.
>>106796165because >>106796147
>>106795929my biological female wife
>>106796147 done esacfi
done esacfi
>>106795929>grep_history.mdlink?
>>106796166It's not about the complication it's about the ever increasing bloat.Just run a gtk2 vs gtk5 program and you can literally feel how bloated it has become.Electron will be less bloated and faster soon.
>>106796182sovl>>106796147soulless>>106796218It is about complexity, complexity = bloat, in reality you only need a cli tool e.g.$ ratio -% 100 50200%$ ratio 100 502All it does is read args and print result, no gay input boxes, just fucking works.
$ ratio -% 100 50200%$ ratio 100 502
What kind of AI setup do you use?I use qwen3-coder-30b and have some emacs functions that can take the query from current selection but I don't really use it much...Is aider any good?
>>106796147((()))
>>106796257I just ask deepseek's opinion, then I read man pages of what it recommended, then I write my own code.Yesterday I learned about timerfd, it's comfy.
>U+2E2F (vertical tilde) is allowed in identifiers (if not the first character) in ECMAScript 5.1 but not in ES6amateurs
>ECMAScript 5 (2009) starts allowing Zero-Width Joiner (U+200D) and Zero-Width Non Joiner (U+200C) in identifiers and regexes>ECMAScript 2025 silently removes them because it's a vulnerability
>>106796128cd...cd .. ..
>>106796558Is your greentext making fun of them breaking backwards compatibility, or allowing such insanity to begin with?
>>106796156Just software renderSublime text opens instantly
>>106796567both, the 1st one for my 1st post, the 2nd one for my 2nd post.also, emphasis on "silently". If you grep the 2025 spec you see that they don't declare that they removed it in this edition, nor did I find an article online anouncing that they removed it. It's clearly an embarrassment but they could inform people that it is dangerous.
>>106796621I don't understand how these retards didn't come up with a radical idea of limiting everything to plain ASCII (and anglos know what ASCII is as much as they know what a woman is, so I will clarify: ASCII is 7 bits) and lifting this restriction later instead of allowing anything then breaking people's code.
get it read, fuckershttps://engineering.linkedin.com/distributed-systems/log-what-every-software-engineer-should-know-about-real-time-datas-unifying
>>106796802>A log is perhaps the simplest possible storage abstraction. It is an append-only, totally-ordered sequence of records ordered by time. It looks like this: There's so much wrong with this I don't know how to respond without sounding like I am mad, and believe me, I'm seething.
>>106796811you're probably thinking of a different type of log, not the general computer science term.
>>106795929i want to have sex with her
>>106796818I'm thinking of a log that exists in a real world and one thread competes with another for whose log will be appended to the logfile first.But I digress, if my code was multithreaded, I'd have as many logs as there are threads to avoid noise.
>>106795929Probability that she wrote that code herself?
>>106795929
>>106796833Inverse of probability that he will commit suicide soon.
>almost every /g/ general thread these days has a cute girl in the OP image with all the replies complaining about said cute girl, while sometimes claiming it's a tranny like some sort of metagroomer who actively thinks any girl is a trannyAre you guys gay or something?
>>106796870I know that trannies post ITT so I find it funny metaironically to troll them by implying that a tranny can look this good and that the man in the mirror is not good enough.
>>106796028That's amazing! I wish I were a shota, and she would molest me!
>>106796884bit mean
shitty e-celeb tranny reactionbait spamuseless jannies do your job please
>an actually good "java replacement">gets adopted for android development>adoption elsewhere failsshame. they solved the java problems (java releases these days are basically trying to gradually emulate kotlin) but now kotlin is just an android language.
>>106796996The only time I ever needed to write J*va was minecraft mods and runescape bots and both of them worked with Kotlin flawlessly.
I dropped all my projects to focus on researching JVM in Rust.I either have to resort to so many unsafe hatches that I might as well be using C, or use Rust's containers, which, despite being advertised as having "Zero-cost abstractions", they really DO NOT have Zero-cost abstractions, that is, they DO add cost.I could implement it in C, but WHY. It won't stand out.My language, Diyrbal, is also currently being designed:> Wirthian syntax with GADTs;> Gradual typing;> Composable type atomics;> Bidirectional type inference;> Protocols, metaclasses;And I'm also learning about type theory, lambda calc, lattices, logic.I wish I'd finished college :( I feel so invalidated atm.
>>106797034>waa waaa why can't I get free attention for remaking what already existsYour slop won't stand out either way, fuck off tranny, you will never be a woman.
>>106797034First thing, you have an insane number of projects but are unemployed. By choice?Second, I can't see a JVM in Rust on your github. I'd be interested in seeing how you implement this.
>>106796128It's optional but it helps keep things straight.
>>106797089And yet you participate in society.
>>106797089This world is gay and trans and that's why this type of syntax lost.
>>106797054I can't remark on how moronic this statement is. I'm not 'remaking things that exist', I'm implementing open standards. Open standards are meant to be re-implemented.>>106797058I haven't added it to my frontpage because it's still not implemented yet. If you want to watch/star any of them:https://github.com/Chubek/lyJVMhttps://github.com/Chubek/lyCChttps://github.com/Chubek/DiyrballyCC is my C compiler in OCaml. Another open standard which I'm implementing, instead of rolling my own shit like a moron. I wanna use it to compile lyOIX, which is my POSIX-compliant OS. I wanna pair lyOIX and the entire ly* framework with laptops which I myself make.There's no job for a person who has no degree. I have to start my own shit. My dad's Veteran fund could help me.
weird how in python you innocuously run `pip install` and many of the libraries are basically written in C with a tiny python wrapper, and what you're actually installing is a binary file compiled from C which gives you access to low level operations, and pythonistas are like wow python so fast AND safe
>>106797109btw there's one ly* application nearly done:https://github.com/Chubek/lyKronImplementation of Crond. It's listed on my frontpage because it's nearly done. It uses Franta-Mally event sets.
>>106796947You're ass would be blown out
>>106797119Most languages are like that, anon. Especially interpreted languages. Java has the JNI, for example. There must be an interface between a high-level, VM-based language and the underlying OS.
>>106797109>Open standards are meant to be re-implemented.Lmao, can you name one where this is actually true?
>>106797133>Java has the JNI, for examplethere are very very few java libraries not written in pure java. like all the popular apache ones, not a single line of C or C++.
>>106797109>There's no job for a person who has no degreeWhat country you live in? Literally nobody cares about your degree these days
>>106797133>There must be an interface between a high-level, VM-based language and the underlying OS.No, there doesn't have to be, there's nothing stopping these runtime implementing morons from just allowing user to write inline assembly if they wish to. Just imagine if you could inline a syscall in Java instead of calling into libc from JNI like some cuck.
>>106797150>Just imagine if you could inline a syscall in Java instead of calling into libc from JNI like some cuck.every pajeet-tier java program (90% of them) would immediately collapse
>>106797170Sad! C++ keeps winning. I did a good faith try at using Rust and noped out when I found out that it cannot handle C union bullshit. Yes, it's bullshit, so what, I don't care about your shitlang if it cannot do it.
>>106797127Yeah, she wouldn't be able to stop tongue-fucking my tight asshole 'cuz she's such an insatiable pedo slut :3
rate my char sum functionlocal function charsum_tables(s) local buckets = {} for i = 1, #s do local n = s:byte(i) local t = {} for _ = 1, n do table.insert(t, "x") end table.insert(buckets, table.concat(t)) end return #table.concat(buckets)end
local function charsum_tables(s) local buckets = {} for i = 1, #s do local n = s:byte(i) local t = {} for _ = 1, n do table.insert(t, "x") end table.insert(buckets, table.concat(t)) end return #table.concat(buckets)end
>>106797189Fuck off back to the pedocon thread faggot
>>106796801I'm starting to think unicode for identifier is fine, as long as sensible categories are allowed. I looked at Go and it does allows unicode letters and digits in identifiers, and Go is pretty conservative. Javascript allows a bit more than that but the zero-width joiner is definitely not in the letter category, it's in the category "Format" / "Cf".I've also discovered that it's kind of easy to identify those characters from scratch, using the xml database "ucd.all.flat.xml" (https://www.unicode.org/Public/17.0.0/ucdxml/) and with inversion lists.
>>106797198Wow, imagine being such an ass blasted little faggot like you :3
>>106797180mind telling me what's wrong with this?#[repr(C)]union Union { a: u32, b: u32,}fn main() { unsafe { let s = Union { a: 10 }; println!("{}", s.a); }}
#[repr(C)]union Union { a: u32, b: u32,}fn main() { unsafe { let s = Union { a: 10 }; println!("{}", s.a); }}
>>106797215What's wrong is that it's worthless, and even if you fixed your strawman to have a and b as different types, it wouldn't change the fact that this is not representable in Rust without some immense retardation: struct io_uring_sqe
>2025>every GUI library is fucking mess>only decent one is tcl/tk and tcl is slow as shitYou might think you hate microsoft / qt developers enough but you don't
>>106797215That the language is unfinished
>>106797238If I wanted to make a GUI, I'd write real code in backend and expose it over REST API, yes, the frontend is just a website, and this aligns with getting paid for my compute power. fuck you.Want shit to be free? Here's this CLI tool source code that you can either compile yourself or eat a bag of dicks, nigger.GUI is for literal mouthbreathing subhumans who shouldn't be allowed to own a computer.
>>106795929laurie is a real girl!
>>106797234i only just finished reading the rust book and i don't know C very well but from what i understood you can do unions as you would in C in an unsafe blockmind explaining what exactly the problem is?
>>106797254Run a Rust bindgen over #include <linux/io_uring.h> and read its output.
#include <linux/io_uring.h>
*surreptitiously googles rust bindgen*
>>106797143They pretty much care about your degree in Iran. I've sent out my resume to 30 companies in my city so far. Got 4 callbacks. All rejected me because I had 'no experience'. And by 'no experience' they certainly mean 'no degree', because I do have experience. I've worked remotely with several Indian, European and American individuals. And I've listed it all on my resume.Plus, the kind of jobs I want always need a degree. Maybe you don't really need a degree for webdev, or mobile app dev. But for working on a Cloud Infrastructure company, you do need a degree. Everywhere you go.With the advent of LLMs, it's been even harder to find jobs. I used to work with the aforementioned people, where did these jobs suddenly go? It's AI, of course.To everyone else, regarding FFI, please educate yourselves.
>>106797281Here, I'll spoonfeed you a bit:bindgen /usr/include/linux/io_uring.h \ --anon-fields-prefix 'f' \ --raw-line '#![allow(non_upper_case_globals)]' \ --use-core \ -o io_uring.rsIt cannot represent inline structs inside unions, meaning you need a lot more subscripting to access the field that's trivial to access in C.
bindgen /usr/include/linux/io_uring.h \ --anon-fields-prefix 'f' \ --raw-line '#![allow(non_upper_case_globals)]' \ --use-core \ -o io_uring.rs
FFI != C API != Link-time Binding != Extern Code
>>106797301FFI is C API because there's no other kind of ABI that's relevant or ever necessary.
>>106797309you need to work on your english, Mohammed
>you need to work on your english, Mohammed
>>106796165it is easier to read the code if it says what construct you are closingcbabs have no idea what they are missing out onin fact some of them do and will add stuff like } //if } //if} // for/to their code
} //if } //if} // for/to their code
to their code
>>106797366Idk man, sounds like sland-ACK!
>>106797328was just looking into that user and also noticed he changed his name from muhammed lol
#endif#endif# endif#endif#endif#endif#endif# endif# endif# endif# endif#endif# endif#endif /* Use misc. */#endif /* XPG */# endif#endif# endif# endif# endif# endif#endif# endif#endif#endif# endif# endif# endif#endif# endif#endif#endif# endif# endif# endif#endif# endif# endif# endif# endif# endif# endif#endif#endif#endif /* fcntl.h */This is cnile consistency in real world system headers available on your machine.
#endif#endif# endif#endif#endif#endif#endif# endif# endif# endif# endif#endif# endif#endif /* Use misc. */#endif /* XPG */# endif#endif# endif# endif# endif# endif#endif# endif#endif#endif# endif# endif# endif#endif# endif#endif#endif# endif# endif# endif#endif# endif# endif# endif# endif# endif# endif#endif#endif#endif /* fcntl.h */
>>106797234>>106797239>>106797259It never ceases to amaze me how troonlang tries to pass itself off a """systems language""", but it can't be used as an independent language driver like gcc/msvc/clang/masm/nasm/etc. Instead, tranoids expect you to jump through all these hoops, just for the equivalent of babies first extern "C" int add(int, int) FFI hello world. And then somehow it's everybody elses fault when you notice them trying to implement a c compiler in rust over llvm, just to compile autogen c code, just for basic interop; and then it's somehow linux kernel devs fault their shit language cant adapt to existing shitcode. But it's ok, some freakazoid releases a third mimalloc wrapper on create.io. sad. very sad. you will never be wonderful language. we know wonderful languages, don't we?
>>106797428>released a third*
>>106797428When I still tried to use Rust and actually talked to these mentally ill freaks, I was told that c string literals have no usecase and that Rust will never support them.>Starting with Rust 1.77, C-strings can be written using C-string literal syntax with the c or cr prefix.Only took them ~20 versions to concede and I accept their concession. Would like to know what the fag who told me that this won't ever exist thinks about it, but he probably killed himself like all trannies of the time when I used to interact with R*st c*mmunity.
>>106796947Based. I needed a tech mommy to teach me computers and rape me when I was a kid.
>>106797328Why the fuck would I need to 'work on my English'? I don't intent to author Nobel-prize winning literature. Whatever sequence of words I put together that carries the meaning across is fine enough for me, as long as the meaning is conveyed without much verbosity.Plus, you are the first person in years to find fault with my English, and it just happens to be a post where I said something distasteful towards God's Chosen People. Hmm, interesting....>>106797379He was using "Mohammad" as a form of diminutive slang here. Not referring to my name. Are you dumb. It's like when you call a Mexican "Jose".Look at me, being baited by what is obviously a samefag. Just so you know, it's fucking obvious when you're samefagging, and you change your 'hand' into a less structured sentence, and omit punctuation to make your 'hand' look different from your own post you're replying to. I've studied these so-called 'online hands' enough to recognize an obvious attempt at samefag.Anyways, I fucking despise Westoids, and I don't wanna bother learning their language beyond what i already know. So what if I say 'a few Jews' instead of 'several Jews'. Fuck you and fuck your civilization and fuck your language.
>>106797547Hey redditor.Could you fucking stop writing like this?Thanks.
>>106797559If me pressing the carriage return bothers your lot this much, I'llSurelyKeepOnDoingSo.Just a tip, don't ever let someone who hates your gut know what something he achieves with little effort bothers you.As I've explained before, I write a lot of Markdown, that's because I press carriage return after a newline twice. I don't go on Reddit much.
Carriage return sounds like something your mother pressed after you were born, and I can't blame her.
>>106795929I would never in a thousand years discuss programming off the clock but I'm stopping by to say that I really really want to kiss him
\r\r
>>106797457i can teach you rust and rape you right now papi
>>106797580Nice quip, but I don't care enough to compose a comeback.So, here's a very low-effort comeback:You're a poopy-head and your dad was a rapist, and he raped your mom in the ass so hard, his semen sipped into your mom's vagina, and thusly, you were conceived. And you're mom is so obese, she did not realize she's with child, until you fell out of here whilst she was riding ten cowboys.
>>106797620Why did you write three paragraphs if you don't care to make a response? (Thanks for making it easy to count without reading).
>non-maid dpt>complete shitPredictable.
>>106796216https://www.youtube.com/watch?v=iQZ81MbjKpU
>accept4why are cniles like this?Bet we're on the way onto accept5 because these retards can't get anything right.
>>106797238make your own gui toolkit like i did
>>106797547>He was using "Mohammad" as a form of diminutive slang here. Not referring to my name. Are you dumb. It's like when you call a Mexican "Jose".no he wasn't you are easily doxable.
>>106796833100%. shes one of the few exceptions to the rule that women can't codeand no shes not a mtf tranny
>systemd
>>106797547>it's fucking obvious when you're samefaggingAre you the schizo who said I was samefagging in /dmp/?>So what if I say 'a few Jews' instead of 'several Jews'That wasn't the grammatical error.
>>106797547btw i wasn't samefagging i was actually looking at your repos on github and was interested in your jvm rust implementation but you are clearly a schizo so i'll slowly side step away
>>106797676>>106797680look at timestamps and tell me i was samefagging, faggot
>>106797684timestamps don't mean anything, samefagging is trivial
>>106797693you're assuming i care enough about not being a samefag that i would bother doing whatever you have mind just so i can not be called a samefag but a literal schizophrenic arab
No one gives a fuck about the glib object model
>>106797709I'm not assuming anything, tell me more how much you don't care.
>>106797719esl moment
>>106797721The only way to not be an ESL is to be a circumcised mutt who doesn't belong in white countries so I'm proud of being an ESL.
This thread is pure madness. Imma go.Also yes, my IRL name is Mohammad. But I call myself Chubak because Mohammad is a basic-ass name. Would you not prefer to be called "Rockmeteller" if your name was "John"?
>>106797741play stay, we are not bigots here.
>>106797741I'd prefer if nobody called me because I'm not an attention whore.
>>106797753I am a bigot. But okay, I'll stay.>>106797756Well I prefer to get a lot of attention.
>>106797741>This thread is pure madnessYou provoked it by saying you were going to torture Jews.
>>106797661Where did you find my IRL name, btw?
>>106797676Who cares about 'le grammatical error'?This is 4chan, not the Symposium on PTSD-inducing Sex Toys for Transgender Youth.
>>106797786github -> commit history -> googled one of the names in your commits -> reddit thread about changing your name
>>106797803Ma'am, this is programming thread, one typo means code doesn't compile.
>>106797823Anyone browner than me isn't a person and I'm so tanned that an Italian might mistake me for a local if I went there.
>>106797812Oh. Ok. Also, please spend your limited time on earth doing more constructive things.
>>106796823Me too. I’ve been bingeing her videos. She knows what she is doing. The little girl voice, the cosplay, the hair styles, the exposed tummy, and the way she casually jiggles her titties. She’s brilliant!
>>106797832took 90 seconds and i already know more about you and your life than i could legally share so well worth the time
>>106797831I come from a more mature culture in which we decide the humanity of people based on their actions, rather than how much time they've spent under the sun without sunscreen. And according to me, people who kill babies are not human.
>>106797856I actually needed to burn in the sun to look like that, and I am still white while you were born looking like my feces.
>>106797823Sir this is /dpt/, keep your Jew-hatred in >>>/pol/But if you insist on bringing it here then I WILL respond, in solidarity with my Jewish friends
Erlang is king
>>106797871love how this comment pops up among the schizo ramblings
>>106797890No, leave us alone, redditor.
>>106797890turns out the real reason you can't get a job is that you're very very strange
>>106797837whats her name? i dont know who that is i just thought shes pretty>>106797649chino r u ever gna update the repo
>>106797741>RockmetellerDid you mean Rockefeller?
>>106796028>she
>>106797328>>106797721>>106797812Is this the same retard who was schizoing out a few days ago about rust with reddit space? the same retard who linked his github with his irl dox just to advertise a massive list of failed project? with the only one being of note/completion was some compsci i101 students first hashing algorithm passed of as "i know cryptography"? ...everything else being a 200-300 lines of babys first c code spread across 2-4 files?
>dpt>no maidsWhere maids? I want to know more about maid tech.
>>106798024No, Rockmeteller is a real name. Watch "Jeeves and Wooster", there's a recurring character by that name. It's obviously supposed to be super-stuffy, even by 1930s standards.
>>106798060sounds like it. he needs to get a job instead of working on his 1000th two-week project.
>>106798139Move on and post about programming.
>>106798016there is no new update for ikafb right now
>>106798139you sound like you've been ridden all night by the men of zut
>>106798139>this postYou now understand why Israel has hydrogen bombs. It is to keep subhumans like you from going for Holocaust II. If you ever become an actual threat you will be hit with so many of them that your civilization will only exist in history books and those books will be written by the same Jews who cleansed the earth of you. Fuck you. Fuck your mom. Fuck your kids. You all deserve thermonuclear fire.
>>106798016>what’s her nameLaurie weirdShe shows off her legs and jiggles her tiddies in this videohttps://youtu.be/vc79sJ9VOqk
>>106796028We can see code in the picture anon. No need to be redundant.
>>106795929>tfw my wife Laurie is much smarter than me >tfw I'm so useless and can only code in javascript
>>106798369That’s what bothers you? I can write code in more languages than her but I will never be as pretty as her. And that absolutely enrages me!
>>106795929>>106797641>grep isn't what you think it means...>grep was invented by libertarians for libertariansThanks Laurie!
>>106798434yes, regex is gay
>>106798292Not into black men, but I would if I'm honest here.
>>106798440is this the power of the average American's reading comprehension?
>>106798502I'm not amerimutt so I don't know how to respond. I hope your poverty will improve and they will stop being rent free in your head, spic.
>>106798520woops, friendly fire
>>106798544It’s okay. I think we can all agree that Americans are fat, ugly, and stupid. Amirite?
>>106798196okayyy....I might try it out some time, so far what ive read is quite cool, good job chino-chaaaan
>>106798309wait ive seen her, cool!shes pretty :)
>>106795929lel
>>106795929>Shitting up /dpt/ with a youtuberThis was the only semi-serious thread on the board. Zoomers and their youtube obsession are the real cause of the competency crisis, not AI
>>106798583yup
>>106798139>I'm bipolar, and addicted to opioidsExplains a lot, actually.
>>106798800Oh, and keep this in mind: cities in Iran are located far, far away from each other, and not only that, he heartline of Iran is located deeply into a large plateau.You losers did not send a single jet 2 months ago. You just had your Fifth Column fly DIY drones into some buildings.And you know, the fact that we've exterminated 1000 rats since then shows, all your Fifth Column pooofff, gone.The UN is dancing here claiming "Iran is making nukes! Two days away! Two hours away!" and here's the Jew, claiming it destroyed our nuclear infrastructure, lol. Your goons at the UN disagree with you.If we are to judge Israel's capability of launching attacks on Iran with the mess it made 2 months ago, and if we are to measure Iran's capability to respond with how we obliterated you, I think it's safe to light candles for the Jewish non-nation.
Shitranian thinks that Indians won't just nuke them lol.
>>106795929I just know here labia looks like a plate of steakums but I don’t care. I would eat that gash for hours
>>106798897I don't define myself by my country. Go bark at someone else.
>>106798906You could just attack Israel by land, which is a lot smaller and easier to invade than India, ever thought of that, subhuman? You're powerless shitskin screeching on a wrong board in a wrong thread about how much you hate people who are the only reason why you even own a computer and can post this niggerbabble online to begin with.
Although, I could ask myself, why am I wasting my time on a website full of my enemies, who are genetically, culturally, and overall, existentially inferior to me.Truly, the Westoid is the dredge of humanity. I don't know why i ever learned your language. It's brought me nothing but pain.Westerners are fucking animals, man,
>>106798949I'm so creative with my insults, and the word 'shitskin' is the only pejorative you can muster.Man, Westoids are braindead slugs.
Redditard shitskin, nobody cares that your shithole is suffering. I flush more water down the toilet daily than you get to drink in a month.
If I am mentally ill, that's because I keep talking to rabid dogs like you, and expect the response to be different than the last time you bit me.It's always the same song-and-dance with these Goddamn Westoids.Scum of the earth, dredge of humanity, and sewage of civilizations. West, Jews, the world would be so better without them.
>>106798891>Does it matter.It explains why you appear and become 1/3 of a thread's posts in replies and get singled out from the crowd. And have an insane number of side projects. And no degree. And maybe jewish ancestry (jews are schizos).Not normal. But sperging out is a better time investment over doing a JVM with Rust. WHY would you ever do a JVM?
>>106798999My braincells are struggling to breathe with your base-level schoolyard insults.I need to be in the company of people with superior intellect.I'm going to learn Chinese. This Westoid-o-Jewish language has earned me bupkis but pain and misery.
>>106799009Because there's dozens of other JVMs. I wanna bring something new to the table.
>>106799043I didn't need to see that.
I've wasted so much Ritalin on this thread.And yes, it was all my fault. I instigated this shit.To tell you the truth, only 17% of Israel is made up of the kind of Jews I hate. That is, Ashkenazi Jews.I have no problems with Persian, Mizrahi, Russian, Ethiopian, Shepardic, Indian, and Arab Jews.If these goddamn Israeilis would stop electing Ashkenazi Jews as their leaders, this shit would end.Ashkenazi Jews are Europeans LARP'ing as Jews. They are not real Jews. That's why I hate them.If a Persian Jewish girls comes to me and says "marry me and I will have your Jewish children" I would not say no.>>106799023Ben Shapeepom is that you?
mm can we go back to talk about laurie please
I wish I could alleviate brainrot caused by reading retarded shit like this thread, but I am white and refuse to do drugs. I even cringe at the thought of taking vitamin C in pill form.
Daily Psychoderanged Thread
>>106799068After >>106799043 I think we all need some LaurieWired to wash our eyes out.I deserve this. I deserve to have seen that WEBP.I paid for my sins.Don't open that WEBP.
>>106799071I just took a Vitamin C in form of that pills you put in water and they slowly fizzle out. I don't know what those pills are called.But yet, I am about to take my 6th Ritalin of the day.Been awake for 24 hours, will be awake for another 16hours.
>>106795929this is a man
>>106799091LaurieWired is not a man. But I doubt she's the person behind the videos. She's probably some chick they've hired to present the videos.
>>106799043LMAO
You guys blame me for detailing this thread, but before I came here, you were insulting trans people.Now, be fair, /g/, which is nastier: insulting people over a life choice (a religion, Judaism. My parents were Muslim, and I'm an atheist. Religion is a CHOICE) or something inherent to their nature, which they have no control over (transgenderism). THINK.
>>106799257We know for a fact a deranged jew is putting estrogen in Laurie's water supply and mailing him maid outfits.
>>106799257>they have no control over>transthey could just not cut off their dick and try to act normal
>>106799312> maid outfitsSpeaking of males wearing maid outfits...https://www.youtube.com/watch?v=SPWfPLATdo8>>106799332You don't get it. They have no choice over it. They are born unable to not cut off their dicks. Just like homosexuals are born unable to not have cocks stuck up their asses.But what is stopping a Jew form being a non-Jew? All they'd do is to stop believing in the Torah.I seriously don't know why, over the centuries, the Jews who were subject to pogrom did not just become Christians.
>>106797208>Brings up foul garbage>Gets BTFO'd>You're ass blasted!1!!1!Shut up faggot
>>106796996I blame JetBrains monopoly on good tooling for Kotlin development. Until Kotlin has a good open source LSP, it will remain a meme language
>>106799422To the retards who say 'durr y u reeimplement stufff', just so you know, syntax for a language is not copyrightable, so someone, e.g. me could reeimpmlement Kotlin, once I have the knowledge to do so.Hell, look at GCC. It has a frontend for every language out there. Even VHDL.Or, look at Mono. It reeimplements C# and CIL.I was too manic to respond earlier. Now my brain works.
Is the a forum for cracked libraries like jars or nuget?
>>106796268I see your ((())) and raise ((uUu))>>106796147I love how people complain about parentheses in lisp and then have )}; everywhere
>>106799422It's a JVM language, it IS a meme.
>>106799482>It has a frontend for every language out thereHaskell
>>106799527S-Expressions are just the program flattened out to its abstract syntax.Source: Design Concepts in Programming Languages by Turbak and Gifford
Laurie,If you are in this threadPlease find a way to show us your mons Venus. Maybe a cosplay or something. Some of us are fucking dying inside and worshipping you are all we have left.
>>106799635seconding this
>>106799596Well, admittedly, it lacks frontends for any functional languages.To be fair, there aren't any good Haskell implementations out there. There's GHC, and bunch of academic implementations that nobody uses in production.Call me cringe, but I emailed RMS and I asked him if, were I to ever implement SML from scratch, it would be conducted into GNU.He said I should implement it as a frontend for GCC.I was dumb back then, and I wanted to make a compiler or an interpreter at least, from scratch. I still want to.But the idea of an SML frontend for GCC is alluring for me.I have several documents outlining the how-to's of implementing a frontend for GCC. I could feed them, plus the '97 standard for SML, into Opus 4.1 and ask it to give me a 16-chapter book on the process.But I still have to implement a compiler from scratch first.
>>106799580JVM/CIL languages started out as a darling of the academia, then suddenly sipped into the world of industry.I have several papers outlining various implementations of Scheme for both JVM and CIL.I want to implement ISO Pascal for both JVM and CIL. I'll probably do that later next year. If the Jews haven't killed me yet.Part of me wanting to implement the JVM is exactly to be able to implement JVM language, and later, maybe CIL languages.It might open up employment opportunities for me. Nobody likes a chud who rolls his own backend. I've already lost a sure-fire job who needed an MLIR expert.
>>106799645GHC is a good (and feature bloated) Haskell implementation.And most compilers are a GCC frontend since they need a C compiler and they most likely run the GCC one.>>106799726The only job employment you get by understanding the JVM at bytecode level is at Oracle or Azul, nobody else gives a damn.
>>106799726>JVM/CIL languages started out as a darling of the academia, then suddenly sipped into the world of industry.Yes but it was supposed to replace C/C++ and it failed at that. Even when the warm up speed is fast enough, the fact that it is so god damn heavy and has a ton of overhead makes it inelegible for so many applications.
My uncle needs extra storage, so I thought, would it be nice if I could make him a Telegram bot with some Sqlite-backed journal, so, my server could sit between him and the Telegram bot, organizing his data?And since I'm retarded, this project ended up as me using FUSE to implement what I call "BitgramFS", a virtual Linux filesystem backed up by Telegram storage.I'm currently working on it now. Decided to go with Jeet Original, Java, since I have 0 Java projects in my portfolio,>>106799827Or, how about:1- The other dozens of other companies that implement their own JVM;2- The companies like JetBrains that make JVM languages;3- Companies that use Java or JVM languages, because knowing the JVM is paramount to knowing Java;etc etc etcMy good man, I managed to have Opus 4.1 generate at least 70% of my aforementioned BitgramFS. And as I mentioned earlier before I succumbed into my anti-Semitic manic state, that I've only studied SWE for 3 + 2 semesters, and I have no degree.If I am to get a job, I must be better than Opus 4.1. I need to know as much as it knows.It's no longer 2015, when 'le developer' was the king. Either be better than AI, or be chewed out by it.I need to master one field, PLT (Programming Language Theory). That's how I'll be better than the Opus 4.1s of the world.
>>106799881It kinda did. Instead of replace, it stole space from C++. Billions of cards run Java instead of C++, and billions of programs were written in Java instead of C++ to do corporate bureaucratic nonsense. Faster to write, easier to hire, trivial to deploy, you don't have the performance needs to compute some averages over a csv file.>>106799907>1- The other dozens of other companies that implement their own JVMThose implementations are fossils and the companies moved on.>2- The companies like JetBrains that make JVM languagesTrue. Or the ones for Scala and Clojure.>3- Companies that use Java or JVM languages, because knowing the JVM is paramount to knowing Java>knowing the JVM is paramount to knowing JavaThey want you writing Java and processing slop, they don't care you know bytecode by heart, even less knowing which com.sun.unsafe thing to use (you don't, you want to port that shit from Java 8 to Java 25, so you don't use it while maintaining Java 8).
>>106795929Man what a cutie. Can't blame her for attention whoring cuz I'd 100% do the same if I was her. The power of just being a woman on the internet is absurd man
>>106790215>but it allows people to write some completely obfuscated shityes, and people do it all the timeI think fundamentally the issue is that some languages make it too easy to write overengineered retard code that worksyou can write crazy shit in C too but it actually requires you to understand what's happening
As an apology for my actions, I'm giving you legal Iranian j*ilbait Lets-player.https://www.aparat.com/v/sgeudy8Go ahead. It's legal here. Fantasize about taming her into an oppressed housewife. God knows, you Westoids need such fantasies.
>>106800147She’s fucking hideous
>>106800172in Iran only the men resemble women
>>106800172>>106800185She's literally a teenager you goobers. She'll grow into her looks eventually.
my python class uses the textbook "3rd edition think python how to think like a computer scientist by allen b downey" is this a good book?any other resources y'all recommend?
>>106800240>learning programming from a book
>>106800240It's basically the best Python book, seconded only by the Python edition of SICP.I recommend reading both. The Python SICP is free to download.>>106800259When I was studying SWE, they did not assign us any books. But we were told, we could use any books we want. Books like Think Python and SICP Python Edition are aimed at college students mostly. They need to study a lot of theory, that a Youtube video, narrated by Kartheek, simply won't provide.
>>106800287>learning programming from a videonext you'll tell me you learned programming from sitting in lecture
>>106799999holy checkedFor some applications sure. But what about standard libraries and otherwise important low level lirbaries (in user space) libraries, compilers, JVMs themselves, garbage collectors, interpreters for scripting languages, device drivers, video players, database engines, web browsers, video games, emulators, etc...Yes, corporates GUIs are written in Java but so what?
>>106798309finally watched this, really good video!her display of like "physical memory" is really intuitive and easy to follow :D i also want to kiss her on the lips
>>106800259And, let me add this:The difference between a college student who learns creating his own 8-bit micro by reading "Introduction to Microprocessor-based Design" in a lab, aided by a professor, and someone who watches the Ben Eater video on the same subject, is the difference between someone with steady employment, an a loser like me.
>>106800240My information technology class used C++, we had no books, teacher printed problems on paper right in front of us at the start of the lesson and we solved them. If we couldn't solve something, she'd pick up a blank piece of paper and start writing code by hand while explaining why.I never read any books and I am a real programmer unlike you codemonkeys, sucks that you got babyducked onto 7th edition of how to write python for retards and you sometimes still forget how to breathe even if every single page has a warning reminding you to take a deep breath because those fizzbuzz solutions are so fucking hard or something.
>>106800338>Yes, corporates GUIs are written in Java but so what?oh yeah, what about GUI toolkit libraries, that are to be used as static libraries for C applications (not for Java application of course), this is part of what replacing C/C++ means, that you can produce shared libraries for C/C++.
>>106800287what about DA GOAT: Abdul Bari
>>106800347Our teacher, who was also a lady, told me I have to write programs on paper, to make sure that, I've done 'something'. She had little faith in her students, and thought they copy everything off AI or Stack Overflow. So by forcing us to write code on paper, she made sure we have grasped the code.People shit all over college, because they've never experienced it. I'm a loser dropout, so always wonder what would have happened if I did not do so,I made the mistake of starting to program at 16, with GameMaker's extension language. Don't do this to yourselves, kids. Learn institutionally. If you have to attend a junior college, do so. It's miles better than being self-taught,>>106800376I don't care about goats or sheaves (unless I'm bedding one). Indian accent sucks. I found a course on Control-flow analysis in a compiler, narrated by the most average American, who might as well have been the main character of Idiocracy. That was the only time I learned something from a Youtube video.
>>106800340I wish she would keep us updated regarding her ovulation cycles
>>106800410trve
>>106799881>it was supposed to replace C/C++ and it failed at that
>>106800478
>>106800410you mean here 15min testosterone cycle?
I posted Lispy-tan to r/lisp, and they were flabbergasted by the 'sexualized' mascot I had built using Nano Banana.I swear, these retards are fucking puritans. Except, the ship they'll use to pilgrimage is called "The Gayflower".
>>106800478How many new projects do you know that chose C++?
>>106795933>singleUnlikely. Someone is holding the camera in some of the videos.
>>106800610How many Linux device drivers were written in Java the last 25 years?
>>106800610How many new projects do you know that use less than 10MiB of RAM?I am working on a server than can handle thousands of requests per second on 512KiB of RAM so don't get uppity.
>>106800641what kind of server specifically?
>>106798800>there won't be anything, or anyone, stopping us Iranians, Turks and Arabs from joining hands together>Iranians, Turks and Arabs are of one bloodYou must be deranged. Baluchs are just waiting for an opportunity to murder all Persians, and all your neighbours regard Iran must teh same as Israel: arch enemies since millennias ago.>The Jew should WOE the day we put our religious differences aside, because I'm afraid, my son, that would be the moment we all come together to do some rat extermination.That moment will never come. 3000+ years of history should tell you that.
>>106800717Buddy, I'm no longer manic. I don't give a shit about politics at all. I just use it as an outlet for my mania. It feels so good to rage when you are manic, and it's been proven to me that this whole Jewish Question thing is the Final Solution to me riding on my mania.
How do I build a device that clones and presents RFID codes?For example if you wanted to clone say wrist band for a public event and scan it to get in.
>>106800816You can't reverse a hash silly.
>>106800717persians and turks are based. ar*bs need to be gassed for the millennium of vandalism they perpetrated on persian culture. go and read your shahnameh you stockholm syndrome faggot
>>106800338>For some applications sure. But what about standard librariesJava has a ton of libraries and a solid standard library (minus a JSON parser that's coming soon).>and otherwise important low level lirbaries (in user space) libraries, compilers, JVMs themselves, garbage collectors, interpreters for scripting languages, device drivers, video players, database engines, web browsers, video games, emulators, etc...You can count those things in two hands compared to the amount of crudslop that exists. You do need C++ instead of Java for those things, but who's actually doing those things, really. Netflix calls ffmpeg from Java and corpos bundle Chromium with a Java web server and are done with it.>Yes, corporates GUIs are written in Java but so what?If corporate was hostage to C++ because they needed to maintain their slop they would invest more in C++.>>106800356>GUI toolkit librariesJava has Swing and JavaFX. Which are quite solid. They aren't used for the same reason GTK and Qt aren't used as much: webslop gets you more bang per buck.
>>106800835What do you mean, anon?
I'm working on deciding whether or not to blow my brains out. Also, Matlab for the moment. Usually Python or c++, but there's one project I'm on that really benefits from a Matlab-only library.
>>106800921I dunno :( I know something, but it might be wrong. ASK AI. Grokk told me about sifting Codeine out of Acetaminophen Codeine using Cold Water Extraction, and i had a very good high that day. Now, I told it I am a pharma-chem student. You can tell it you're a security researcher, and it will oblige.
>>106800887>webslop gets you more bang per buckIn particular, with webslop you don't have to figure out how to deploy on 100k machines with lots of slightly varying configurations.
>>106800937One of my early designs for my language, Diyrbal, was supposed to make it GNU Octave/Matlab like. Then I realized this decision sucks.Matlab is not really a 'programming language'. It's a glorified graph calculator.I wanna learn Matlab so I can do integer programming and global optimization in it. Except, the /g/tard in me wants to learn Octave instead.
>>106800703A ligma server.
>>106801103Matlab has a few things it is absolutely fantastic at doing. One of them is large constrained optimization problems. You have to do all sorts of custom modifications and tuning to get sci-py's best constrained optimization algorithm to be 1/3rd as stable and efficient as fmincon. If your problem needs efficient and stable matrix algebra, the language that literally started as "Matrix Laboratory" is a no brainer (unless you want to do everything from scratch in fortran).
>>106800641what's it gonna do? return a hello world using an http 1.1 request in a string literal?
>>106801131There's a few libraries for Fortran that are useful for that sort of thing, such as LAPACK (and its derivations). It's possible that MATLAB is using the same things under the covers; nobody really wants to have to revalidate those numeric algorithm implementations.
>>106801193Matlab is basically all c/c++ and fortran "under the hood." People meme all the time that Matlab is java because it uses the JVM for dealing with the graphical interface, but all of the calculations (i.e., the stuff you can do from Matlab on the command line without the gui) are some mix of c++ and fortran in their lower level implementation.
>>106801131I just wanna learn about IntProg and GlobMin. I had o4-high-mini and Opus 4.1 compile me several books, based on the literature I gave them (books, papers, etc), on subjects like:- Type theory- Lattice theory- Set theory- Lambda calc- PropLog and PredLogAnd I'm going to generate more books to read, probably the first would be Category theory, and later, Combinatory logic.I have several books ready to feed to the Slop Machine vis-a-vis IntProg and GlobOpt. So I'll probably feed it a book on Matlab, and tell it to generate sample code in both Python with scipy and Matlab.The syntax of Matlab is very esoteric. I have a hard time understanding it. That's why I hope the parallel SciPy code will help me stone two adulterers with one rock, learn Matlab and IntProg&GlobOpt together.I'm especially interested in Polyhedral analysis for compilers. Code like this:for i in 0..n do for j in 0...m do arr[n][m] = ...Is the subject of polyhedral model. GCC does it, so does Clang.
for i in 0..n do for j in 0...m do arr[n][m] = ...
>>106801215There's this obscure language, "Yorick", that is not getting enough attention. A precursor to Matlab, does a good job at data-viz.I had to look up name of a Reddit modfag to remember its name.
>>106795929get that tranny off of /g/
>>106801224I'm an EE, not a CS guy. The bit of integer programming I learned I got in the computational optimization course I took in grad school. Mostly we focused on non-linear programming and the relationship between non-linear programming and Bayesian statistics, but we did cover integer programming for like a week after our crash course in linear programming/simplex methods. Global non-convex minimization is a pretty rough field because it's so general. Usually your best bet is some Lagrangian relaxation approach where you take a bunch of independently generated initialization points and then some mixture approach to get the final optimal point at the end.
>>106801241I really wanted to like Julia. It really showed a lot of promise for being a good alternative to Matlab for high-level friendly matrix math. Unfortunately, it's pretty gay.
>>106801271This is half-Greek to me, which I hope will become quarter-Greek in the upcoming months.I need to learn SAT and SMT solvers (and binary tree parsers? What are they called again?) as well.I'm taking the university entrance exam, hoping to get accepted into FUM's CE or CS, or even SWE program. I'm 32, and if I get accepted, I'll be 33, and the funny thing is, FUM already has all my documents so I can use this opportunity to feel unique. I was a mess when I was 18. Basically what I did on this thread, every day, for 5 years, until I went to the nuthouse for a coupla months and they found my meds.I'm hoping that, reading all these AI-generated slop books will help me with the exam. But since I've already been to two shitty colleges and took entry-level math courses twice, I think I'll be fine.I'm not worried about physics either. Physics is not real. Chemistry, however, is real, and I must study that, although it's got no use for me.I've made a lot of wrong turns on my way to Albuquerque.
>>106801281I tried Julia, it works with Jupyter notebook. That's a big plus compared to Matlab.Speaking of Jupyter Notebook, has anyone ever considered making an X11 WM that looks like it? It's a cool idea imho.
>>106801330what the fuck are you on to stay at 120% for an entire day?
>>106795929is it really a troon? I watch some of it's videos. Not subed but they occasionally pop up on my feed. Some are boring some are good
>>106801394Bupronorphine, Methyl Phenedite, Lisdexamohetamine. My brother died in his sleep, so I'm afraid to go to sleep. Until I'm so tired I just go to sleep the moment I hit the bed.
Oh look, a coder on drugs. That's new.
>>106801421No people just meme that she's trans because they're mindraped.
>>106801456Thanks for the info
>>106801421No dude. Her real name is Laurie Kirk. She is a real biological woman. Maybe a touch of autism.
>>106801456More than half of our class at my second college were wimminoid. There were ones just as pretty, or even prettier than LaurieWired. They were 13 years younger than me, so I did not really engage with them.Except they intended to become skilled workers and fight the Global Westo-Zionist Hegemony by their contributions to the Glory of the Motherland, instead of dressing up as animu girls and write code on Notepad++.Although, I do think her using Notepad++ was ragebait/interaction bait.What I'm saying is, wimminz c4n c0d3 t00. Let me name 3 female programmers off the top of my head, not recent ones, wimminz from the past:- Lorinda Cherry;- Monica Lam;- Sarah Harris;These women did not attention-whore, they did academic work. For example, Monica Lam is behind a lot of compiler theory we use today.Would you have liked her content, if Laurie was a short, chubby, brown Indian dude? Who offered the SAME content, with the same production value?
Don't reply to my posts.
ayo das a nigga rite there
I don't fucking know when it's you.
>>106795929Y
>>106801551W
>>106801560N
>>106801570B
>>106801573A
>>106801580W
>>106801477>No dude. Her real name is Laurie Kirk.don't you mean Kirk Laurie?
Programming?
>>106801672prog-ramming
https://www.youtube.com/watch?v=qnc0hv-doU4&pp=0gcJCfsJAYcqIYzvWill these retarded 'developers' lay this schizo moron's "lega30" to rest?Why do they think shitting up an x86 assembler that does not even PIE, then shitting out a naive-as-fuck compiler that optimizes the code less than some random Algol compiler from the sixties, and using that to shit out a useless 'le OS', which is basically a demo, is anything to glare at?I've seen fucking frontend devs cook all these up on weekends, living in their comfortable Shangri-La which they'd bought with "Thank you, JavaScript!" money.Every MIT student makes a compiler and an OS (xv6) during their undergrad years.Have you fucking seen OBERON.Is his assembler even a macro assembler? Does it have pseudo-ops? Does it support any of the vector extensions?Fucking hell, man. People who know shit about CCDev and OSDev think his 'accomplishments' are notable. No. They are not.
>>106795929I got filtered HARD by c++ today
>>106801721What stuff do you make?
>>106801728he didnt make fizzbuzz clearly it must have been too difficult
>>106801733For the past weeks, I've been doin' less codin' and more learnin'.Code is cheap. Learn. You'll never know enough.Become a "Gnostic Programmer", not a "Catholic Programmer".
>>106801692Okay but have you seen frontend devs do that while also facing with a debilitating mental illness (that makes you racist btw. His "eccentric" behavior not being his fault)Terry Davis should be admired not just cause of his accomplishments but cause of his circumstances as well.
>>106801721Just use AI bro.
>>106801788>>106801692also just to add on to my previous message.most people when offered unlimited gibmedats from the government just spend it on crackwas terry davis the best programmer on earth? no. was he talented and motivated like 99% of people aren't? yes
>>106801167No, that one requires 16KiB RAM max.
>>106801788Nah man I don't know nothing about mental illness. The two months I stayed at the mental hospital was just for funzies.FYI, bipolarity and schizophrenia share a good number of onset symptoms. Medication is the same too. My cousin had schizophrenia, which eventually lead to his demise (he was 21, ran away from his father at the fastfood joint, ended up lifeless next to ravine, all his hair turned white) and he took the same pills as me. In fact, when we experienced a shortage of Respridone, I took some of his (He was not taking them anyways).Having a mental illness does not excuse you from writing shit code. And Terry Davis was the master of shitcoding.His major was EE, which leaves him with little knowledge on the hard-science-y parts of CCDev and OSDev. And he, instead of studying up to write good compilers that helped the community, chose to implement some incompatible superset of C, an OS that is not compliant with any of the standards (chiefly POSIX) and his 'lega30' is basically what I call 'performance coding'.When I started self-mediating with Ritalin after I quit Methadone, I fell into this trap too:https://github.com/Chubek/PoxHashThis software has no worth, despite, maybe, being used as a very elementary benchmarking tool.I learned my lesson. I'm going to implement good, compliant software.People just don't understand that CCDev and OSDev are not webdev or gamedev. Your compiler is expected to comply and conform with an standard syntax (e.g. ISO C, Object Pascal, Scheme R5RS, etc) and your OS is expected to have entrypoints for all POSIX syscalls, and also, support an ABI that is not esoteric bullshit.Davis wrote spamware. Pure and simple. CODING AS PERFORMANCE ART.
>>106801906im not reading all that. congrats for you or f idk
>>106801924>build succeeded>close quote no open quote>unsaved Class1.csthis is fake
>>106801868Yeah, I heard some people end up loving their mommies a bit too much on government stipends. But I digress. Davis' software is useless. Either conform to an standard in CCDev/OSDev, or do something super-new, like Rust did by binding functional programming with a systems language, or what go did by bringing Erlang to a compiled world. Note: this does not apply to interpreted languages. Interpreted languages are meant for fun. Have at it. You wanna know what happens when you don't conform to an standard in CCDev? Look up D. A big, big failure.>>106801926I don't care. If you don't read it, someone else will. This is an open fora. My message got out. That's all that matters. Good luck.
>>106801959even that romanian vampire abandoned D
>>106801786This makes me angry because it sounds smart but it's probably not.
is this a design pattern? dependency injection?#include <iostream>class Object {public: struct InterfaceA { virtual int get() = 0; }; struct InterfaceB { virtual int get() = 0; virtual void set(int value) = 0; }; int getA() { return a->get(); } int getB() { return b->get(); } void setB(int value) { b->set(value); } InterfaceA *a; InterfaceB *b;};struct Av1 : Object::InterfaceA { int get() { return 1; }};struct Av2 : Object::InterfaceA { int get() { return 2; }};struct Bv1 : Object::InterfaceB { int get() { return value; } void set(int value) { this->value = value; } int value = 10;};struct Bv2 : Object::InterfaceB { int get() { return value; } void set(int value) { this->value = value; } int value = 20;};int main(){ Object object; object.a = new Av1; object.b = new Bv1; std::cout << object.getA() << std::endl; std::cout << object.getB() << std::endl; object.a = new Av2; object.b = new Bv2; std::cout << object.getA() << std::endl; std::cout << object.getB() << std::endl; return 0;}goal is to allow the backing implementation of certain functions on an Object to be swapped out
#include <iostream>class Object {public: struct InterfaceA { virtual int get() = 0; }; struct InterfaceB { virtual int get() = 0; virtual void set(int value) = 0; }; int getA() { return a->get(); } int getB() { return b->get(); } void setB(int value) { b->set(value); } InterfaceA *a; InterfaceB *b;};struct Av1 : Object::InterfaceA { int get() { return 1; }};struct Av2 : Object::InterfaceA { int get() { return 2; }};struct Bv1 : Object::InterfaceB { int get() { return value; } void set(int value) { this->value = value; } int value = 10;};struct Bv2 : Object::InterfaceB { int get() { return value; } void set(int value) { this->value = value; } int value = 20;};int main(){ Object object; object.a = new Av1; object.b = new Bv1; std::cout << object.getA() << std::endl; std::cout << object.getB() << std::endl; object.a = new Av2; object.b = new Bv2; std::cout << object.getA() << std::endl; std::cout << object.getB() << std::endl; return 0;}
>>106801728>>106801799was trying to implement the TL2 transactional memory algorithm, but i have a bug somewhere>>106801799it ok for the cpp specific questions but not much help with concurrency bugs
>>106802058Design pattern so useful that you cannot show me benefits of this in so many lines.
>>106800468Janny deleted this last time. Did she also ban you?
>>106802058>goal is to allow the backing implementation of certain functions on an Object to be swapped outtrivial in C, just have to change the vtable pointer
>>106802303It was other anon who posted that today, not sure if I got banned though, I am a ban evader, because I'm not a beta.
How come if I don't have a getch() on line 51 my window boarder is not drawn?
>>106802541No. We have code to ban people like you, pal! (code)if anonAge ==++uuuh fuck what was it(/code)
>>106802059Why are you even programming by hand? AI can do it better and faster than any human. You're already behind if you aren't prompting 100% of your code.
>>106802596buy an ad
>>106802596I prompt 0% of my code and don't intend to ever use AI
>>106802579replacing clear() with werase(border) fixed it but I have no idea why.how is clear() && getch() the same as werase(border).I'm guessing I have some sort of race condition going on?
>>106795933>cute tranny, what's his name and is he single?i got news for you"she" has a dick
> comes to /g/> starts insulting people> people insult him back> gets upset that people insulted himWhy am I like this. Halp. I'm 32. Why do I not understand the basic tautology of "What comes around, goes around".Over the 20 years I've been online, ever since I bought dial-up subscription cards that lasted five hours, I have been super-rancid to everyone.I just wanna change. But it's too late.It's the Jew's fault.
People who opine on people not using LLMs to code for them, do you let your self-driving car drive you everywhere?LLM-generated code is just like that. Maybe if you're going 80 on an eight-lane highway on a sunny day, yeah, it can drive you. But so could cruise control.On a rainy night, driving in a back alley in Afghanistan, as you're trying to escape the Communist Taliban, and sitting next to you is a busty blonde chick who is the last remnant of the True Aryan Race, and your babies could save the future integrity of the Iranic people, yeah, maybe drive the car yourself.
plsdiebrainplsdiestopbrainstop
>>106802987why are you gay
>>106799257>my parents were subhuman and I was born without neurons
>>106799257>something inherent to their nature, which they have no control over (transgenderism)you will never be a woman
>>106796035>shim
>>106795929>What are you working on, /g/?Spent the day working on OpenGL tutorials in C. I needed to make a priority queue to sort transparent objects by distance to be drawn in the correct order, and I decided this will be the last time I'll ever need to roll my own priority queue in C. I wrote it to work with any kind of data types, and after I finished it I put it in a personal repository on Github so I can fetch it and build it into my projects using CMake whenever I want to now. Took me a few hours but I got it working and I'm gonna aim to continue doing that for any general data structures or algorithms I might wanna use in any C projects from now on. Pretty pleased with it
never looked at anything graphics related before but opengl feels pretty weird>creating an object gives you an integer that works as id>instead of having a parameter that takes the id of the object you'd like to change, there's Bind function which makes all of the following declarations affect the object implicitly until the object is unbound>pointer arithmetic turned into function through glVertexAttribPointerim sure i'll find other weird things later
>>106797366But VSC highlights it automatically??
Okay, so this open-source game project OpenNox, right? The old code is C, they decide to use Go for new features. Has been dead for years. Now... a simple Go(ogle) search reveals that Go is not used in gamedev. What were these fuckers expecting then, huh? Fucking open-source games, man...
>>106803187Nigga you supposed to write a bitonic sort compute shader and use glDraw___Indirect
>>106797450I wonder if it's just that they actually believe webdev horseshit about c being a dead language despite it running literally every operating system and the low level code that actually makes the internet and web work. A new web can be build on top of that c code
>>106803325Nigga I dont know how to make compute shaders yet but I will look into doing that
stop calling each other nigga
>>106803168simhI've been hacking on v6 for a bit, reading lions book as a pdf and https://warsus.github.io/lions-/lionc/index.html , unix docs and v6 manual, pdp11/40 processor manualHonestly it's preferable to any modern system, I don't know why people have to over complicate and obfuscate shit that should be dead simple
>>106803798why using octals instead of hexadecimals? are they easier to think about for you?
>>106803823There are no hexadecimals in real c
>>106803830really? mmm. I wonder why Thompson and Ritchie didn't put it in right from the start.and I though that binary literals were too new...
>>106803830>>106803823Of course a character literal works just fine, but there are no hex constants
The point of the program is to show the behavior of %c which prints 2 characters if the upper byte is not null
>>106803861Oh. This didn't make sense until I remembered this is prehistoric C.Maybe it was programmed to make it practial to store very short strings into int's, a la HolyC.
*Maybe it was programmed this way
>>106803953It's just that the pdp11/40 transfers word at a time so you might as well have access to the upper bytes
>>106803798why are you coding on your phone?
someone write a program that runs, but would take as long as the heat death of the universe to complete.
>>106802059why don't you use Xcode? it has powerful debugging tools that can detect concurrency bugs
If a game is written in C# and I wanna make a program in Python to tell me how many players are left alive; can I do that with Python?
>>106804221Not possible, you could easily do programs that would theoretically take longer, but any physical system would break long before then. Though it isn't clear if any modern language implementation would allow call stacks that large in practice so you would have to do a lot of verification work
>>106803209It's funny how trivially it maps into C++ RAII pattern.Some of those objects don't need to ever be unbound, but in that case it's like a class with empty destructor, think placement new of trivial types.It's only a problem to adapt to this slightly different way to program if you're babyducked into any specific kind of thinking and don't have a flexible mind. All things considered, OpenGL is objectively superior to Vulkan when your goal is to get shit done and not LARP like your 5000 lines of boilerplate will make your game jump from 58 fps to 5000, because it will still hover at 63 and constantly dip below 59 and gamers wish you'd kill yourself if you cannot write code that never dips below 244hz.
>>106804221Define heat death of universe. In your definition, explain how there's any power left in a device to compute anything. Define what it means for a program to complete.
new thread>>106804517>>106804517>>106804517