Hi,
I'm currently evaluating the possibility to use Linux for our applications in some cases. Our applications are written in OP (Delphi) and I've had a quick look at gpc and fpc. Well, the area where I imagine using Linux are server applications, and I hope to find a solution to use (widely) the same code-base for the NT-version and the Linux-version. Since these applications usually don't have a GUI, the visual part of the VCL is not the problem. And other parts can be easily ported. Anyway, I've read that GPC's focus is on portability. That's great. But I see no reason not to support the non-windows specific things. I know, OP is not based on a standard like Extended Pascal, /but/ I think OP /is/ the standard, because I can't imagine that any other Pascal-dialect is that widely used. Anyway, I've not check GPC very deeply, yet, so some of my statements might be wrong. Ok, here is what I'd like to see:
- Compatibility with OP (Delphi) as far as possible w/o leaving the portabil ity-track. (Beside some features like message-handler-methods, there should not be much) - Exception handling - OP-style object-model - OP-style strings (reference-counted or not)
However, IMO it is great, that Pascal is going to be supported in the UNIX-world. It is a under-estimated langugage (esp. OP), IMO.
Andreas
Hello!
According to Andreas Prucha [helicon]:
[...] I know, OP is not based on a standard like Extended Pascal, /but/ I think OP /is/ the standard, because I can't imagine that any other Pascal-dialect is that widely used.
Correct.
There is a draft for an ANSI Object Pascal standard; see http://pascal-central.com/OOE-stds.html .
- Compatibility with OP (Delphi) as far as possible w/o leaving the portabil
ity-track. (Beside some features like message-handler-methods, there should not be much)
- Exception handling
- OP-style object-model
Planned. But first the current state of the art (IMHO we have ~85% of Extended Pascal and ~95% of the Borland Pascal 7.0 language (not BP's standard units)) must become stable.
See ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/alpha/ for our current WIP.
- OP-style strings (reference-counted or not)
We already have plenty of (implemented or planned) string models in GPC: Extended Pascal requires a schema type, BP's (short) strings are planned for the future, GPC supports C-style strings as parameters etc. The implementation of yet another string type must be thought through carefully in order not to maximize confusion.
However, IMO it is great, that Pascal is going to be supported in the UNIX-world. It is a under-estimated langugage (esp. OP), IMO.
I agree. That's why I am working on GPC.
Greetings,
Peter