8-bit MCU code is hardware-specific so often at different levels that portability to PC code is not possible. You can read the logic and use it elsewhere but I sure as hell don't worry about porting automation code to a system that can't use it.
Our most-used 'computer' is the Uno with 32K flash, 2K RAM and 1K EEPROM. Believing that String use is okay has brought many new-ish members to the forum wondering why their bigger, this time for real project crashes and the answer turns out to be what their Strings do to the < 2K heap.
But but but String is STANDARD and PORTABLE! Not really, it ports like crap to small environments like the Uno.
Respect the hardware or you won't get far. Arduino is close to the metal C, you can grab some direct for sure but that should not drive any part of Arduino programming unless it is about limiting to portable code what you do.
Please, if that's your choice then I'll respect that but don't tell new people they should stick to Standard C when Arduino is not.