lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Jun 26, 2015, at 9:00 PM, Sean Conner <sean@conman.org> wrote:

 Also, there are programming languages where you can't use all the
features.  Yes, you can write your own version of printf() in C, but you
can't write your own version println() in Pascal.  Or your own version of
PRINT in Fortran.  This isn't meant as an excuse for why Lua is unable to
use itself to the full extent, but to show that not all programming
languages allow that.

Actually, following up on that, you can’t even do printf(). How do you do I/O? At the end of the day the core low-level functions in the C runtime MUST be coded either in assembler or using hidden compiler intrinsics to generate the necessary operations (such as raw OS calls).

—Tim