After several months of hard work, here is finally the release of version 1.5.0 of LuaRT !
A new page turns because this new version comes with significant changes to the codebase:
- Visual C++ is now the default compiler, also used to compile binary versions for x86 and x64
- Asynchronous programming is now greatly facilitated by a thin layer around Lua coroutines: the Task object
- An integrated scheduler allowing to launch tasks, to suspend them
- Global functions to launch and wait for the end of a task (
async()
and await()
)
- The concept of
Task.after
property which allows to execute a function once the task is finished
- Several modules have been updated to be able to benefit from these features (the
ui
module with in particular the ui.run()
function, the net
module which has been completely reworked with highly anticipated features...)
And of course, this version comes with its share of bugfixes and updates, such as the ability to define the RTL layout of desktop applications, or a new module to interface with SQLite databases, or to be able to manipulate widgets with QuickRT (try it, it's quite satisfying!)
I'm on vacation tonight, and I'll be away from the keyboard for several days, so I hope this release goes well.
I didn't have time to update the rtc, LuaRT Studio and QuickRT repositories and will do so as soon as I get back.
I sincerely hope you enjoy all of this.
Sincerely,
Samir