Post Reply 
You've Got Mail.........DM42L
03-21-2016, 03:09 AM
Post: #51
RE: You've Got Mail.........DM42L
(03-20-2016 10:48 PM)Paul Dale Wrote:  
(03-20-2016 05:23 PM)Thomas Okken Wrote:  In any case, Free42 uses RAM at about twice the rate of the 42S, because variables take up 16 bytes instead of 8, programs are stored in a less compact format, and system overhead is larger.

Thomas, any idea as to the effort require to make Free42 memory use more compatible with an embedded system? Not so much the extra RAM uses mentioned above, which aren't a major issue. More the freer allocation/freeing of RAM and the possible fragmentation risk.

- Pauli

Hi Pauli,

I'm not sure what you mean by "freer allocation/freeing of RAM" (garbage collection maybe?), but as far as fragmentation is concerned, that wouldn't be difficult to deal with in an embedded environment.

The only functions called by the Free42 core that aren't in the Free42 shell are malloc(3), realloc(3), and free(3). With a bit of C++ magic, those could all be overloaded to use movable memory blocks, and because the Free42 core is single-threaded, that wouldn't require any code changes to lock and unlock those memory blocks.

This wouldn't be something you could do in an afternoon or a weekend, but it shouldn't be a major rewrite either.

- Thomas
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
You've Got Mail.........DM42L - d b - 02-19-2016, 09:38 PM
RE: You've Got Mail.........DM42L - JimP - 02-19-2016, 09:50 PM
RE: You've Got Mail.........DM42L - d b - 02-19-2016, 10:24 PM
RE: You've Got Mail.........DM42L - Thomas Okken - 03-21-2016 03:09 AM
RE: You've Got Mail.........DM42L - Werner - 02-20-2016, 12:53 PM
RE: You've Got Mail.........DM42L - Werner - 02-23-2016, 07:02 AM
RE: You've Got Mail.........DM42L - Werner - 02-23-2016, 10:08 AM
RE: You've Got Mail.........DM42L - Werner - 02-23-2016, 10:53 AM
RE: You've Got Mail.........DM42L - Werner - 02-23-2016, 11:47 AM
RE: You've Got Mail.........DM42L - Werner - 02-24-2016, 08:17 AM
RE: You've Got Mail.........DM42L - Vtile - 03-21-2016, 02:41 AM
RE: You've Got Mail.........DM42L - JeffJ - 05-12-2016, 06:45 PM
RE: You've Got Mail.........DM42L - JeffJ - 08-25-2016, 05:54 PM
RE: You've Got Mail.........DM42L - vido - 08-26-2016, 06:44 PM
RE: You've Got Mail.........DM42L - tycho - 09-03-2016, 10:02 PM
RE: You've Got Mail.........DM42L - vido - 09-03-2016, 10:20 PM
RE: You've Got Mail.........DM42L - tycho - 09-04-2016, 11:15 AM
RE: You've Got Mail.........DM42L - tycho - 09-05-2016, 01:40 PM
RE: You've Got Mail.........DM42L - Otto55 - 11-05-2016, 10:40 PM
RE: You've Got Mail.........DM42L - Jlouis - 11-20-2016, 02:08 AM



User(s) browsing this thread: 1 Guest(s)