4 ms·
An additional aspect of C that I really appreciate is that if something can be conceptually realized, it can be implemented in C. This is not the case with many
by astatine 4y ago
An additional aspect of C that I really appreciate is that if something can be conceptually realized, it can be implemented in C. This is not the case with many other languages where you are often constrained by them - either accidentally or intentionally, for safety or other reasons. In most cases you will end up having to write a C shim to do the deed and make available libraries to the other language. C toys the rescue, again!
- moomoo11 4y agoCan you explain what you mean with an example? Sorry I’m a bot tier swe since I mostly code in node and go
- astatine 4y agoBeen a while, but an example would be the ability to work with rawsockets. You can't use this in most higher-than-C languages as this was not, perhaps wisely, considered useful for most people and hence there is no mechanism provided.
- WalterBright 4y agoD and its runtime are 100% implemented in D. D could implement the C Standard library as well, but there's no point to that, since it exists and is what it is.