Which is a faster parser for XML? [closed] - perl

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am trying to parse a simple file, and I want to know between:
XML::Simple
XML::Smart
LibXML
which one is faster?

XML::LibXML is the fastest, see the benchmarks at Ways to Rome.
It may or may not matter for a "simple file" (which I assume would mean that it's not too big).

There's also XML::Fast which seems to be a pretty serious contender. XML::Simple can use XML::LibXML under the hood, but I'm still seeing it as the major CPU drain in my CalDAV testing right now.
It's worth giving it a try if speed is a major consideration for you.

Related

Perl implementation of the GNU Coreutils [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I want to learn Perl and thought that the most of GNU Coreutils seems to be doing stuff which are well suited for the language. Is there any Perl implementation of it (at least the basic functionality) which I could look at for comparison?
In my experience, looking at code is the second best way to learn a language (after writing code). I'm interested both in quick-and-dirty implementations and clean code which covers edge cases as well.
For example, cat could be implemented as
alias cat='perl -Tpe "" --'
although there are some edge cases where it doesn't behave the same. And of course it ignores all flags.
This has already been done years ago: http://search.cpan.org/dist/ppt/

What happened to OpenRT? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have been looking around for powerful raytracing interfaces and discovered references to OpenRT but can't seem to find it anywhere. Does it even still exist?
If it is gone, what is the most used library for raytracing that is powerful enough for realtime rendering.
My answer below is all I have managed to find.
Update
I have continued my search and only seem to find OpenRL as it supports most of what I need. However I may end up writing my own wrapper or engine that suits my needs as there seems to be no mature solution. Thanks for the suggestions.
PowerVR Wizard GPUs by Imagination Technologies have been announced recently.
"Wizard is essentially an extension of Imagination’s existing PowerVR
Series6XT Rogue designs, taking the base hardware and adding the
additional blocks necessary to do ray tracing"
Possible, and seems to be the only, solution I have found is OpenRL.

Is there a CoffeeScript equivalent to the ruby koans? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I found several JavaScript testing frameworks with a quick Google search: Jasmine, jsUnity, JSpec, YUI Test, JsUnit, QUnit
I'm sure that this is by no means an exhaustive list.
Has anyone written CoffeeScript koans in one of these frameworks, similar to the EdgeCase ruby koans?
I really enjoyed going through them and going through the python-koans. Each exercise significantly improved my language comfort level, and I'm really hoping that similar exercises exist for CoffeeScript.
Did you try Googling "CoffeeScript Koans"? :)
https://github.com/sleepyfox/coffeescript-koans
(They're powered by Jasmine.)

Well written Perl Open Source to learn from? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
is there any well written perl open source out there (not using any kinda of framework) that i could use as sample for learning and good pratice of the perl...
I've searched around and found many things for PHP, but nothing in perl that uses no framework.
Thanks in advance.
Have you tried browsing CPAN? You can find code there doing pretty much anything, and many distributions post links to their github repositories, so you can follow along in the development process.
CPAN Ratings has reviews and rankings of a large number of releases, which helps you differentiate between good releases and bad ones, but being able to make this determination for yourself would be best, which you get through learning and experience.

Any good introductions and resources for gettext? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking into frameworks for translation, and have been considering gettext. Because it's supposedly quite good, and lots of projects use it. Now I read part of the official manual, but it sucked. I kind of have an idea how it works now, but I have no idea where to get started.
In particular my project spans C++, Lua and Javascript, so I'd love to be able to unify the i18n with a single tool, but I'm also not having luck finding gettext good support for Lua or Javascript, are they supported, has anybody used gettext with these?
Thanks.
How about this tutorial? Another example is at O'Reilly.