Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



I mean, original Dartmouth BASIC only had if and goto, and was definitely designed as a human readable language.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: