Re: Why combining C, SDL and scripting languages?
Alex Barry <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <CAJSO58O8in49n6F-ObJ82m47JUU0vynxvB-zjW5rcnJGJyv=NQ@mail.gmail.com> |
Typically you would use scripting to allow the user to modify the behavior of the program without recompiling. Some examples would be NPC behavior in a game, or interface customizations. On Oct 11, 2016 10:58 PM, "Daniel V" <[email protected]> wrote: > What are the reasons to use a scripting language like LUA or other, > together with SDL and C code? So, for what role does people use a > scripting language like this? > > Is it just to separate code, so that not every one has the full > source, or is it to save compile time, or is it to speed up > development, or are there lots of more or other reasons? > > What parts of the code is best suited for being scripted? > > And can you use Code to write scripts? so you can move code from one > part to another? And do any one know if there is a C compiler that > makes bytecode for a small VM? > > // Daniel V. > _______________________________________________ > SDL mailing list > [email protected] > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org > _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org