Post Reply 
compiled or not?
12-15-2015, 01:50 PM (This post was last modified: 12-15-2015 01:51 PM by ji3m.)
Post: #6
RE: compiled or not?
The app is about 7300 lines of code. Currently about 80 variables are exported for debugging.
The program neednt export anything if that woukd help performance.

Ppl is the only tool since the program is an rpl interpreter for the prime itself.

I assumed ppl would compile to bytecodes or similar. But notwithstanding the polymorphic nature of variables, i assumed they would be compiled to an index into a global symbol table. But that would require a linking phase for all programs.

The most used variables are STK (the rpn stack list ) and SP (the rpn stack pointer).
These take about a millisec to access.

If i move STK and SP from the main app program to a tiny pgm access time is cut in half.

So it appears that the global table is searched first.

Yes PPL is a simple but pretty powerful language. The list handling is superior and i wouldn't attempted the project if wasn't so.

I work with android Prime only for now on my
Galaxy Tab Pro/Note 2
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
compiled or not? - ji3m - 12-15-2015, 12:41 AM
RE: compiled or not? - luisphysics - 12-15-2015, 02:26 AM
RE: compiled or not? - eried - 12-15-2015, 04:03 AM
RE: compiled or not? - hpfx - 12-15-2015, 07:02 AM
RE: compiled or not? - Wes Loewer - 12-17-2015, 03:39 PM
RE: compiled or not? - hpfx - 12-17-2015, 09:58 PM
RE: compiled or not? - Wes Loewer - 12-18-2015, 01:12 PM
RE: compiled or not? - hpfx - 12-18-2015, 05:15 PM
RE: compiled or not? - ji3m - 12-15-2015 01:50 PM
RE: compiled or not? - ji3m - 12-16-2015, 01:04 PM
RE: compiled or not? - ji3m - 12-18-2015, 07:27 PM
RE: compiled or not? - eried - 12-19-2015, 12:00 AM
RE: compiled or not? - ji3m - 12-19-2015, 05:08 AM



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