Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^4: Perl graphics engine?

by Anonymous Monk
on Aug 04, 2009 at 10:38 UTC ( #785712=note: print w/replies, xml ) Need Help??

in reply to Re^3: Perl graphics engine?
in thread Perl graphics engine?

but if you come from C++ you might be disappointed by the performance,

That's true, but probably not to the extent you imagine. The OpenGL module has "comparable" performance to C, according to these benchmarks:

I second the comments about Tk and Wx. You might also like to look at GtkPerl (it's cross-platform).

Replies are listed 'Best First'.
Re^5: Perl graphics engine?
by Taulmarill (Deacon) on Aug 04, 2009 at 14:32 UTC
    The performance of the library itself will be comparable, yes. But if you want to do some more involved calculations (say e.g. precise collision detection) in Perl, it may slow down the program substantially. Perl is just not meant for that. But we are lucky in the way that Perl allows for Modules written in C and even writing single subroutines in C or C++ quite painlessly via Inline::C(++).

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://785712]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2023-05-29 11:33 GMT
Find Nodes?
    Voting Booth?

    No recent polls found