News for hackers. Stuff that matters.
Re:Rust and the Future of Systems Programming [video] by qwertyuiop924 on Wednesday November 16, 2016 @04:08PM (#12971538)
Why would you use libc embedded? Most of libc kind of expects an OS to be there.
Re:Rust and the Future of Systems Programming [video] by gcp on Wednesday November 16, 2016 @05:49PM (#12972346)
Uh? There are definitely trimmed libc's (not GNU libc!) that run on bare metal. Such as the one used by avr-gcc for example...
Re:Rust and the Future of Systems Programming [video] by qwertyuiop924 on Wednesday November 16, 2016 @06:43PM (#12972732)
Yeah, but why? I've never used a libc on embedded, and I'm kind of confused as to why you'd want to. Am I just Doing It Wrong™?
Re:Rust and the Future of Systems Programming [video] by saaadhu on Thursday November 17, 2016 @01:01AM (#12974773)
Atleast for avr-gcc, (part of) startup code and vector table layout come from avr-libc.

I'm kinda surprised you got by without libc - no strxxx, memxxx ,xxxprintf/no math.h functions ever?

Re:Rust and the Future of Systems Programming [video] by qwertyuiop924 on Thursday November 17, 2016 @09:37AM (#12977761)
No. But my embedded projects weren't particularly impressive. I can at least see the need now.