Hacker News new | ask | show | jobs
by vvanders 3648 days ago
I highly recommend giving Lua a try, it's a simple yet powerful little language(metatables, coroutines!) that embeds incredibly easily and has great performance.

Way back on the PSP we use to run our whole game logic with Lua in a 400kb pre-allocated block. You only had 8mb of system ram since 24mb went to texture/audio and it really worked great. Coroutines are also a perfect fit for try-wait-try logic you get in a lot of AI routines.