Recent

Author Topic: Advanced virtual processor  (Read 2733 times)

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 1315
Advanced virtual processor
« on: September 13, 2016, 12:04:30 am »
Today, many programming languages/platforms define a virtual processor/platform. And they all design something that could have existed 40 years ago.

And, the interesting part of it is, that it is virtual. There is no requirement that it should be possible to make a chip that can do it.


I think, that data sources and communication are far more important than things like RAM and registers. And all output should be 3D, for me.


Anyway, I was wondering what how guys think about this.

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1222
    • Burdjia
Re: Advanced virtual processor
« Reply #1 on: September 13, 2016, 10:38:55 am »
Not sure what are you asking for so I'll guess.

AFAIK FPC supports Java VM and also LLVM (or was it under development?).
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

Thaddy

  • Hero Member
  • *****
  • Posts: 18783
  • To Europe: simply sell USA bonds: dollar collapses
Re: Advanced virtual processor
« Reply #2 on: September 13, 2016, 11:08:09 am »
Well, the FreePascal core developers made the decision to change to more or less what you describe in FPC 1.9.
FPC uses a high-level abstraction to serve many platforms in a uniform way. In effect this is a "virtual processor" platform, if that is what you mean?
You may want to study how FPC can serve so many processors and platforms by looking at the high-level code generator part of the compiler sources.
Basically it is based around a concept of virtual registers and real code generation for real cpu's is built on top of that.

BTW: This was way before LLVM and the likes....or even before such a platform became mainstream.
In effect, the high-level codegenerator is a virtual processor! I think this answers your question.
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

 

TinyPortal © 2005-2018