[fpc-pascal] About FPC calling register like Delphi

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Jan 25 14:57:23 CET 2007


On 25 jan 2007, at 14:44, Alexandre Leclerc wrote:

> Are there plans to set the param-stack the same order as Delphi or
> will the actual code always stay like that?

There are plans to change it to be Delphi compatible.

> (I ask, because from different FPC release, ROPS always react
> differently. So I know some things are changing in FPC; but it does
> not give me the required stability to get a final patch to any
> problems.)

The problem is that you are extremely dependent on binary abi  
stability regarding how the compiler handles things internally. I  
don't think we will ever guarantee that this will become stable. The  
whole point of having a higher level language compiler is to free  
yourself from such things (and "yourself" includes the compiler  
writers themselves).

I understand that this is not true for the way ROPS has been  
implemented, but that is a (major) downside of implementing things at  
such a low level. No approach is without its downsides...


Jonas



More information about the fpc-pascal mailing list