3 ms·
It is indeed dead simple :-) The spec, the implementation, and using it. It's by far the simplest scheme I've ever seen proposed for C. You can see this from t
by WalterBright 5y ago
It is indeed dead simple :-)
The spec, the implementation, and using it. It's by far the simplest scheme I've ever seen proposed for C. You can see this from the article.
I suppose I could add it to D's ImportC:
https://dlang.org/spec/importc.html https://dlang.org/spec/importc.html
even though ImportC's charter is to implement C11 as it stands and not fix anything.
But would the committee accept DasBetterC as an implementation?
https://dlang.org/spec/betterc.html https://dlang.org/spec/betterc.html
DasBetterC does implement the slices.
- __phantomderp 5y agoWe tend to accept anything that parses the C Standard - even only a part of it - as a viable implementation! For example, static analyzers are viable implementations of the standard, even if they don't produce code. I think getting this feature into one other implementation and then writing a paper on it would help. Unfortunately, the cutoff for "new papers that must be submitted to be considered for C23" is October, so there's not a LOT of time, so we'd need to find a 2nd implementation quick-fast, and then write the proposal quick-fast too!