[M3devel] On Trestle, OpenGL, etc...

hendrik at topoi.pooq.com hendrik at topoi.pooq.com
Sat Jan 23 23:15:03 CET 2010


On Sat, Jan 23, 2010 at 11:02:22PM +0100, Chris wrote:
> On Sat, 23 Jan 2010 12:17:07 +0100
> Daniel Solaz <m3 at sol42.com> wrote:
> 
> > I think the only way to go is a single Modula-3 API that wraps the native toolkit on each platform, sort of like wxwidgets.  Where there is no single native toolkit, choose the best or most used.  Portability, full interoperability and looking/feeling native are the key points here.
> > 
> > Developing a new toolkit in pure Modula-3 is a waste of effort.  Sun has spent years and billions in Swing, and it still sucks in a different way every platform it works on.  Worst of all (for me at least) is how it incorrectly and incompletely mimics the native look and feel, mainly Motif and GTK, but Mac OS X too; on Windows it looks way better but is still far from perfect.  SWT is a bit more difficult to use, and not available (yet?) on every platform, but to me it is the right way to go.
> > 
> > Making Trestle look good will only get us so far.  I haven't looked at it for years, but unless it has changed quite a bit it would require rewriting significant parts.  Text handling comes to mind, and scrollbars too.
> > 
> > Regards.
> > -Daniel
> 
> Good points.
> 
> I think your correct that creating bindings to some toolkits are the way to go, for now. Of course the lower level X and OpenGL bindings will still need to be upgraded, just so that thier available for those who want to use them.(I know I will.)
> 
> Right now, as far as toolkits go, I'm looking at bindings to Cairo/Pango/Glitz. Maybe an SDL binding. Full GTK and QT bindings are good. Maybe bindings to Clutter(http://clutter-project.org/) and Amanith(http://www.amanith.org/) would be useful.
> 
> So, bindings are the way to start at least. Alright then. Time to get hacking.

Especially bindings to subsystems and toolkits that are available in a 
variety fo platforms.

-- hendrik

> -- 
> Chris <Highjinks at gmx.com>



More information about the M3devel mailing list