6
"Clean" Code, Horrible Performance (www.computerenhance.com)
submitted 1 year ago* (last edited 1 year ago) by wave_walnut@kbin.social to c/programming@kbin.social

Many programming "best practices" taught today are performance disasters waiting to happen.

related article:
SE Radio 577: Casey Muratori on Clean Code, Horrible Performance?

you are viewing a single comment's thread
view the rest of the comments
[-] Masterkraft0r@kbin.social 2 points 1 year ago

Hooo boy... I work in embedded and modern MCUs and modern compilers allow for well abstracted, readable code and small memory footprint. I currently work on 256k of RAM and 1M of Flash, which is plenty, but have previously worked on systems with a fraction of that and still it's possible to write readable code on these.

this post was submitted on 28 Aug 2023
6 points (100.0% liked)

Programming

2 readers
1 users here now

This magazine is dedicated to discussions on programming languages, software development, and coding. Whether you are a beginner programmer or an experienced developer, this is the place for you. Here you can share your knowledge, ask questions, and engage in discussions on topics such as coding languages, software engineering, web development, and more. From the latest trends and frameworks to tips and tricks for debugging, this category covers a wide range of topics related to programming.

founded 1 year ago