>start a project in C>go on constant tangents writing data structures from scratch >start a project in C++>get bogged down by the bloated pile of shit that is std>start a project in java/python/haskell/whatever>it’s slow as shit
>>110233934You know, if you just stick with either one of C/C++ you'll eventually end up with your own standard library of things you find useful that you don't have to reimplement for each new project.
>>110233934Java C# and JS aren't slow THOUGH
>start a project>it's unfinished
>>110233964good morning saar
>>110233934Use Zig or Rust. Or Lua with LuaJIT.
by slow you mean that you didn't even try and dismissed it from the start because you are too lazy, right? java is literally the bell curve meme, currently you are stuck in the middle
using namespace std;
>>110233934>get bogged down by the bloated pile of shit that is stdHow exactly do you "get bogged down"?
>>110233934i havent written any computer code since 2013
i'm 99% sure the "slow"ness of something like java doesn't matter to your dumb use cases. This type of shit is for low level god tier devs micro optimizing some shit, not some newbie who has difficulties writing C/C++ code.
>>110233934>I don't use libraries like a true luddite
>>110233934>start a project in english>performance is kinda shit>ask it to rewrite whatever it used in C++ or Rust, whichever looks like a better fit>performance is goodit just works
>>110233934You know you dont have to use every single thing std offers, who cares if its bloated
>>110234121He gets bored and looks at pictures of the Bogdanoffs instead of programming.
>>110234142No you don't understand I HAVE to find some way to use every class in the standard library in each program I write, if only it didn't have so many classes I could use C++ so much more easily :(
>get bogged down by the bloated pile of shit that is stdExplain in depth what about the stdlib is "bogging it down".
>>110234205>bro you don’t use raw pointers bro this isn’t idiomatic C++23>you need to use std::unique_static_ptr in this case>just don’t confuse it with std::static_unique_ptr, completely different use case
>>110234445Your analogy makes the smart pointer system in C++ seem more complicated than it actually is. There's only three smart pointer types to actually give a shit aboutunique_ptr, which owns an object and can't be copied.shared_ptr, which owns an object and can be copied, and every time you copy it, it increments a reference countweak_ptr, which is how you copy a shared_ptr without incrementing the reference count so you don't end up with a memory leak from the cycle. And if you think about it, there's only two categories here. Shit you're gonna copy and shit you're not gonna copy. Wow, so hard to remember. Also, if you don't need ownership, use a reference instead of a raw pointer.
>>110233934Use lisp
>>110234530>statements dreamed up by the utterly deranged
>>110233934>start a project>its slownigga, how shit is your code that you're hitting performance bottlenecks early? how embarrassing
>>110234530if I wanted to hear from chatgpt, I'd ask itkill yourself
>>110236575slow is a relative term. 100ns is slow when a well-optimized raw assembly can run it in 5ns
the only project that could later on benefit other project is the project written in an extendable runtime.you use low kick (lower level language like C) and high punch (higher level language, a glue code of runtime).you put in the bag by growing your own extension to that runtime, its modular, therefore it is small and doesnt need a debugger, when it grows, you make another extension/module.you put in a bag by growing your glue code wraps for extensions you made.that is the way to preserve and improve. your binary loops (#include <stdio>) are going to extinct
>>110238465I'm sure mouthbreathing op is optimizing for nanosecond gains.
>>110233934>start project>create commission >security approval>okr, kpi targets>500k party for CEO>>>>>Approve German intern<get a 800 page thick book on the dsl<use Bach stack>it's actually just a simple python projectAll me!
>>110233934>start a project in C>go on constant tangents writing data structures from scratch>start a project in C++>get bogged down by the bloated pile of shit that is stdLiteral skill issueGit gud
>>110233934For me, it's C.
>>110233934I like this:>start a project in C (with a C++ compiler)>Every time C gets annoying, i use C++ moderately, (no retarded multifile giant family trees)>only use the 10 or so STD things i like>if it's a library it better be talking to the OS, or i'm looking for a simple "just insert into the code" solution instead.