News for hackers. Stuff that matters.
Re:Picolibc – Libc for Embedded Systems by saagarjha on Thursday October 03, 2019 @07:53PM (#21153507)
Strings ship with libc because pretty much every language ships with string manipulation routines. You need them to basically do anything that isn’t pure computation.
Re:Picolibc – Libc for Embedded Systems by weberc2 on Friday October 04, 2019 @10:16AM (#21157929)
Granted, but pretty much every language also ships with routines for other data structures, and I would think that you need things like lists/slices more often than you need string routines.
Re:Picolibc – Libc for Embedded Systems by _kst_ on Thursday October 03, 2019 @10:04PM (#21154182)
libc includes string functions because C requires string manipulation functions. Other languages may or may not make use of C's string functions.
Re:Picolibc – Libc for Embedded Systems by saagarjha on Thursday October 03, 2019 @11:49PM (#21154622)
Yes, because they ship with their own string type.