shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

264
active users

#cprogramming

0 posts0 participants0 posts today

Dear #lazyweb

I have a copy of "Expert C Programming: Deep C Secrets" and it says it should be your second book on C programming. Bracketing the K&R C bible which is out of print, what do you recommend a persons first book be on the C language?

I am specifically interested in doing low level stuff like writing a compiler and understanding how to abuse embedded systems. Any help would be greatly appreciated!

Cold take.

Before I begin, a disclaimer: If anyone wants to learn anything, even if it’s inputting 0s and 1s directly into a machine, that’s perfectly fine with me. Kudos to anyone pursuing that path.

Learning assembly for the sake of understanding debugging is great, but remember—it’s essentially like learning to tinker with memory using a manual (AMD, ARM, etc.). If a new architecture emerges tomorrow, we’ll just have another manual to master.

For beginners, or anyone wanting to revisit memory management, start with C/C++. If you enjoy the challenge, move on to Zig, Rust, or whatever new languages might come along (Carbon, perhaps?).

If someone invents a new language tomorrow and your favorite one becomes obsolete, don’t worry—the effort you put in won’t go to waste. Chances are, you’ve gained a deeper understanding of your computer’s internals.

The truth is, learning any language—whether it’s touted for its superior features, job prospects, or some other appeal—is often influenced by selective information or echo chambers. Nobody knows for certain what the future holds. The next domino effect could be good, bad, ugly, or something else entirely.

Every language has its own unique strengths and legacies, but they also come with hierarchies, internal politics, egos, and decision paralysis.

Flame wars are entertaining to a degree, but fighting over something we don’t fully understand isn’t worth it.

Out of 6 languages recommended by the NSA, 4 are patended bvy multibillion comanies who can pull the plug on them at any time (and Oracle already tried that).

C# - PATENTED by Microsoft,
Go - PATENTED by Google
Java - PATENTED by Oracle, NOT FREE
Python - not too shabby
Rust - not too shabby
Swift - PATENTED by Apple

New C library for Raspberry Pi Pico! This one displays procedural effects, animated sprites and text using WS2812B addressable RGB strips and matrices.
It allows multiple concurrent effects with independent framerates, masking, color inversion, global dimming, callback functions, and more.

Who needs a 6k display when you can do all of that on an 8x8 matrix?

Source code: github.com/TuriSc/RP2040-WS281
Demo video: youtube.com/watch?v=l01OJQYX9K