S, Lukas Renggli piše:
Sport provides platform independence for files, sockets and exceptions. When we evaluated Sport for Seaside it only worked on VW and sockets were at the wrong abstraction level. Also to consider is that exceptions are pretty portable today.
Sockets on wrong abstraction level? Which abstraction level is then a right one? Only questionable thing is that Sport API is influenced strongly on VisualWorks. But this is hard characterize simply as wrong. In any case, Sport is so far most successful attempt to make portable Times, Files, and Sockets. Specially last two are very different from dialects and Sport enables easy portability of projects like Swazoo web server and Aida web framework. When Sport is ported to some dialect, all other projects based on Sport became portable there almost instantly. Another reason is also that both Swazoo and Aida are written with portability in mind by avoiding non-portable dialect features and libraries and therefore don't need Grease for that, just Sport. Remaining dialect dependencies are marked simply by method comment, like "VW specific". End result is very simple code, yet maintainable and portable. Sport is supported on GNU Smalltalk, VA Smalltalk, Squeak/Pharo, VisualWorks/ObjectStudio, Dolphin Smalltalk. News from this year ESUG Edinburg: Sport will become MIT licensed, now is namely GPL. I therefore invite specially network/web guys to write more portable code using Sport and therefore spread your work around all Smalltalks. Best regards Janko -- Janko Mivšek Aida/Web Smalltalk Web Application Server http://www.aidaweb.si