Settings

Theme

Why Smart C Coders Love Lua

realtimelogic.com

11 points by willhschmid a year ago · 7 comments

Reader

Decabytes a year 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 a year 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).

thunderbong a year ago

Title on article

Using Lua for Embedded Development vs. Traditional C Code

  • sgt a year 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 a year ago

what is a smart C coders

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection