Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do certain languages have intrinsic processor architectures by-design

I'm curious to know if certain languages are, by design, better suited for certain processor architectures. When I say architectures, I don't mean ARM/PPC/MIPS but more stack, accumulator, or register based architectures.

For example, I can think of Forth, which is a stack architecture. Any others?

like image 849
sybreon Avatar asked Dec 17 '22 07:12

sybreon


1 Answers

Yes, definitely... it goes the other way as well: many hardware architectures are designed to accommodate certain languages.

  • RISC architectures are very much an answer to that people moved from assembly to compiled languages like C/C++.
  • Burroughs B5000 had Algol instead of assembler.
  • There are several different Forth chips.
  • Lisp machines were designed to run Lisp efficiently.
  • Java processors run Java bytecode in hardware.
  • Some ARM processors have (optional) Java acceleration technology.

Probably many more good examples are available.

like image 180
Johan Kotlinski Avatar answered Dec 19 '22 21:12

Johan Kotlinski