in reply to Re: Re: The Secret Features of Perl6
in thread The Secret Features of Perl6

I, for one, completely endorse your idea for a tightly integrated, cross-platform graphics system using Parrot. I even ++'d the node for the suggestion. It's that cool.

So ... when are you gonna write it? ;-)

I kid (a little). It is a cool idea, but beyond merely difficult to implement. A fair chunk of Swing's reputation for cross-platform effectiveness is based on nothing more than marketing. Some OS's go out of their way to be functionally different from others. It may or may not be a bad thing, but it does mean you can usually tell when you are running a Java application under OS X. This is despite the fact that some tremendous efforts have been made by Apple and Sun to make Java seem native under OS X.

If you really want to see something like this happen, you should either start a project or find a similar project. Seriously, go for it. Could be fun!

  • Comment on Re: Re: Re: The Secret Features of Perl6

Replies are listed 'Best First'.
Re: Re: Re: Re: The Secret Features of Perl6
by jepri (Parson) on Jun 17, 2003 at 03:37 UTC
    So ... when are you gonna write it? ;-)

    Already started :) Using openGL is easy if the libraries are already on the system. The big issue for cross platform stuff is opening a window. Every window system has a different way of doing it. There is a library called GLUT which does does this job on many platforms, but it is event driven (it takes control and calls back functions when something happens). At this point in time, I don't know how to get parrot to hand a function pointer to glut that can be called back. Once I find this capability, I'll see about wrapping GLUT and getting the magic happening.

    So at the moment, I can get parrot to use GLUT to open a window, but then control goes away form parrot and never comes back.

    ____________________
    Jeremy
    I didn't believe in evil until I dated it.