为什么在我们的应用程序中需要或使用LUA? [英] Why we need or use LUA in our application?

查看:89
本文介绍了为什么在我们的应用程序中需要或使用LUA?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能会听到每个人对LUA的了解,并在其中包含一些理解和想法.
但是,我做错了.
为什么我们在代码中使用LUA?

我在LUA中只知道:

Lua是一种功能强大的轻量级,小占用空间的编程语言,旨在用于扩展应用程序. Lua还通过垃圾收集(可以专门针对您的应用程序)提供自己的内存管理. Lua也是完全可重入的代码,没有全局变量.

我已经知道LUA可以让我们编译变量甚至不编译整个代码.但是,如何使用呢?我怎么到那里?
我需要弄清楚的主要内容是:

-什么是LUA?
-为什么需要它?
-如何绑定LUA和C ++?
-一些简单的示例(也许带有LUA和C ++的计算器应用程序会很有帮助)

因此,如果那边的任何人阅读并听到了此消息,并且对我有所启发,请回复.

在此先感谢

Hi,
Everybody might be heard about LUA and keeping an understanding and some idea within it.
But, I don''t get it rightly.
Why we use LUA in our codes?

All I know in LUA is :

Lua is a powerful light-weight, small footprint programming language designed for extending applications. Along with this Lua provides its own memory management through garbage collection (which can be specialized for your application). Lua is also fully re-entrant code with no global variables.

I already aware that LUA could let us compile variable without even compile entire code. But, how to use it? How do I get there?
The main things that I need to be clear are these :

- What''s LUA?
- Why do we need it?
- How to bind LUA and C++?
- Some simple sample (maybe calculator application with LUA and C++ would be much helpful)

So, if anyone over there read and hear this message and have something to enlight me, please reply..

Thanks in advances

推荐答案

您是否尝试过其站点 [ ^ ]?

google [ ^ ]?
Have you tried their site[^]?

Or google[^]?


这篇关于为什么在我们的应用程序中需要或使用LUA?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