Hacker News new | ask | show | jobs
by lelanthran 1031 days ago
> transpiling to C actually makes adoption much easier.

Well, maybe.

I like transpiling to C because it brings with it all the hyper-optimisation that has gone into C compilers over decades.

As a solo on-again/off-again language designer, I can attest that you really cannot fixate on language purity or similar stuff like that: the goal is to write a program in your new language as soon as possible, and implement the features that motivated you to create a new language in the first place.

Transpiling to C is, in practice, no different from transpiling to assembler, with the advantage of portability and instant environment support (can call C libraries).

I've got a featurelist I'd like to implement. Focusing on emitting machine-code or assembly eats away valuable time I could have instead used to create a feature, or 10.