Hi,
I've been reading through LiveCode Mobile Dev and have not come across how memory is dealt with.
I'm learning LiveCode as a hobby, a guy I work with has been "coding" for 20+ years. I showed him LiveCode and we had a chat about Variables as a chunk of text I had read from the book explained how Variables worked and how they relate to LiveCode, which is the same across other programming methods. But then the guy I work with started talking about memory addressing, global and local Variables (that bit I wasn't so scared of), but the whole memory thing put the fear of God into me.
I just want to make some apps and a tonne of money (LOL!!!).
Any comments about the way LiveCode deals with memory when the Apps have been compiled or am I just WAY off the mark.
Memory
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Memory
Memory management is handled by the engine and is not anything you really will ever deal with (unless you write externals).. Everything that is in a stack file gets loaded in to the available memory, which is about the only thing to keep in mind for mobile devices (mind you, the new devices do have a lot of memory nowadays)..
-
- Posts: 13
- Joined: Fri May 17, 2013 9:32 am
Re: Memory
Thanks for the reply ...
So an app is a complete package. Everything that can be used is loaded into memory, whereas the other way only the things that are being used is loaded into memory.
So an app is a complete package. Everything that can be used is loaded into memory, whereas the other way only the things that are being used is loaded into memory.
Re: Memory
Welcome to the xTalk world, where all the under-the-hood stuff is managed invisibly by the engine. As a hobbyist, you have found the perfect authoring environment in LC. Write back with any and all questions. You will have many, and that is a good thing.
Craig Newman
Craig Newman