Readit News logoReadit News
Decabytes · 9 months ago
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
    #include <stdio.h>
    c-declare-end)

    ((c-lambda () void
    #<<c-lambda-end
    printf("Hello World!\n");
    c-lambda-end))
and then run the corresponding executable

    gsc -exe embed.scm && ./embed

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

zvr · 9 months ago
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).
fithisux · 9 months ago
I love Tcl.

Deleted Comment

thunderbong · 9 months ago
Title on article

Using Lua for Embedded Development vs. Traditional C Code

sgt · 9 months ago
And with Xedge IDE - a web based IDE. I would want to use my own editor and not rely on any company dependant frameworks.
songbird23 · 9 months ago
what is a smart C coders