I work in healthcare and I guess music is my "passion" but I've recently begun learning C++ in the hopes of making some music-related projects. I think computers are cool and like learning about low-level stuff, but it's not my passion.This the the third time I've ever tried to learn programming, and this time, at the age of 26, I feel like it's finally working. I feel much more confident learning things now than in high school. C++ also makes way more sense to me than Python and the resources are better. All of this has me thinking: is programming not really that hard..? I know that's a stupid thing for a beginner to say, but coming from a health background I feel like it's far more logical and straightforward than most other crafts. Debugging, algorithms and optimization are genuine challenges, but I feel like I've been lied to about how impossible low-level programming is. Is that true?I haven't touched on memory management or templates yet so please humble me if I'm simply not far in enough to make this judgement.
>>106832696A woman will never touch your penis.
>>106832696>C++ also makes way more sense to me than PythonPaid shill thread. Nobody is falling for it. C++ is by far the most complicated and convoluted language in existence.
>>106832696>low-level programming>C++Is this old bait you found in some forum somewhere?
>>106832696difficulty in programming is entirely reliant upon your problem domain (provided you are experienced with utilization of your language's constructs)chase difficult problems to locate challenging workC++ is a shitty language btw, use Rust
>>106832720I was told early-on the C++ is low-level (even though that doesn't make sense to me) but I don't really understand where the boundary for high vs low-level is. But yes, I am aware that nowadays C++ is not low-level.>>106832760>C++ sucks, use RustSo I've heard. Sadly I'm deadset on audio applications including VST plugins and digital signal processing, and all the frameworks for this are in C++. I've been told that C++ is a magnet for security issues too, in comparison to rust being fairly safe.
>>106832703Poor fag.>>106832707Skill issue.
>>106832760
>>106832760>rustYou and your mental illness are not welcomed here.
>>106832803I am the biggest rustfag out there and i was utterly ruined when i learned of the lack of really any audio related crates in the rust ecosystem.
>>106832696You don't need to manually allocate in the heap or use template meta programming to do what you want to do.
>>106833024This is the kind of stuff I don't understand yet. When exactly do I need to manually allocate memory? Are there applications where people just aren't using malloc at all?
>>106832696C++ is a high level language, but you can do whatever you want.This code generates periodic waves from cosine/real and sine/imaginary terms, and musical notes from text using music macro language:https://godbolt.org/z/sTvb5eh6Y
>>106833072Thanks anon. I'm nowhere near being able to understand how to read this code, I just see a bunch of constants and then some stuff I don't get. I'll save this though. Where did you learn to do this stuff?
>>106832720>this shit again All languages are high level languages.
>>106833090Assembly looks like a high level language to you?
>>106833022Op here, that's how I felt about Python and basically everything I enjoyed (games, graphics, audio). I want to say "go and be the change you want to see and make your own framework" but honestly this stuff looks nightmarish to do from scratch. Even the biggest audio companies use the JUCE framework which is in C++.
>>106833118Which "assembly?" Some macro assemblers are pretty rich.
>>106832707>C++ is by far the most complicated and convoluted language in existence.True, but it is the lesser evil.At least it's "just C with extras," not something entirely different.Having things in C is great, having them in C++ is fine.
>>106832696>templatesjust avoid entirely
>>106832707>Paid shill threadwhy would anyone pay to shill c++?
>>106832696C++ isn't that absurd when learned piecemeal. Just learn the fundamentals and use a subset of features you care about. And this is as someone who opts to avoid it like the plague.Also, some projects end up in an extremely complex state and make programming daunting, but they might've started as the most basic implementation imaginable. If you continually refine, refactor, optimize things they'll always end up looking crazy, but it scales naturally with your understanding. Just gotta keep reins on the project architecture so it doesn't become spaghetti
>>106832696https://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
>>106834329I mean I assumed this much, thatโs why Iโm here for a more experienced opinion