7 ms·
It's certainly possible to build a compiler in C for a language that provides zero cost abstractions.
by 10x-dev 4y ago
It's certainly possible to build a compiler in C for a language that provides zero cost abstractions.
- kaba0 4y agoThe same way it is possible in Brainfuck or powerpoint — that’s just Turing-completeness and outputting a binary file.
- 10x-dev 4y agoSure, but your statement about C remains false.
- kaba0 4y agoBeing pedantic, it is either true and completely useless, xor false. Feel free to believe any of the options, it won’t make a sane vector implementation in the language possible for generic datatypes.
- 10x-dev 4y agoYour statement that C cannot be used to implement zero cost abstractions is factually false. There are no other options here. You said something that is incorrect. Edit: downvoting will not change that