[fpc-pascal] Re: FreePascal as an embedded language in Firebird: possible and desirable?

Jim hakkie42 at gmail.com
Tue Aug 9 17:04:52 CEST 2011


On 9-8-2011 16:39, Marco van de Voort wrote:
> In our previous episode, Jim said:
>> Firebird issue/feature request:
>> http://tracker.firebirdsql.org/browse/CORE-3571
>> FreePascal issue/feature request:
>> http://bugs.freepascal.org/view.php?id=19946
> 
> IMHO this FPC tracker item is totally open ended, and it is not clear what
> exactly is requested.  It is only an intention to do something with Firebird
> stored procedures and FPC, and not a concrete proposal or even a reference
> to something that has to be implemented.
> 
> Maybe it is more logical to wait till Firebird has a defined sandbox model
> for native languages ? This way it is just mantis ballast.
A couple of points:
1. Maybe the way the compiler is set up forces certain
restrictions/architecture on a sandbox model. It might be wise to get in
touch with the Firebird people first before they invent a round wheel
while we need an octagonal one.

2. The Firebird people might want to know which platforms FPC can run. I
don't know whether they intend to drop HP-UX, but that stood out as the
platform FPC doesn't cover yet.
Coordination on this might be useful, too.

3. If FPC/embedded is to work on Win64, I suppose bug
http://bugs.freepascal.org/view.php?id=17360
Firebird database exceptions don't generate EIBDatabaseError but a
general exception on 64 bit windows
will need to be fixed, so that could be set as related.

4. I just tried to open up communication and provide a way for both
sides to communicate and keep track of things.

However, please feel free to close/delete it if you think that's best.
After all, I just floated the idea, while I know perfectly well it's
unlikely my skills are not sufficient to do a lot of the work required.


-- 
Regards,

jb



More information about the fpc-pascal mailing list