3 ms·
It's totally acceptable to write to libc in something other than C, or in fact to write libc itself in something other than C.
by gok 7y ago
It's totally acceptable to write to libc in something other than C, or in fact to write libc itself in something other than C.
- saagarjha 7y agoAnd llvm-libc may be one such implementation: https://llvm.org/docs/Proposals/LLVMLibC.html https://llvm.org/docs/Proposals/LLVMLibC.html
- nineteen999 7y agoThat's a pipe dream, not an implementation. Let's wait until it actually happens before getting too excited, and then we be actually able to evaluate the drawbacks. > Current Status - llvm-libc development is still in the planning phase.
- deleted 7y ago[deleted]
- pjmlp 7y agoExample, Microsoft has rewritten their C standard library in C++ with extern "C" entry points.
- nineteen999 7y agoYes. Microsoft have made a number of silly mistakes with respect to OS design, which has cost them the server space outside of authentication for your and my lifetime. Bloat is not the answer to either security or performance problems.
- pjmlp 7y agoQuite the contrary, I admire Microsoft for being one of the first companies to start driving C away from our IT stacks. Thankfully Apple, Google, IBM and Unisys seem to be on the same boat.