graphic bindings failing

Peter Lobsinger plobsing at gmail.com
Sun Dec 5 20:02:01 UTC 2010


On Sun, Dec 5, 2010 at 6:50 AM, Richard Hainsworth <richard at rusrating.ru> wrote:
> The examples/ directory needs some attention as examples in some directories
> dont work out of the box.
>
> I tried examples in examples/sdl, examples/opengl, and examples/tcl

Many of the examples are extremely old at this point and receive
little to no work. It is a wonder some of them even work at all. ++ to
everyone keeping these working.

Part of the problem is that parrot is primarily *not* a GUI library.
It provides the bindings it does as a starting point, but they are by
no means a full toolkit. The GUI bindings receive inadequate attention
because the priorities of parrot mostly lie elsewhere (eg: run code
faster, support more HLLs, fix bugs in core subsystems).

> Some I got examples in sdl/ working by downloading the relative libsdl files
> (I use ubuntu)
>
> I am willing to try to get some of these working (say sdl), but I would need
> some help.

kthakore++ was working on making SDL run on parrot
(https://github.com/kthakore/parrotSDL). You might want to start
there.

You can also try the irc channel, there are plenty of people who can
help you with parrot's concepts. (eg: closures and callbacks)

> Also I have got some of the examples working before, but they dont work now,
> eg., blue_font.pir and mandel.pir
>
> My ultimate aim is to try to get some form of GUI for perl6.

If you are looking for a Perl 6 solution, an alternative you may want
to consider is zavolaj (https://github.com/jnthn/zavolaj), a native
call interface. It would allow you to work purely in Perl 6. You
would, however, need to start from scratch as there are no GUI library
bindings using zavolaj at the current time.

> If sdl is not the best place to start, where would be better?
>
> Richard
> _______________________________________________
> http://lists.parrot.org/mailman/listinfo/parrot-dev
>


More information about the parrot-dev mailing list