2024-08-06 00:07:01 http://uncensored.citadel.org/readfwd?go=Programming?start_reading_at=2099483589#2099483589 more rambling about local contexts, reentrancy, and callback conventions for nice, clean functional style in forth 2024-08-06 01:13:16 zelgomer: you dont run on batteries in your embedded stuff? 2024-08-06 01:13:29 I do tend to think about the efficiency of my C code when I run on a coin cell 2024-08-06 01:15:47 no, actually. i haven't worked on battery powered things yet. 2024-08-06 01:16:42 the stuff i do professionally, the power consumed by the processor are miniscule by comparison to other things 2024-08-06 14:04:56 Have to implement sleep states to get much benefit from optimising your MCU code 2024-08-06 14:05:19 Makes a big difference but doesn't tend to matter ... unless running off battery, so it does matter 2024-08-06 14:05:40 You don't want to be pigeonholed by language choice, and C is one of those languages that won't pigeonhole your performance/efficiency 2024-08-06 14:05:58 Or memory usage / program size 2024-08-06 15:56:58 Yeah, big difference between mains and battery operation. 2024-08-06 15:57:49 One of my jobs over the years was at a place that made seismic data collection devices. Battery powered, used radios to make a mesh network when they were "awake." But they needed to be able to sleep and just sit out there in the field for months at a time, waiting to be woken up and used. 2024-08-06 16:50:24 I'm sure the environmentally conscious folks would say we should always care, mains or batteries. 2024-08-06 16:55:10 "environmentally conscious folks" are usually idiots