<meta content="text/html; charset=ISO-8859-1"
<body bgcolor="#FFFFFF" text="#000066">
On 2/20/12 3:38 AM, Robert Virding wrote:
I have given some more comments in <a class="moz-txt-link-freetext" href="http://news.ycombinator.com/item?id=3610332">http://news.ycombinator.com/item?id=3610332</a> .
Suggestions are welcome.
>> Re ycombinator: <br>
>> "Lua is a nice, small, relatively clean language."<br>
I experience Lua as very magic, in the non-least surprising sense. <br>
It can be so overloaded that it can be hard to guess what a simple
bit of Lua code really does. Which is maybe not ideal for an DSL<br>
Since __metatable is on the TODO list, maybe Luerl hasn't yet run
into those waters.<br>
I'd expect challenges there because the magic stems from Lua's
formidable small- & cleanness -- or maybe Erlang turns out a
marvelous fit. Certainly a very exciting side of the experiment.<br>
>> "However, the interface between Erlang and Lua in luerl is
definitely faster so for smaller amounts of work it may be better."<br>
This is a very exciting point - and all it needs for an answer to
the 'practical use' question. I'm anxious to see how you will
eventually implement the tables.<br>
To go for speed, wouldn't you have to make a choice based on table
size? Isn't there an absolute threshold where lists and trees just
become to expensive to 'udate'? I measured structures once and the
cost of flat vs deep structures' mutations was as expected . <br>
Is it known lore from when on ets are more performant than, say,
The table structure in Lua has been endlessly debated on the Lua
list. Good thing you are probably striving for a true image rather
than a 'better' Lua. The temptations would be endless.<br>
However, if you were to restrict yourself to a version that e.g.
leaves metatables out, it would not really be Lua, but as a DSL
still very useful. Maybe -- even more so.<br>
 <a class="moz-txt-link-freetext" href="http://www.eonblast.com/blog/cost-of-mutation/">http://www.eonblast.com/blog/cost-of-mutation/</a><br>