While I've been keeping in mind having Glorp as a cross-smalltalk
framework I haven't actually done the debugging of a port in a while. I'm
very happy to incorporate changes that someone finds are needed for a
particular dialect, but I haven't been doing too much testing myself.
Partly this is because I have permission from Cincom to actually work on it
during Cincom time, and partly it's because testing ports cross-platform is
boring :-) Relatively recently Nevin Pratt has put in changes required for
Squeak, and Paolo Bonzini has sent in some required for GNU Smalltalk, but
I don't know if anyone has looked at VA recently.
What part of the ANSI exception handling is a problem in VA? As far as I
know, VA can support class-based exceptions, although most of the system
There are also more areas in Glorp that now use platform-specific
features. The primary ones are weak references and binding and reuse of
prepared sql statements. Most of the code related to these is isolated in a
few places (e.g. in VWDatabaseAccessor), and it should be possible to do a
basic port which doesn't use them, but a full port would need to adapt
those to the way those things are done in that dialect.
I hadn't thought about yourself being optimized away in VA. That is
definitely an issue, and we'll need to make the tests use some other
convention. I suppose one possibility would be to implement #getValue in
Object as a no-op and send that when we wanted to make sure something was
I don't recall seeing anything about your port in 2003. If you do know
if incompatibility issues, please tell me and I will make the appropriate
changes if it's possible.
At 12:55 PM 3/11/2004,
>I wish ask you about you plans. Will you have been supporting Glorp as
>cross-smalltalk framework or VisualWorks framework only?
>At autumn 2003 I had ported Glorp 0.2.55 to VAST and added DB2 support in
>a week. I was forced to change many methods (for example, #yourself
>message never sent to VAST objects and because this many tests with
>proxies had failed). But after my work most tests has worked with DB2.
>Now I have download Glorp 0.3.38 and see more harder problems: for
>example, more tight usage of ANSI exception handling, changes with
>database access etc.
>[Sorry for my English]
Alan Knight [|], Cincom Smalltalk Development
"I believe that many of the systems we build today in Java would be better
built in Smalltalk and Gemstone." -- Martin Fowler, JAOO 2003