Skybuck Flying
2014-09-17 02:35:58 UTC
Hello,
One of Delphi's biggest disadventages is lack of platform/hardware/chip
support. Delphi can only be used on the chips/instruction sets that it was
designed for.
Unlike C/C++ which has more platform/chip/hardware support.
This is also one of the features of it's main competitor: FreePascal.
My idea for Delphi is to open-up the backend of Delphi a little bit so that
Delphi becomes a little bit like macro language or assembler generating
language.
It should become possible for Delphi programmers to use all the great Delphi
tools like the IDE, Frameworks, GUI Designers, Parser, Perhaps even
Modified/Extended Debugger/Hint/Warning Messaging system, but still be able
to generate instructions for different hardware.
C/C++ already has a feature similiar to this idea: It's macro language,
which can be used to generate assembler instructions, which is a bit more
powerfull than just inlined assembler instructions.
I would probably prefer something that is easy to use and learn for example
something special, like passing parameters to "abstract" "for loop
constructs" and other constructs.
Writing a back-end is probably not easy, but any kind of help how to do it
in a standardized way would be very cool.
This would be a little bit similiar to "generics" and the TParallel.ForAll
construct or something like that. So a bit more "free programming" language,
a bit like a "meta-programming language". The language itself doesn't
directly generate instructions, but instead helps the programmer to do so
for a custom instruction set, which could even be virtual/experimental.
The biggest adventage is re-using the Delphi parser and language itself.
Anyway, this could solve one of Delphi's biggest fears: being stuck on a
platform which is no longer used, or lack of new emerging platforms.
Delphi's creator haven taken on the task of creating such backends for
populair platforms. It's a bit of their territorium so to speak, there turf.
However I think Delphi's tool in general is complex enough for some room to
make the backend a bit more open and programmable or configurable.
If this is in their commercial interest is up to them to decide. Personally
I think this could make Delphi very populair perhaps even as populair as
C/C++ or maybe even beyond that if it gets lots of platform support created
by hobbists or perhaps even third party companies.
Perhaps the debugger could also be modified in such a way that it can handle
plugged-in instruction sets or so.
All-in-all an idea worthy to consider I think ;)
Perhaps it will make it also easier for other companies to plug in their
specific hardware platforms into delphi's compiler/tool framework and such.
Bye,
Skybuck.
One of Delphi's biggest disadventages is lack of platform/hardware/chip
support. Delphi can only be used on the chips/instruction sets that it was
designed for.
Unlike C/C++ which has more platform/chip/hardware support.
This is also one of the features of it's main competitor: FreePascal.
My idea for Delphi is to open-up the backend of Delphi a little bit so that
Delphi becomes a little bit like macro language or assembler generating
language.
It should become possible for Delphi programmers to use all the great Delphi
tools like the IDE, Frameworks, GUI Designers, Parser, Perhaps even
Modified/Extended Debugger/Hint/Warning Messaging system, but still be able
to generate instructions for different hardware.
C/C++ already has a feature similiar to this idea: It's macro language,
which can be used to generate assembler instructions, which is a bit more
powerfull than just inlined assembler instructions.
I would probably prefer something that is easy to use and learn for example
something special, like passing parameters to "abstract" "for loop
constructs" and other constructs.
Writing a back-end is probably not easy, but any kind of help how to do it
in a standardized way would be very cool.
This would be a little bit similiar to "generics" and the TParallel.ForAll
construct or something like that. So a bit more "free programming" language,
a bit like a "meta-programming language". The language itself doesn't
directly generate instructions, but instead helps the programmer to do so
for a custom instruction set, which could even be virtual/experimental.
The biggest adventage is re-using the Delphi parser and language itself.
Anyway, this could solve one of Delphi's biggest fears: being stuck on a
platform which is no longer used, or lack of new emerging platforms.
Delphi's creator haven taken on the task of creating such backends for
populair platforms. It's a bit of their territorium so to speak, there turf.
However I think Delphi's tool in general is complex enough for some room to
make the backend a bit more open and programmable or configurable.
If this is in their commercial interest is up to them to decide. Personally
I think this could make Delphi very populair perhaps even as populair as
C/C++ or maybe even beyond that if it gets lots of platform support created
by hobbists or perhaps even third party companies.
Perhaps the debugger could also be modified in such a way that it can handle
plugged-in instruction sets or so.
All-in-all an idea worthy to consider I think ;)
Perhaps it will make it also easier for other companies to plug in their
specific hardware platforms into delphi's compiler/tool framework and such.
Bye,
Skybuck.