RE: [C++] [Release] Lua C API - Printing a string 04-29-2018, 06:44 AM
#4
There's no point in using C++ for this, just use C.
Lua's neat in that it embeds really nicely into C programs, and it's really fast in comparison to other scripting languages (cough Python cough). You should make a tutorial on something more than just "hello world":
Here's a link to the C API documentation: https://www.lua.org/pil/24.html
And here's a link to a tutorial on calling C functions from Lua: http://www.troubleshooters.com/codecorn/...alls_c.htm
Lua's neat in that it embeds really nicely into C programs, and it's really fast in comparison to other scripting languages (cough Python cough). You should make a tutorial on something more than just "hello world":
Here's a link to the C API documentation: https://www.lua.org/pil/24.html
And here's a link to a tutorial on calling C functions from Lua: http://www.troubleshooters.com/codecorn/...alls_c.htm
(This post was last modified: 04-29-2018, 06:44 AM by Blink.)










![[+]](https://sinister.li/images/modern/collapse_collapsed.png)