Post Reply 
Pascal language for HP49-50
11-20-2020, 11:20 PM
Post: #15
RE: Pascal language for HP49-50
(11-20-2020 07:37 PM)pier4r Wrote:  This to say that the 50g can understand something else if there are libraries for it. Any other capable computing system is similar, in the way that it needs libraries/programs to understand other languages (and yes everyone knows that at the end of the chain all of it will be some sort of assembly code for ARM on the HP 50g).

A library can expand the translation of a language, but the tool with which it was created is always decisive for the quality of the machine code, no matter which high-level language is involved. Cross-compilers like GCC can also generate executable code in the same way, the compilation of GCC is thus the machine code of a typical C-compiler. But the generated code is ultimately always a compromise between the extended instruction set of any high-level language and that which is permanently installed in the calculator. External code optimization can improve the quality of the compilation, but it is in no way equal to the quality of natively created machine code. This can only be surpassed with hand-optimized assembler code.

The truth is, there is no Pascal compiler for the HP 49 or 50g, not without external tools or libraries that do a translation that is processed by a non-language compiler, and that's principally a foul compromise in its nature. The GCC in particular is famous for such applications, which all have one thing in common, inefficient, lousy code!
__________________________________
"Move forward and do what you think is best. If you make a mistake, you’ll learn something. But don’t make the same mistake twice." - Akio Morita
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Pascal language for HP49-50 - Gilles - 11-17-2020, 10:42 PM
RE: Pascal language for HP49-50 - Gilles - 11-18-2020, 05:39 PM
RE: Pascal language for HP49-50 - OtakuLab - 11-20-2020, 08:40 AM
RE: Pascal language for HP49-50 - cruff - 11-20-2020, 02:42 PM
RE: Pascal language for HP49-50 - pier4r - 11-20-2020, 07:37 PM
RE: Pascal language for HP49-50 - OtakuLab - 11-20-2020 11:20 PM
RE: Pascal language for HP49-50 - pier4r - 11-22-2020, 08:30 PM
RE: Pascal language for HP49-50 - OtakuLab - 11-23-2020, 12:02 AM
RE: Pascal language for HP49-50 - rwiker - 11-23-2020, 06:04 AM
RE: Pascal language for HP49-50 - OtakuLab - 11-24-2020, 08:37 AM
RE: Pascal language for HP49-50 - cruff - 11-24-2020, 02:06 PM
RE: Pascal language for HP49-50 - ldesnogu - 11-24-2020, 06:24 PM
RE: Pascal language for HP49-50 - pier4r - 11-24-2020, 06:20 PM
RE: Pascal language for HP49-50 - grsbanks - 11-20-2020, 03:46 PM



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