Memory

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
alexransome
Posts: 13
Joined: Fri May 17, 2013 9:32 am

Memory

Post by alexransome » Fri May 17, 2013 9:57 am

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.

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Memory

Post by shaosean » Fri May 17, 2013 10:32 am

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)..

alexransome
Posts: 13
Joined: Fri May 17, 2013 9:32 am

Re: Memory

Post by alexransome » Fri May 17, 2013 10:55 am

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.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10305
Joined: Wed May 06, 2009 2:28 pm

Re: Memory

Post by dunbarx » Fri May 17, 2013 2:10 pm

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

Post Reply