[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Validate parameters to Lua functions
- From: David Kastrup <dak@...>
- Date: Fri, 08 Apr 2011 14:14:17 +0200
C++ RTMP Server <crtmpserver@gmail.com> writes:
> To make a little personal note here: lua amazes me with every hour
> spent working with it. Up until now I was just scratching the surface.
There is not much more than that to scratch.
> I was using it only to provide a config file by simply reading a
> table. Now, after putting it to good use (as scripting engine), my
> brain is sparking with ideas and ideas :)
> Of course, I'm 100% I will re-invent the wheel many times before
> mastering it. But that's just an ongoing process of learning
There is not much to reinvent. Lua is a very limited language. Not
limited in what you can do with it, but limited in what it provides to
that purpose.
Which is actually rather nice. You never have to wonder "do I map that
feature of my system to a symbol, or an uninterned symbol, or do I keep
it just as a string?". String it is. But you can _use_ it for all
purposes that you would use any of the other choices for, without
performance going down the drain all too much.
--
David Kastrup