Live data from Hacker News

Why Smart C Coders Love Lua

realtimelogic.com

1–8 of 8 posts

Re: Why Smart C Coders Love Lua

#5
I like Lua, but after going all in on Gambit-C^1 for a bit, I'm not sure anything can top its level of integration. Besides compiling to C, it just lets you straight up write C inside of a .scm file.

    (c-declare #
    c-declare-end)

    ((c-lambda () void
    #
and then run the corresponding executable

    gsc -exe embed.scm && ./embed

1. https://www.deusinmachina.net/p/gambit-c-scheme-and-c-a-matc...

Re: Why Smart C Coders Love Lua

#6
I think all the arguments of the article still hold if one changes "Lua" to "Tcl". (well, the general arguments, not anything related to the Xedge framework).