Post Reply 
HP Prime Beta Firmware Version 2.2 Revision 15008
08-26-2024, 07:27 AM (This post was last modified: 08-26-2024 07:28 AM by parisse.)
Post: #94
RE: HP Prime Beta Firmware Version 2.2 Revision 15008
(08-24-2024 11:33 AM)CheshireChris Wrote:  
(08-24-2024 06:16 AM)parisse Wrote:  Unlike with languages like Julia, Python programs are not compiled at runtime.

There's an interesting article on the subject here:

https://eddieantonio.ca/blog/2023/10/25/...-language/

Well worth reading.
This just make more confusion for newbies. Most interpreters will parse the whole source code and some will write bytecode, but that's not compilation like C or Julia does, at the end of the process you do not have native code that can be run by the CPU once loaded, bytecode can not be run without the help of a VM (virtual machine), and it will therefore be slower than native code (2* to 10* or more).
BTW, MicroPython can issue ARM code (compiled code), but this is not enabled in all calculator brands having a MicroPython implementation.
Julia has one interesting feature, it will compile native code optimized for the CPU you are running on, something that is harder to do with a C compiler. The downsize is that the first time you run your program, you will have to wait the end of compilation, but if you have large computations, it's a really nice feature.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP Prime Beta Firmware Version 2.2 Revision 15008 - parisse - 08-26-2024 07:27 AM



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