Hacker News new | past | comments | ask | show | jobs | submit login

In a similar vein, here is Lua 5.2 being compiled with Turbo C 1.0 (impressive that software written in 2013 compiles unmodified on a 1990 compiler!)

https://www.youtube.com/watch?v=-jvLY5pUwic




Thats what happens when you used a language which has an ISO or similar standard.


Sure, but you also have to stick to the older standards. This wouldn't work if Lua were using any of the new features of C99.


Turbo C 1.0 was actually pre-ANSI C. Turbo C 2.0 was compatible with a draft of the ANSI C standard, and I recall having some trouble getting Lua 5.0 to compile with it due to locale stuff.

The video actually features Turbo C++ 1.0, though, which was a different product, so the title is misleading.

Regardless, I agree that standards are very nice to have.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: