[M3devel] On Trestle, OpenGL, etc...
Jay K
jay.krell at cornell.edu
Sun Jan 24 01:35:18 CET 2010
> wraps the native toolkit on each platform
I don't think wrapping native is the way to go.
Too much work to then have a common interface.
> Especially bindings to subsystems and toolkits that are available in a variety fo platforms.
Yes.
E.g. Qt, FLTK, Tk, etc.
I think Qt is the best, based on highly non-scientific data.
- Jay
> Date: Sat, 23 Jan 2010 17:15:03 -0500
> From: hendrik at topoi.pooq.com
> To: m3devel at elegosoft.com
> Subject: Re: [M3devel] On Trestle, OpenGL, etc...
>
> 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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20100124/9217803c/attachment-0002.html>
More information about the M3devel
mailing list