Post Reply 
newRPL third demo released
08-26-2014, 04:37 PM
Post: #11
RE: newRPL third demo released
(08-25-2014 08:15 AM)Ailurus Wrote:  Will it be possible to write programs in C like HPGCC?

The core can be extended by adding libraries. Libraries have to be written in C, so the answer is yes, you can create custom libraries in C (for now you need to compile into the ROM, later at some point you'll be able to use from an SD card). I haven't decided how to link user libraries yet, so don't expect an SDK anytime soon.
As far as running arbitrary C code from the stack (as in load a binary executable from the SD card and run it, without making a library), it should be doable once loadable user libraries are done.
Now these will be very special executable files, designed to run on limited resources and without a general C library. So as far as porting existing programs, it won't be easy. You won't even have malloc/free, you'll have to get memory from TEMPOB (and deal with the possibility that memory might move during GC!). You can't use doubles, you'd have to use calculator reals, etc.

Then there will be some sort of userRPL libraries too, but it is still unclear how they will work.

Claudio
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
newRPL third demo released - Claudio L. - 08-09-2014, 02:10 AM
RE: newRPL third demo released - jwm - 08-09-2014, 11:18 PM
RE: newRPL third demo released - Ailurus - 08-25-2014, 08:15 AM
RE: newRPL third demo released - Claudio L. - 08-26-2014 04:37 PM
RE: newRPL third demo released - Ailurus - 08-29-2014, 06:24 AM
RE: newRPL third demo released - Tugdual - 08-30-2014, 07:36 AM
RE: newRPL third demo released - BruceH - 08-29-2014, 08:59 PM
RE: newRPL third demo released - BruceH - 09-03-2014, 09:50 PM



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