Re:Learn C programming and the rest will come
by 29athrowaway on Friday January 10, 2020 @02:58AM
(#22009229)
Learning C is a good idea because:
- Some APIs only support C. On other languages, you can use 3rd party bindings, or use a C interoperability library/API, but this may have a performance overhead, and it may not abstract you from C types.
- Some industries mostly use C, or languages similar to C.
- Some software has real-time requirements. A garbage collector can introduce non-deterministic delays.
- Some software needs fine-grained control over memory management and have a predictable memory layout of data.
- Some software needs a low performance overhead, e.g.: when you run your software on low spec hardware/embedded devices, or you need to save power on a battery-powered device, or make the most out of current hardware.
Finally, the choice of C doesn't mean you only have to use C. C can interoperate with other languages when they offer a C API.
- Some APIs only support C. On other languages, you can use 3rd party bindings, or use a C interoperability library/API, but this may have a performance overhead, and it may not abstract you from C types.
- Some industries mostly use C, or languages similar to C.
- Some software has real-time requirements. A garbage collector can introduce non-deterministic delays.
- Some software needs fine-grained control over memory management and have a predictable memory layout of data.
- Some software needs a low performance overhead, e.g.: when you run your software on low spec hardware/embedded devices, or you need to save power on a battery-powered device, or make the most out of current hardware.
Finally, the choice of C doesn't mean you only have to use C. C can interoperate with other languages when they offer a C API.