Archive for April 12th, 2007

Perl Outperforms C in OpenGL Benchmark

Hi - you seem to be new here. If you like what you see, please give back by subscribing to my RSS feed!

You can check me out on Twitter, Facebook, or FriendFeed to see what I'm up to. Thanks for visiting!

When programming OpenGL apps (a task I still want to try some time), few people think of Perl as an option. In a recent perl.com lightning article, a benchmark was performed to test Perl against C in OpenGL programs. Because in graphics applications most of the work is done in the GPU, an interpreted language can actually have a leg to stand on in writing code for such applications. In this benchmark, Perl performed almost equal to C in most cases. In fact, in FBO (Frame Buffer Override, I believe) operations, Perl actually

  • outperformed
  • C! So, when considering a language to write GPGPUcode in, don’t always turn to the compiled languages such as C for systems development. Perl can often be better for reasons such as the article states:

    • Perl OpenGL code is more portable than C; therefore there are fewer lines of code
    • Numerous imaging modules for loading GPGPU data arrays (textures)
    • Portable, open source modules for system and auxiliary functions
    • Perl (under mod-perl/ISAPI) is generally faster than Java
    • It is easier to port Perl to/from C than Python or Ruby
    • As of this writing, there is no FBO support in Java, Python, or Ruby

    The article is here:

    http://www.perl.com/pub/a/2007/04/12/lightning-four.html?page=2

    Are You a Mormon? Are You a Digg User?

    Are you a Mormon or hold Mormon values, and a Digg.com User? We’ve added a few more features to Came2Pass.com that you will like then. The first is a new field in your profile called “Digg User ID”. At the moment this is only visible to you - we will be updating this in the future to be visible to everyone so they can not just find you on Came2Pass.com, but on Digg.com as well!

    Now, here’s the second, and best part. Go into your Profile, click “modify”, and add your digg user id. Within the next hour you will notice under “Digg Submitted Stories by Members” and “Digg Voted Stories by Members” it now imports all the stories you have submitted and voted on! Now you have a one-stop shop to come in and view all your Mormon (and similar-valued) friends’ articles on Digg. Click on the link, and it takes you back to Digg to vote on the story your friends on Came2Pass.com voted on or submitted.

    This is just the start. Expect in the future to automatically add friends in Digg when you add friends on Came2Pass.com. Expect to be able to see the number of Digg votes directly on here! The possibilities are endless! So get on Came2Pass.com, set up an account, and add your Digg username to participate in the Digg.com and Came2Pass.com community!

    See More at:

    http://www.came2pass.com/Miscellaneous/Are-You-Digg-User-1/