News for hackers. Stuff that matters.
Re:Codakido, Lua/SDL programming environment for Kids, with ... by antirez on Monday March 05, 2012 @01:38PM (#3667681)
Good point, I think I'll rename it, and extend it enough to make it more interesting than just drawing a few circles ;) good suggestion thanks.
Re:Codakido, Lua/SDL programming environment for Kids, with ... by seclorum on Monday March 05, 2012 @03:19PM (#3668174)
As a rabid fan of your project, some things I think it needs:

a) cloud storage - somewhere to stash Lua scripts and retrieve them for playback (See moai cloud for inspiration: http://getmoai.com/)

b) sound synthesis - not just .WAV playback, but real synthesis using a small but happy engine. (See sfxr for inspiration: http://www.drpetter.se/project_sfxr.html)

c) some sort of network/multiplayer integration - again, with the cloud, it'd be nice to be able to push messages out to a queue and get messages back

d) 3D primitives .. ermm .. maybe this is going a bit too far. Okay, instead of 3D, how about some .png loading and basic sprites management?

Actually, I guess I'm describing MOAI at this point, but yeah .. you're definitely on the right track! Maybe I should go pester the MOAI guys about making a code-editing IDE for MOAI, in MOAI .. ;)

Re:Codakido, Lua/SDL programming environment for Kids, with ... by antirez on Monday March 05, 2012 @04:23PM (#3668409)
Great stuff! And most are already in my TODO list indeed... The next weekend I'll hack on it a lot again to bring a few of this features.

But I would add another one:

e) Ability to write some kind of assembler or other low-level stuff interleaved with Lua, so that's possible to also do as-fast-as-ASM computations if needed.

I guess this should be a layer translating something like Z80 assembler into x86 code. You call Lua with a string containing the program, it gets translated, and executed. I guess it should not be entirely impossible to provide something that also compiles to something safe (that can't crash the Load81).

Thanks for the suggestions!

Re:Codakido, Lua/SDL programming environment for Kids, with ... by seclorum on Tuesday March 06, 2012 @05:15AM (#3670387)
Inline Assembly, eh? Hmm.. not sure I can get behind that one, given that I've mostly been running codakido on my ARM machines .. but I can certainly understand the desire.

For my purposes, Lua has been quite performant enough!

Well, anyway maybe its time I added some of these features (can't stop thinking about the synth feature!) and do a pull request ..

;)