8 ms·
I can usually read JS generated by TS, but calling the C Nim outputs "human-readable" is very generous considering it flattens most structured control flow to g
by shiomiru 10mo ago
I can usually read JS generated by TS, but calling the C Nim outputs
"human-readable" is very generous considering it flattens most structured
control flow to goto. (It's hard to do it otherwise, Nim has to deal with
exceptions and destructors but C has neither.)
Classifying Nim as a transpiler also results in weird cases like NLVM[1]
which most would consider a compiler even though it is a back-end on the
same "level" as Nim's C generator.
[1]: https://github.com/arnetheduck/nlvm https://github.com/arnetheduck/nlvm
- monocasa 10mo agoI mean, original Dartmouth BASIC only had if and goto, and was definitely designed as a human readable language.