>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