New revolution

Hi All,

OK, I’ll just mention this once! Is anyone getting involved with the new revolution? What I’m talking about is the Raspberry pi. I put my name down late to get one, so I’m expecting one in July. So does anyone know a good version of Lua on Linux?


Errr … lua? Tends to come installed on Linux distributions, I don’t know if it will be on the Raspberry Pi (should that be Raspberry Tau/2?) by default but it shouldn’t be hard to add it afterwards.

(Looks interesting. Might get one just for the fun value.)

Lua editors and runners with librarys are hard to find, but a free, good one would be Moai. I could go on for ever about Lua editors.
I’m planning on getting one and havincmg it act as an apple tv and to record my iPad’s screen.

As someone wrote in another thread: *\*whoosh\**. That was the sound of whatever Zoyt just wrote going way over my head.

What do you mean by “Lua editors and runners with librarys [sic] are hard to find”? All but the most stripped-down Linux distributions come with Emacs and Vi which both have excellent lua support. I’ve no idea what a “runner with library” could possibly be, though, so maybe that makes a difference.

Just looked a the FAQ page for Moai. The key bit that I see is that Moai is not lua, it is built on top of lua. As a relic of the BBC Basic era (see Raspberry Pi’s main page), I would advocate learning lua, not something-built-on-top-of-lua. Of course, a good way to learn lua is by learning how to program something-built-on-top-of-lua, but remember as you do which bits are lua, and which are added on.

Thanks guys. Looks like there won’t be a problem. I need to dig around on the net. As far as the editor is concerned I don’t think there will be a problem, but I haven’t found one as good as Notepad++ on Linux yet. Not sure about the reference to BBC basic, I’ll read the RPi site again. I don’t see the point on building a high level language on top of another. Then again I’m not qualified in IT.
Thanks again - I’ll report my progress if anyone is interested, once I get hold of one.


p.s. Andrew - trust a mathematician to correct me for adherence to mathematical standards so how about I use ?. OK

but I haven’t found one as good as Notepad++

You want to be careful saying things like that, you might start a conflagration.

I don’t see the point on building a high level language on top of another.

That’s exactly what Codea provides: it is, in its small way, a new language built on top of another (lua). Learning Codea would be a daft thing to do unless the only thing you ever wanted to do was write code in Codea. Learning lua by programming in Codea would be a good thing to do, as lua is available almost everywhere and Codea is a fun thing to use. It’s all about transferable skills.

Hi Andrew,

Don’t you think you can take this a bit far, some-one has already added a thread for Codea within Codea !!!

I took Codea as being a subset of Lua built for a specific market/OS. Also that it has the basics of Lua and some of the libraries but will obviously, in time and with the help of many experienced programmers, build up to cover the same scope as Lua. I thought it would have been built in the old mid level C++. Then again I’m still fairly new to all of this.
Also before anyone attacks my statement above, like many things in life, an Editor is a personal preference. After years of typing in BBC basic in a command line form most Editors nowadays look like Valhalla.



p.s. do you test out your models in Matlab or Maple? I’ve seen some impressive constructions using them.

I am getting a Raspberry pi whenever they end up sending it heh.

Lua is Lua, you can use the built in version most Linux distros come with (or just install it with their package managers like apt or yum.)

Emacs is what I use when I don’t have an IDE like Eclipse, Visual Studio, Xcode etc. Never could get used to VI’s crazy modes.

Codea contains all of Lua’s language features, but is missing some of the standard libraries, while adding a bunch of functions for doing graphics and 2d physics stuff.

(Codea within Codea was made by Simeon, the lead developer of Codea.)

After years of typing in BBC basic in a command line form most Editors nowadays look like Valhalla.

I can empathise with that!

do you test out your models in Matlab or Maple?

What models do you mean? My code for Codea? No, definitely not. Anything I need to do outside Codea is done on what would have been the back of an envelope but is now an annotation/note-taking iPad app.

