Post Reply 
C compiler
09-12-2015, 04:41 PM
Post: #4
RE: C compiler
Quote:I've done programming on TI calculators in the past and ran into problems with them not running fast enough. I was able to speed them up by using vector operations by adding lists of numbers, etc, etc.. but to get true speedups I needed to use C or assembler.
Yeah, replacing an O(n^2) BASIC implementation of Aitken's delta^2 algorithm by a O(n) implementation in C provided a nice speed boost for me, on the only real math program I did for the TI-68k/AMS platform. The BASIC implementation could probably have been written differently to use a slightly lower complexity, though.

Getting native code running from within the Prime's standard OS might not even be that hard: crashes and various semi-reproducible occurrences of incorrect behaviour which tends to go away, or change after a reboot (often a sign of memory corruption) galore in the OS, though less so nowadays than a couple years ago. But arbitrary native code execution from within the Prime's standard OS is considered a strong no-no here Wink

Quote:BTW, I was looking at the formats of the files in the binary distribution from HP. There is one (the app.dat one) that I was able to mount as a fat16 format, and it contained winCE dlls!!! What are these used for? Do these go into the prime? Then the master.dat file isn't any known disk format.... hard to figure out much from that.
You're rediscovering some information available from https://tiplanet.org/hpwiki/index.php?title=HP_Prime for over a year Wink
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
C compiler - webmasterpdx - 09-12-2015, 06:35 AM
RE: C compiler - debrouxl - 09-12-2015, 09:44 AM
RE: C compiler - webmasterpdx - 09-12-2015, 03:52 PM
RE: C compiler - debrouxl - 09-12-2015 04:41 PM
RE: C compiler - webmasterpdx - 09-12-2015, 05:38 PM
RE: C compiler - Tim Wessman - 09-12-2015, 07:19 PM
RE: C compiler - webmasterpdx - 09-13-2015, 02:06 AM
RE: C compiler - Adriweb - 09-13-2015, 03:30 AM
RE: C compiler - Sukiari - 09-24-2015, 08:01 AM
RE: C compiler - xset - 09-24-2015, 08:55 AM
RE: C compiler - xset - 09-15-2015, 06:50 AM
RE: C compiler - eried - 09-15-2015, 01:36 PM
RE: C compiler - xset - 09-18-2015, 11:35 AM
RE: C compiler - webmasterpdx - 09-13-2015, 04:43 AM
RE: C compiler - AHelper - 09-13-2015, 05:20 AM
RE: C compiler - webmasterpdx - 09-13-2015, 05:12 AM
RE: C compiler - debrouxl - 09-13-2015, 06:39 AM
RE: C compiler - webmasterpdx - 09-13-2015, 07:10 AM
RE: C compiler - webmasterpdx - 09-13-2015, 07:21 AM
RE: C compiler - cyrille de brébisson - 09-14-2015, 05:45 AM
RE: C compiler - Claudio L. - 09-15-2015, 06:14 PM
RE: C compiler - webmasterpdx - 09-14-2015, 05:58 AM
RE: C compiler - Tim Wessman - 09-14-2015, 03:11 PM
RE: C compiler - webmasterpdx - 09-14-2015, 06:34 AM
RE: C compiler - webmasterpdx - 09-14-2015, 04:08 PM
RE: C compiler - Claudio L. - 09-15-2015, 05:50 PM
RE: C compiler - webmasterpdx - 09-15-2015, 06:27 PM
RE: C compiler - matthiaspaul - 09-18-2015, 08:10 PM
RE: C compiler - webmasterpdx - 09-15-2015, 11:45 AM
RE: C compiler - webmasterpdx - 09-15-2015, 06:26 PM
RE: C compiler - Dwight Sturrock - 09-18-2015, 09:43 PM
RE: C compiler - webmasterpdx - 09-19-2015, 03:10 AM



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