>keeps out-of-order designated initializers out of sepples to make constructors seem useful (they have been present in c since c99)What eas his endgame
>>106971061He's coding C++ compilers in C# + AOT>look what they did to my boy
>meme arrows>"sepples">"endgame"either be serious or go full meme bait.never do half measures.enjoy your dead thread.
>>106971061C++ is the least shitty shit if you have to build complex systems with performance in mind.Yeah I hate C++ but it's still the best option.But of course for random small apps C# is ten times more comfy.
>>106971061>language designed by european>it's a messlol
>>106971737>C++ is the least shitty shit if you have to build complex systems with performance in mind.Rust exists today.
>>106971737>C# is ten times more comfyhonestly? how? it just looks like OO java garbage. all the examples I see just look much worse than Rust even, which is surprising since C# is supposed to be a GC'd VM language.
>>106971881and to be concrete, even premeir shit like ASP.NET Core just looks assy.Handling multipart in Axum:https://github.com/tokio-rs/axum/blob/main/examples/stream-to-file/src/main.rs#L88Handling multipart in ASP.NET Core based on the M$ examples:https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/mvc/models/file-uploads/samples/9.x/FileManagerSample/Program.cs#L29why do you even need to get the MIME boundary? like what? and all the stupid _private name vars and everything? really?
>>106971881>it just looks like OO java garbage.Most of the code I write in C# is functional code.And what's wrong with OOP? It's just an optional tool for safe state management. It has it's own place.I bet you think that you have to include every language construct you've ever read about in your code.
>>106971861>Rust exists today.They recreated all the problems C++ has.
>>106971953>Most of the code I write in C# is functional code.ok, so show me some snippets or something. I just don't believe you. when people say "muh functional" and they show me F#, Ocaml or babby's first anonymous function use I just immediately scowl and walk away.
>>106971960Async is shit - true.But I bet async in C++ is unmanageable hell, knowing even the very basics are fucked up in this disaster of a lang "designed" by a (committee of) retard(s).
>>106971964Watch the videos of this Chad:https://www.youtube.com/@zoran-horvat/videos
>>106972014>Async is shit - true.it's literally one of the best, cross-platform abstractions possible though. there really was no other way to do it. not sure why people seethe about it.C++ coroutines are a meme.
>>106972021can you just link to one? ffs. I ain't clicking random videos.
>>106972025Extremely poor orthogonality.It doesn't fit well with the other language features.It fits so poorly they literally had to develop a workaround (pinning) to the key feature of the language - its move semantics - to make it work at all.
>>106971061>What eas his endgamecashing "committee" checks until he dies. and it's not an endgame, it's the whole game.>>106971737seepeepee was and will always be the most shit option.the choices were:C (-> Pascal) -> C++now it's:Rust -> C -> C++in three years, it will be:Rust -> Zig/C -> Carbon -> C++ and after that, something better than Rust may emerge, and seepeepee will drop off the list completely. it is already dead as a "new project" language in many fields already, thankfully.
>>106972071>1% of types cannot be moved in memory, that means it's over>even though self: to all the appropriate trait impls can just be Pin<&mut Self> and the hardest you have to think about it is projecting pin on members correctly.like, I don't get it. are people still really seething about Pin? you're going to have hard problems no matter what approach you take and move by default was objectively correct for 99% of cases, and even without it, you'd still have problems of specifying things that shall not be molested.
>>106972089Try to write something more complicated than your school projects!
>>106972089>C (-> Pascal) -> C++man, I still deal with Pascal stuff. It's not that good either.
>>106972143this is hilarious because "school projects" and "blog posts" represents 99.9% of /g/eets's experience with programming (if any).>>106972129you're conversing with a /g/eet (possible llm) who web-scraps for "rust problems" and spam them endlessly. "it" doesn't actually comprehend anything.
>>106972149system languages don't have to be very "good" vs. C++, because no matter what. they will have infinitely less layers of shit than C++.no one can catch a language that isn't designed, but rather had a committee with the sole incentive to keep adding shit to it for decades.
>>106972089>rust>performanceerrr, no.just no.its decently fast but its way slower than cunless you write c. in rust. which completely defeats the purpose of the language.to be fair it may find a use in osshit and servers, if you have to deal with a constant personnel churn.i wouldnt use it as it is now, but theoretically rust could bring new stuff to the table.still, its not a solution desirable to any degree when performance is your chief concernseriouslywhy the fuck would i bother with safety mechanisms only to promptly ignore them?why would i care about a standard library if im gonna reimplement everything myself anyways?makes negative sense. also bc if you min max into memory retention by learning everything there is under the sun, well, you minmaxed into memory retention.at the cost of your problem solving.
>>106972089nothing useful and actually real is done in rust, only toy showcase projects and virtual signaling endeavors inside big companies that will get dropped when they realize what a waste of time it was to build an inferior version of something that already existed.meanwhile c++ powers the world's most important and relevant projects and that alone will keep the demand for it alive.
>>106972555well at least the "branchless" dot finding retard finally moved on to simd intrinsics.
>>106972752>t. seething at superior skillskek. best compliment you could have given me
>>106972752btwthis IS branchlesswhile in the past two years or so i graduated from poor mans sse to full blown simdyou still didnt even learn the basics
>>106972089Thing is every time I check on these memelangs, they don't have the same kind of libraries C++ does.
>>106973507you're still on that. what kind of one-trick-pony tardation is that.i think you disappeared before when this was linked:https://docs.rs/memchr/latest/memchr/
>>106972660what do you use for OTP
C++ is so bad at organizing code even python is better
>>106973550>they don't have the same kind of libraries C++ does.At least you can use them in Rust, C++ has atrocious package and dependency management.
>>106973909i had to reimplement an atoi/f/l and i dont have the fast boi code on my machine anymoreso instead of retyping half of an inferior solution based on a screenshot i just implemented it properly with my current level of skills>memchryou use sized strings.i overallocatewe just arent the samethe practical difference is that i deal with everything using simd intrinsics only.i dont have a tail end i have to iterate through, everything is treated as a 16/32 byte long vectorits a wholly different beast mr branchlessdiffreent constraints, different solutions
>>106973909>>106974125the fast boi solution is already 3x faster than the libc btwso if you benchmarked your memchrs and atois and such against the libcmy poor mans SSE is already faster than your standard shit
>>106974125btw btw>the practical difference is that i deal with everything using simd intrinsics only.>i dont have a tail end i have to iterate through, everything is treated as a 16/32 byte long vectorwhich is gonna make an enormous difference with my datamost of my shit is ~5-8 chars for the integer part, and 6 for the decimalsso with a sized string, simd wouldnt even properly kick in most of the time
>>106971061He made the language overly complex on purpose.
>>106974646>ideology instead of engineering concernsthis never works outi agree that the current problem is people who are undertrainedbut turning a language into a steaming pile of bloat is not a solution to that
>>106974646>>106974845 cont.he should have stuck with c principleskeep the lang as simple as possibleand fuck the midwits, theyre gonna filter themselves outwith none of that safety shit sepples seems to be interested in nowadaysor 30 different containers for thatfundamentally, sepples should have never turned its back on raw pointersits should have been C with more powerful interfacesas opposed to C but with standard, separate interfaces for everythingincluding scratching your balls or passing a gasits just my unsollicited 2 eurocents, but that do be what im thinking
>>106975298C ain't simple retard.
>>106971711Apologize
>>106975325its syntax isthe complexity emerges from how complex the machine youre building, isand the subtelty you have to put in the syntax.and if you use intrinsics its because of autismautism can be a major factor too in completely unnecessary difficultybut at its rootc is dead fukken simple
>>106975461(pigrel is a WIP btw. in case the printouts werent explicit enough. its just to illustrate i do program in c. if i speak its not bc im a fanboi or bc its a culture war talking point. also i find switch/case fallthrough kinda neat, as a pattern)
>>106974646he isn’t wrong about pythonniggers infecting everything, but his solution reminds me of the Terry Davis quotehttps://youtu.be/k0qmkQGqpM8Every pythonnigger gets filtered by C, even though C has like 5% of Python’s features.
>>106975566>Every pythonnigger gets filtered by C, even though C has like 5% of Python’s features.c is the true measure of a manc is exactly as complex as the machine one's buildingnot more, not less
>>106975566>>106975581also the deal with features is replacing brains with proceduresinstead of needing to understand stuffbrainlets can now learn by heart some prosneedures that do things on their behalfnotice how its mainly autists who are into man pages shitkinda fukken dismantles the idea they have a superpower, doesnt it?kinda explains why theyre DISTURBINGLY SUSCEPTIBLE to propaganda, doesnt it?
>>106975566>>106975581>>106975614t. pythonigger btwits a webshitter who taught me programmingi had to relearn everything with cbut i started with paiton/php/js/html/cssyour most vanilla webshitter stack possibly imaginable ~ 2010today i do c and opencl and anything else makes me miserable.i could accept glsl and cuda, or vulkanshit whatevereven metal would dobut i dont want to deal with high level shit at all if i can help itFUKK learning others spaghetti. mine's a handful enough
>>106974242whatever you're doing is not faster than this:https://docs.rs/memchr/latest/memchr/memmem/struct.Finder.htmlprovide numbers to prove otherwise.
>>106973929authy
>>106975461>its syntax isNo, it's not. You are mistaking simplicity by lack of features and even in that case it's not simple because there are implicit rules and UBs for almost everything. I would not define C as simple but as rudimentary (Go lang fits this category too). >>106975581Nothing created in C can be elegant. https://rentry.co/g7aofwhc
>>106975503What is that doing? Converting a string to float? Do you know that converting a string to float is more complicated than that, right?
>>106975784>authylmao
>>106975986retard
I started a new C project the other day and decided to target c23 and who the fuck thought it was a good idea to bring constexpr, nullptr and auto (but severely limited) to C? it looks like shit.you'll pry NULL and #define from my cold dead hands.
>>106975765ye, benchmark it bc im not dling 20 gigs of framework to compile crabcodefukken 20 gigs but also bc fuck crabcodehttps://files.catbox.moe/0t62xe.ci didnt implement decimals yetwhich is a goto. and assignments to pointers bc despite trying to turn my vecs into literalsits still a pointeranyhootest it against integer floats bc the code as it is just doesnt take decimalsits still gonna be 2 orders of magnitude faster htan your fukken generic fukken slop>>106975825u sound like youre seetingyes, you have to pay for proper spelling for "seethnig"i have no idea how to do that anonymously though...>>106975895dl the catboxkrsh krsh krsh and such