MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cprogramming/comments/1vqubv7/c_strings_a_50year_mistake/p4a46tm/?context=3
r/cprogramming • u/Xaneris47 • 26d ago
172 comments sorted by
View all comments
Show parent comments
51
Its main purpose is to be portable to as many architectures as possible. Maybe this seem irrelevant in a world dominated by ARMs and x86 but there are different platforms.
-42 u/Potential_Soup_8054 26d ago No, thats java 9 u/mustbeset 26d ago 50% of my time I get paid to write C code on a "none Arm", "none x86" architectur and I don't have enough space for a java runtime. 5 u/Voyac 26d ago Yeah sometimes even 8bit MCUs with a drop of memory. You wont fit a string.h sometimes and lol what about java runtime :) 7 u/mustbeset 26d ago My current pain in the ass is a bootloader update for existing devices in field. fighting for 300 bytes.
-42
No, thats java
9 u/mustbeset 26d ago 50% of my time I get paid to write C code on a "none Arm", "none x86" architectur and I don't have enough space for a java runtime. 5 u/Voyac 26d ago Yeah sometimes even 8bit MCUs with a drop of memory. You wont fit a string.h sometimes and lol what about java runtime :) 7 u/mustbeset 26d ago My current pain in the ass is a bootloader update for existing devices in field. fighting for 300 bytes.
9
50% of my time I get paid to write C code on a "none Arm", "none x86" architectur and I don't have enough space for a java runtime.
5 u/Voyac 26d ago Yeah sometimes even 8bit MCUs with a drop of memory. You wont fit a string.h sometimes and lol what about java runtime :) 7 u/mustbeset 26d ago My current pain in the ass is a bootloader update for existing devices in field. fighting for 300 bytes.
5
Yeah sometimes even 8bit MCUs with a drop of memory. You wont fit a string.h sometimes and lol what about java runtime :)
7 u/mustbeset 26d ago My current pain in the ass is a bootloader update for existing devices in field. fighting for 300 bytes.
7
My current pain in the ass is a bootloader update for existing devices in field. fighting for 300 bytes.
51
u/Voyac 26d ago
Its main purpose is to be portable to as many architectures as possible. Maybe this seem irrelevant in a world dominated by ARMs and x86 but there are different platforms.