Remix.run Logo
Joel_Mckay a day ago

Pull off the C/C++ band-aid already, it will give you a clearer understanding of how these chips actually function. =3

ac29 6 hours ago | parent | next [-]

I took an embedded C/C++ class online 5-10 years ago and hated it. I dont want to be doing bit shifting math to put some device's registers in the correct state for me to write text to a screen

Joel_Mckay 5 hours ago | parent [-]

In general, the Embedded space is very different from multitasking Application environments. The mistake is assuming language choices people make were independent of the language specific features outside isomorphic code implementation.

Python is great in many ways, but anything with a garbage-collector or JIT has fundamental problems with parallelism and or real-time environments.

https://en.wikipedia.org/wiki/Clock_domain_crossing

https://en.wikipedia.org/wiki/Metastability_(electronics)

I would never claim to know what I am talking about, but reliance on other peoples hobby projects can inject naive/unstable dependencies into your long-term work.

This list of rules applies to most languages:

https://en.wikipedia.org/wiki/The_Power_of_10:_Rules_for_Dev...

A bit of history where these rules came from, and why they matter.

"Why Fighter Jets Ban 90% of C++ Features"

https://www.youtube.com/watch?v=Gv4sDL9Ljww

The basis of the cited 10 rules helped form many standards for reliable code:

https://www.stroustrup.com/JSF-AV-rules.pdf

Good luck, and I agree dealing with bitmap multi-language fonts is difficult without a header template generator. imagemagick can build this for you with a bit of one-time scripting, but it always eats up a lot of rom memory. =3

delabay a day ago | parent | prev [-]

Not everybody has time or needs to understand how these chips function. I don't need to know how a CPU functions to write python.

bschwindHN a day ago | parent [-]

Yeah how dare he suggest you improve yourself or learn more about the thing you seem to be interested in operating. I could understand if we were on a website about technology and curiosity, but this is just hacker news.

iamatworknow a day ago | parent [-]

Why are you responding as if that was an attack? Not everyone needs to know every intricate detail of a system to use it. Nor should they.

That type of thinking is like saying unless you can cook a gourmet restaurant quality meal you don't deserve to eat at a gourmet restaurant. Absurd.