Does the HP Prime really compiles the user programs?
#1

https://www.youtube.com/watch?v=rAyB-dpQCL4


Edited: 13 Dec 2013, 7:23 a.m.

#2

Yes, it does. Any time you modify the program, it will recompile it. This includes exiting the program editor, or using the CHECK button. There is a header that contains names and argument info of exported variables (so the system doesn't need to parse every program to know the names of those for use), a source code area, and a pointer to compiled program.

A non-valid source file will not generate header information.

On runtime, the header information is used to allow usage of the exported functions or variables. If one of the functions is called and there is no compiled version available, it will compile and then execute. Else it just executes.

On a fresh boot, there will be no valid compiled pointers, but the header information is still there.

Glad he came to the conclusion - "Yes". :-)

TW

Edited: 13 Dec 2013, 10:55 a.m.

#3

The material is presented in horribly ineffective manner. Rapid-fire presentation, in the company of very distracting musical noise, is never an intelligent didactic technique.

#4

One thing for sure, compiling is really fast. When compiling a TI-83 ASM program (Hello World, for example) with TASM on my Intel Celeron 2.9 GHz a few years ago, it took about 4 seconds.



Possibly Related Threads…
Thread Author Replies Views Last Post
  HP 50g switching two keys in the user keyboard Sean Freeman 9 3,875 12-05-2013, 11:44 AM
Last Post: Mark Puscas
  HP Prime: Lists in programs Alberto Candel 7 3,457 12-04-2013, 02:16 AM
Last Post: Alberto Candel
  HP Prime: FLOOR, iPart , and their use in programs Alberto Candel 6 2,555 12-01-2013, 10:17 PM
Last Post: Alberto Candel
  HP Prime: matrices in programs, in need of help Alberto Candel 9 3,178 11-26-2013, 01:33 AM
Last Post: cyrille de Brébisson
  HP Prime: password protection for programs Davi Ribeiro de Oliveira 2 1,567 11-22-2013, 12:45 PM
Last Post: Geoff Quickfall
  Prime: Scope of Variable and functions within programs Thomas Chrapkiewicz 9 3,252 11-18-2013, 03:39 PM
Last Post: Thomas Chrapkiewicz
  Question about transfering programs to the HP Prime Namir 10 3,324 11-17-2013, 04:01 PM
Last Post: Namir
  [Download] PrimeComm: Alternative small utility to upload/download programs to the HP Prime Erwin Ried 6 2,479 11-17-2013, 10:18 AM
Last Post: Erwin Ried
  HP Prime: do not send programs and shuts down by pressing Apps Davi Ribeiro de Oliveira 1 1,334 11-12-2013, 11:05 AM
Last Post: Joseph Ec
  HP Prime - User manual lack bluesun08 6 2,535 11-08-2013, 05:38 PM
Last Post: bluesun08

Forum Jump: