4 ms·
C is fully self sufficient without calling into libc. Otherwise all the libc alternatives couldn't exist. Sure, you don't get to call strlen (actually, you do
by bronson 12y ago
C is fully self sufficient without calling into libc. Otherwise all the libc alternatives couldn't exist.
Sure, you don't get to call strlen (actually, you do if the compiler treats it as an intrinsic), but that's no big deal.
- blinkingled 12y agoSo we would need to write Rust libraries without using Rust stdlib? Not exactly a great advantage in that case. Especially so when you are rewriting a ton of C code.
- bronson 12y agoSo what are you complaining about? Do you want to use runtime libs or not? It sounds like you're dissatisfied either way.
- blinkingled 12y agoIt's about the context - rewriting ton of code that is in C libraries right now. If that had to be done using Rust without its runtime libs it is an huge disadvantage to solve the issue at hand.