From: Andrés Galluzzi (agalluzzi_at_gmx.net)
Date: Tue May 25 2004 - 07:17:50 PDT
Hi Brian:
I'm not (yet) a Newton Developer, but I think my programming
experience will help you (I work making Computer Systems every day).
Newtscript, as any script, is an interpreted language, so, you stay over a
lot of code that is the real core of the system and makes what you what with
that. Generally has many restrictions but in the most of the case, this kind
of programming is enough. I will suggest you thinking in Newtscript as in
AppleScript or VisualBasic (I don't develop here, but many people say me
that in interpreted language).
C++ is powerful, a big jaguar eating every little animal in his way. You are
not restricted with this language but with your hardware limitations. You
can really do almost everything that you want. The disadvantage is that
making some simple app you need to define an control a lot of things that
you may be don't want, and is very automated in Newtscript. C++ is the
language with witch many people write games.
ASM is the single operation on the processor. With ASM you control
everything, but here you go to a level of detail so close to the way the
processor works that you have to write every instruction the processor
process. I suggest you to use ASM in C++ code, to make some things that you
can't do in any other way or for optimization of code. A good Profiler will
help you detect where some optimizations will help to make you app faster.
Hope this helps you
Andy.
-----Mensaje original-----
De: newtontalk-bounce_at_newtontalk.net
[mailto:newtontalk-bounce_at_newtontalk.net] En nombre de Brian Uhreen
Enviado el: Martes, 25 de Mayo de 2004 10:17 a.m.
Para: newtontalk_at_newtontalk.net
Asunto: [NTLK] Programming question
Hi,
I have a question about programming applications for the newt: How do you
know whether to use newtscript or c++ or asm, etc.
Would it depend on the program you're trying to write, or what you're trying
to do etc? Is there any rule of thumb?
Brian
-- This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries Official Newton FAQ: http://www.chuma.org/newton/faq/ WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/
This archive was generated by hypermail 2.1.5 : Tue May 25 2004 - 07:30:02 PDT