Jose's Read Only Forum 2023

General Category => Third-Party Add-Ons => Topic started by: Marco Pontello on May 25, 2007, 10:51:29 AM

Title: LuaJIT - new 1.1.3 release
Post by: Marco Pontello on May 25, 2007, 10:51:29 AM
A new version of LuaJIT (http://luajit.org/) by Mike Pall was just released.
It's an implementation of Lua (http://www.lua.org) that include a Just-In-Time compiler. For certain kind of scripts, performance can enjoy a very interesting boost (http://luajit.org/luajit_performance.html).

I mention it as an occasion to remind about the interesting possibilities of using Lua as an embeddable scripting engine for out applications. Lua it's designed to be very easy integrated, so usually with just a bit of coding you can open a door to some very interesting uses.

Sometimes ago I posted a couple of very simple examples on the PB forums:
Using Lua to quickly build a spellchecker (http://www.powerbasic.com/support/forums/Forum7/HTML/002380.html)
PowerBLua: runtime expression parsing made simpe (http://www.powerbasic.com/support/forums/Forum7/HTML/002230.html)

As a realworld-sample, here's a Dogwaffle plugin I made, that implement a scriptable interface to control the painting program trough scripts:
DogLua - Project Dogwaffle Lua scriptable interface (http://mark0.net/plugins-doglua.html) - Samples scripts & effects (http://mark0.net/plugins-doglua-samp.html)

Hope this can give some ideas & inspirations!
Bye!
Title: Re: LuaJIT - new 1.1.3 release
Post by: Theo Gottwald on May 27, 2007, 09:37:19 AM
The Link in english .... :-)

http://mark0.net/plugins-doglua-e.html (http://mark0.net/plugins-doglua-e.html)

Hard enough to learn LUA, but then to learn spanish first .-)) could be too much.
Title: Re: LuaJIT - new 1.1.3 release
Post by: Eros Olmi on May 27, 2007, 01:02:43 PM
Reported link is in Italian not Spanish ;)

Title: Re: LuaJIT - new 1.1.3 release
Post by: Marco Pontello on May 27, 2007, 01:11:49 PM
Oh, sorry for the link. Thanks for the corrections! :)

Bye!
Title: Re: LuaJIT - new 1.1.3 release
Post by: Eros Olmi on May 27, 2007, 01:21:46 PM
Other comparisons at http://shootout.alioth.debian.org/gp4/
But never understand what times are reported. If seconds, it seems too much.
Title: Re: LuaJIT - new 1.1.3 release
Post by: Theo Gottwald on May 27, 2007, 03:20:29 PM
QuoteReported link is in Italian not Spanish

Sure.
Which however will not help me much.
But if I would get that box out of my bookshelf .. where is it ...

JAPANESE ... CHINESE ...SPANISH ... FRENCH ...aaah ITALIEN for beginners.
Spaghetti ... it doesn't have any words about computerlanguage or software.

Actually i will have to use the thing in english :-).