Does Monkey support databases, threading?

Monkey Forums/Monkey Beginners/Does Monkey support databases, threading?

zardon(Posted 2014) [#1]
Hello there

I'm wondering if Monkey supports databases and how it works cross-platform?

Can I hook Monkey into Core Data? (I really don't want to as its complex as it is)
Can I use SQLite or HTML5 Databases like local storage

I read on one thread to use local flat files, like JSON or something similar; but I'm afraid I won't be able to do this as the files will be very large with data and might slow the app down to a crawl.

Further, can I do threading in monkey? In Obj C I can run something in background, or with grand dispatch; but I'm not familar with Monkey's ability to do something similar.

Many thanks


Gerry Quinn(Posted 2014) [#2]
Can't answer the database question, but there is no threading in Monkey. You would have to make something in the native target to do it.


Paul - Taiphoz(Posted 2014) [#3]
Not tried to use it but Diddy has a threading module. don't know much about it but its worth having a look at to see if it does what you need.


AdamRedwoods(Posted 2014) [#4]
there are incomplete threading modules in the monkey core, and diddy's does not cover all targets. overall, NO GARBAGE COLLECTION is available on new threads, that means do not create or destroy objects other than primitive types (int,float,boolean).

here was my attempt at simple threading:
http://monkeycoder.co.nz/Community/posts.php?topic=6043

there is a sql module written, but it too does not cover all targets.
http://monkeycoder.co.nz/Community/posts.php?topic=4710

here is a miniSql module, but I know little about it:
http://monkeycoder.co.nz/Community/posts.php?topic=5303


zardon(Posted 2014) [#5]
Many thanks!!