[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


๐ŸŽ‰ Happy Birthday 4chan! ๐ŸŽ‰


[Advertise on 4chan]


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.
>>
>>106832696
A woman will never touch your penis.
>>
>>106832696
>C++ also makes way more sense to me than Python
Paid 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?
>>
>>106832696
difficulty 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 work
C++ is a shitty language btw, use Rust
>>
>>106832720
I 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 Rust
So 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.
>>
>>106832703
Poor fag.
>>106832707
Skill issue.
>>
File: borrow hecker.jpg (112 KB, 1200x1200)
112 KB
112 KB JPG
>>106832760
>>
>>106832760
>rust
You and your mental illness are not welcomed here.
>>
>>106832803
I 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.
>>
>>106832696
You don't need to manually allocate in the heap or use template meta programming to do what you want to do.
>>
>>106833024
This 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?
>>
>>106832696
C++ 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
>>
>>106833072
Thanks 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.
>>
>>106833090
Assembly looks like a high level language to you?
>>
>>106833022
Op 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++.
>>
>>106833118
Which "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
>templates
just avoid entirely
>>
>>106832707
>Paid shill thread
why would anyone pay to shill c++?
>>
>>106832696
C++ 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
>>
>>106832696
https://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
>>
>>106834329
I mean I assumed this much, thatโ€™s why Iโ€™m here for a more experienced opinion
>>
>>106832696
low-level programming makes sense. the rest is bullshit nobody understands fully on all levels, that's why you have unoptimized sw that runs like ass on ultra fast hardware everywhere now
>>
>>106833088
>I'm nowhere near being able to understand how to read this code
Neither can anybody else, this is some pic related tier code
>>
>>106834129
its a backdoored outdated language, glowniggers love it
>>
File: tard.jpg (3 KB, 125x124)
3 KB
3 KB JPG
>>106835932
>>
>>106835957
>doesnt elaborate
ok cianigger



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.