D
Don Y
Guest
On 2/23/2023 11:00 AM, Wanderer wrote:
Some languages are interpreted; one can port the interpreter to
a new architecture relatively easily.
Even compiled and JIT\'ed languages tend to support most *popular*
processors (and the number of processor variants seems to be
DEcreasing, over time). There are other costs associated with
\"fringe\" processors!
IME, you want to avoid (or wrap in some abstraction) any processor/vendor
specific hooks esp if you may want to reuse the code on some other
platform. This, of course, is the biggest argument against ASM
(I have the \"same\" code running on SPARC, x86 and ARM; had much of
it been written in ASM, that would have been a herculean task!)
For embedded programming? What choice do you have? Unless you\'re planning to
write your own compiler, you use the available compilers for the IC and you
learn the embedded IC\'s dialect for that language.
Some languages are interpreted; one can port the interpreter to
a new architecture relatively easily.
Even compiled and JIT\'ed languages tend to support most *popular*
processors (and the number of processor variants seems to be
DEcreasing, over time). There are other costs associated with
\"fringe\" processors!
IME, you want to avoid (or wrap in some abstraction) any processor/vendor
specific hooks esp if you may want to reuse the code on some other
platform. This, of course, is the biggest argument against ASM
(I have the \"same\" code running on SPARC, x86 and ARM; had much of
it been written in ASM, that would have been a herculean task!)