suggestions for power/battery consumption data logger for community to compare?
#7
Unfortunately, the trend now goes in the other direction: Even C is now getting out of fashion, and people are moving to Rust or even to slower languages like Python. Even the Linux kernel is getting Rust modules.

I have some assembly skills, but mostly only the Motorola 68000 used on the TI-89 calculator. That was a nice, easy to learn assembly language. (Basically, the only big mistake you can make is reading or writing 2 or 4 bytes at an odd address, which will cause the infamous "Address Error". It does not even require 4-byte alignment for 4-byte accesses, only 2-byte.) Unfortunately, that architecture is no longer relevant for modern devices, even TI has stopped producing calculators using it.

My x86 assembly knowledge is limited, and ARM even more so. Unfortunately, modern CPUs have become so complex that the instruction sets have become a mess. x86 has so many instructions that it is basically impossible to remember them all. (Also, alignment requirements are very inconsistent: legacy instructions have none at all, but can be very slow when unaligned, vector instructions have hard alignment requirements, typically requiring the address to be a multiple of the vector size, which can be quite huge, and will fail with a hardware exception when those are not met.) ARM is a funny animal because it is RISC by design, but then things like implicit shifts and like vector instructions make it not all that reduced anymore. Still, some basic stuff has to be broken down into multiple instructions.

But the inherent issue with assembly is that it is non-portable: move to a different CPU architecture and you have to learn a whole different assembly language, and all the assembly programs have to be largely rewritten. C does not have that issue, but now people want to replace even that with higher-level languages.
  Reply


Messages In This Thread
RE: suggestions for power/battery consumption data logger for community to compare? - by Kevin Kofler - 01-02-2025, 09:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PinePhone Pro battery life at the beginning of 2023? dante404 14 11,588 06-03-2023, 07:45 AM
Last Post: crocspot
  Unofficial Pinephone Battery Case lllsondowlll 15 19,334 02-21-2023, 10:34 AM
Last Post: Yaky
  [Solved] Connect PPP to PC via USB for data transfer ? libresurf 1 1,614 09-20-2022, 12:31 PM
Last Post: libresurf
  Would disabling all cpu's except one save power on the PPP? rp3 3 2,738 08-27-2022, 01:10 AM
Last Post: uzanto
Information Fix PinePhone Pro when unable to boot due to drained battery butjar 7 7,650 05-21-2022, 01:24 PM
Last Post: 98cwitr
  Battery Life is it possible?? Tech Question (sort of) scrwbigtek 4 4,217 05-11-2022, 06:01 AM
Last Post: danimations
  Power issue with the Pro Freitag 13 8,766 04-25-2022, 06:14 AM
Last Post: LPIZ
  Less than 12 hours on battery - doing nothing tcoulon 8 6,267 04-23-2022, 02:00 AM
Last Post: fxc
  No mobile data access on PPP henrythemouse 5 3,901 04-16-2022, 06:40 PM
Last Post: henrythemouse
  Pinephone Battery doesn't fit in the Pinephone Pro ragreenburg 2 2,335 03-25-2022, 09:21 AM
Last Post: ragreenburg

Forum Jump:


Users browsing this thread: 3 Guest(s)