|
|
Log in / Subscribe / Register

Losing the magic

Losing the magic

Posted Dec 6, 2022 5:01 UTC (Tue) by NYKevin (subscriber, #129325)
In reply to: Losing the magic by khim
Parent article: Losing the magic

Bear in mind, many of the people using C are not coming from a compsci or software engineering background, but from an embedded systems background. For them, C is like old-school javascript: You write ~10 lines of code to make the monkey dance (except it's, like, an animatronic monkey or some such thing, wired up to an Arduino). There is no operating system and you probably don't have a full libc, or possibly any libc. While I'm sure these are very smart people, it is not necessarily reasonable to expect them to know about the intricacies of compile-time vs. runtime evaluation, because that's simply not relevant to the work they're trying to do. They may never even use sizeof, because malloc is not typical in these environments (everything is statically allocated).


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds