[fpc-devel] RTTI interface & variant late binding issue (mORMot)

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Feb 7 12:14:05 CET 2015


On 07/02/15 11:58, Florian Klämpfl wrote:
> Just an idea: What about serializing TCGPara/TCGParalocation?

The main issue I see with that is that this format changes from time to
time. I'll probably have to change it again to fully support the ppc64le
ABI.

To me, the optimal solution would be to simply use libffi (you would
only need logic to translate the rtti for the parameter types to libffi
format, and it would automagically work for all platforms), but since
that's an external dependency I guess that's not acceptable. I'm however
definitely not looking forward to reimplementing parameter
passing/loading and calling routines for all platforms again inside the rtl.


Jonas



More information about the fpc-devel mailing list