3 ms·
C++ started as a C macro preprocessor, designed to work as C in UNIX, and by CFront 2.0 there was already too much compatibility to throw away. Ts is basically
by pjmlp 10mo ago
C++ started as a C macro preprocessor, designed to work as C in UNIX, and by CFront 2.0 there was already too much compatibility to throw away.
Ts is basically a linter, everything else is JS.
- zaphirplane 10mo agoc++ bootstrapping as a transpiler back when it was a 1 man show is hardly where it’s at today. The point about self handling in ts should demonstrate there is more than just strip the types going on
- pjmlp 10mo agoThere is the whole fit into the same UNIX compiler toolchain as C, without additional changes to the linker, include files, object and archive files.
- zaphirplane 10mo agoOh like how gnu compiler includes an ada compiler ? Or the C++ name mangling ? Obviously there a common heritage and the shared ancestor is c.
- pjmlp 10mo agoC++ name mangling was exactly designed to be able to link C++ code with a standard UNIX linker that only knows C. GNAT has zero compatibility with C source, doesn't even make sense.