I’ve never used Matlab. The last time I used Maple was about 1996. If I ever actually have to do anything approaching what they do, I use Octave, but mainly I use it to because I’m too lazy to do matrix multiplication by hand.

Wow. Sorry about my post. No clue what I was thinking. But what I was saying is that Moai is a great language built on Lua and has a lot of things similar to Codea, just called differently. And when I said visual editor, I meant a text editor that you can type in a line of code and it will run it when you tell it to. Like Codea. Ignore that post.

Hi Zoyt,

After you mentioned Moai I chased it up on the net. Do you mean the OS development package for development of games on OSx and Android?

Found at

My reading of it was that it is very similar to the Apple SDK system and is primarily based on Lua with C, C++ or C#. There’s a document library for it at:

So it may heavily depend on Lua. Plus, according to the literature, it has a broad library support for games. The other thing is it looks like it’s still beta and not yet available on Linux. One to watch.

Thanks for the info.



Just looked up Octave - I take it that it is the OS mathematics package.
We used Matlab to support our statistical processing models (such as modelling colour space) for our development work, but being a chemist I had to rely on our local experts.
My son used Matlab for his Maths degree at York Uni, and I got to play round with it. I’ve downloaded the app to play Maplets but haven’t had much chance to use it - nor am likely to understand much about it.


Really, to tell you the truth, Codea and Xcode are my favorite development environments, but the problem is I don’t know C, C++, or C# too well, so I’ll stick with Codea and my bluetooth keyboard. Moai just has some cool features that might be nice to have in Codea, but most of it is already written in a class or I’m writing it.

I want a Raspberry Pi, but I’m holding off for another couple of weeks to let the rush and launch-issues past (the ethernet thing is an example).

Codea is Lua with some really nice runtime libraries for things like graphics and physics. I am hoping Love2D will work on the Pi. We’ll see.

I’ll be using the One True IDE - vi.

I’m running Linux parallels right now, so I haven’t ordered one… Yet.

Here’s something I’m working on for the Raspberry Pi: Some friends are working on the hardware, I’m working with others on the API to make it easy to connect the Pi to physical stuff and integrate it into the Internet of Things. We plan for it be easy and fun for beginner and even non-programmers to pick up and learn fast. Needless to say, the fun you can have with Codea has been an inspiration, although we’re using Python and our API will look quite different to Codea’s.

I don’t have a Pi board yet, so we’re using Beaglebones in the meantime.

Hi Guys an’ Gals,

OK, first deliveries made and a few weeks to get your feet. So, anyone here got one yet? I read somewhere that the global demand was for 350,000. Don’t know how they satisfy that demand!!!

I’ve just set up an SD card with Debian on it in preparation for when mine arrives (think I’ll be on iPad 6 by then).

On new iPads - all you lucky guys with them, any truth in the overheating rumours (in the bottom left corner). Sounds like it’s worse when playing 3D games.



@Bri_G - Surprizingly, I notice it a little, but not that much. It’s a great bed warmer. Just joking. MacMall and MacConnection still have some in stock. That’s where I got mine. They also have no tax and free shipping. I love mine.

Myself and the guys at work are going to go into together on a shipment of them to save a bit of shipping cost once they allow multiple shipments.

At that time we may get one for work to experiment with using one as a virtual desktop terminal.

Speaking of work, they are nuts, they are getting a MacBook to do safari testing for one of our applications. So yea, I get access to a mostly unused Mac to play with the new runtime on.

I haven’t been around due to having less mental will after work recently. I’ve been doing mindless meditation with the tiny tower app.

I have yet to notice my ipad 3 get more than “slightly warm”. Certainly my Macbook Pro, running 3d Graphics (Diablo 3 Beta, w00t) can get blisteringly hot.

But to be fair, when I’m not doing Codea, I’m generally playing Hero Academy, Fairway golf, browsing the web, or email - none of those are powerhouse 3d things. Oh, plants versus zombies. Love me some PvZ.