aldweb

Fermer I. aldweb

Fermer II. Gratuitiels PC

Fermer III. Gratuitiels Palm

Fermer IV. Partagiciels Palm

Fermer V. iziBasic Palm

Fermer VI. Connaissance Palm

Fermer VII. Ordinateur Poche

Fermer VIII. miniPortail

Spécial !



Version mobile
de l'aldweb Site

m.aldweb.com


Ni Français, ni Anglais ?

Essayez donc l'un de ces drapeaux :
[de] [es] [it] [pt]
Recherche




Météo / Spam / www

Météo Lyon


aldweb contre le SPAM


Newsletter
Pour avoir des nouvelles de ce site, inscrivez-vous à notre Newsletter.
S'abonner
Se désabonner
298 Abonnés
Sites web de la famille

Webmaster - Infos
News Amis
Visites

   visiteurs

   visiteurs en ligne

Sondage
Comment trouve-tu le nouvel habillage de l'aldweb Site ?
 
Superbe !
Joli
Moyen
Moche...
Résultats
forum.gifForum - iziBasic - Sujet n°1363

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

actif  Sujet n° 1363  is izibasic 68k or ARM

le 14/02/2006 @ 22:19
par Vladimir Atehortua

Anonyme



From reading the izibasic docs that came with the trial, I understand that it compiles the basic source into some kind of bytecode or parse tree, that is then interpreted by an izibasic runtime... pretty much the way python or VB work on PC's.

I also know that on Palm OS 5, all programscompiled for 68k run under an emulator provided by the OS, and canoot then be as fast as newer programs build for native ARM.

Then I read that izibasic is made using PP (Pascal Parlm) which is a compiler capable of generiating both 68k and ARM native code.

since the trial only contains 1 prc (which then I have to assume is 68k code) I have to ask: ¿is Izibasic (compiler and runtime VM) native ARM binary, or 68k?

And if it is 68k only, may I ask why.

I'm not an izibasic user yet, I just happened to read NSbasic and their claims to have dramatic speed increases with palm os 5, and I'd like to know if izibasic is either native arm, or there is room to hope it will one day be
  Poster une réponse  Haut

[]   


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1
--------
le 15/02/2006 @ 14:47
par aldweb

Anonyme

visiteur
Hello Vladimir,

iziBasic is compiled in 68k code.

It is 68k only because coding in ARM or 68k is not the same thing at all.
Palm clearly recommends to code in ARM only the pieces of the software that need real speed.
Furthermore, in PalmOS5, ARM modules are closely linked to 68k modules and are so called "ARMlets". Then, there is no real "ARM native" in PalmOS5.

So, there would be a huge work to switch iziBasic to an architecture mixing 68k and "ARMlets".
And I don't believe that it is worth doing it. Let me explain why:
1. most applications do not need speed, most of the time is spent waiting for a user input on a GUI form
2. if you need speed at one stage (calculation routine), you may still call a so called "ARM PP applet" from the iziBasic main code.

And, PP is being written back from scratch to provide a "full native ARM" compiler. I am waiting for this version to eventually switch iziBasic to ARM.

Cheers,
aldweb
Ecrire à aldweb   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2
--------
le 15/02/2006 @ 21:41
par Vladimir Atehortua

Anonyme

visiteur
I've just read Pierre Brothier's tutorial for armlets.

I have Garnet 5.4, and I've read in many places that its not true that all palm apps have to be 68k with armlets. The arguments I've read pinpoint applications on the LifeDrive, which when you use them, evidently are not part of the OS, but are not 68k pace emulated code either (multimedia video apps particularly).

PP would have then to become a "full native ARM" compiler and use a newer toolset/API for garnet, because as you said it doesnt make sense to turn izibasic into armlets.

Lets hope what you are waiting for does indeed happen.

Its not like izibasic is any slow tho, its more like a matter of confidence in the future when considering to choose it for future development.
  Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 3
--------
le 16/02/2006 @ 21:30
par Pierre

Anonyme

visiteur
Good evening and bonsoir Vladimir,

I am partially right with you.

90% of the Palm apps do not need ARM programmation as they are essentialy interactive : you spend more times to interpret ( or modify) the displayed data than the Palm needs to calculate and format them. Anyway 'if you can the more, you can the less'. If your compiler is able to generate ARM code you do not have to take care for optimization because you will get systematically the fastest code possible.

I think that the most important, for a 'Palm' compiler,is not to generate 68k or ARM code, but it's to carrefully follow the PalmOS specs (there were only a few crashes when Palm came from the 68X to the ARM processors). The warnings about the 68k code has been send in order to limit some 'exotic' code that may cause crashes because of the OS/processor updates (remember the Hacks)

As far as I am concerned, the easiest way to develop mixed (or not) 68k/ARM apps with PP, is to have a minimal 'main' calling an armlet with a dummy parameter. There is absolutely (...) no difference when you write/type your source when you are into the '68k' or the 'ARM' world : you call the same API routines, and the PP Pascal is ISO either in 68k and ARM modes.

For me the only difference btw a 'standart 68k PP app with armlet' or the future 'native ARM PP app' will be the ARM/ASM coded routines (because Philippe Guillot is a master when programming). 90% of the PalmOS apps does not need ARM, but the last 10 % and the Philippe's pleasure (as PP 68k/armlet seems to be very stable) are very important.

Pierre (Brothier), with his red wine glass.
Ecrire à Pierre   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 4
--------
le 19/02/2006 @ 18:37
par aldweb

Anonyme

visiteur
Hello,

Anyway 'if you can the more, you can the less'. If your compiler is able to generate ARM code you do not have to take care for optimization because you will get systematically the fastest code possible.

I can only agree with that. But this is also how people become lazy and code badly, not optimizing anything. The constraints of Palm programming are muh less already than they used to be before, and this is why I liked this platform for my hobby coding

Cheers,
aldweb
Ecrire à aldweb   Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter
[]
Catégories de discussion  Forum 



 
^ Haut ^