3 ms·
C is, as the author points out, a portable assembly language. If a portable assembly language is not what you need - for example, you want better string support
by scott_s 18y ago
C is, as the author points out, a portable assembly language. If a portable assembly language is not what you need - for example, you want better string support and memory management - then don't use C.
- alecco 18y agoThen why the authors did a standard library from the beginning? (including strings) The problem is it's quite dated (30 years). There isn't anything wrong with the language itself and most languages evolve with time.
- scott_s 18y agoBecause back when C first was designed and implemented, the alternative was to do string manipulation in assembly. C has evolved over time, but it has not left its niche: a systems programming language which is a thin abstraction of hardware. If you want a higher abstraction of the hardware, then C is not your best choice.