Duncan
Recent Actions
-
Commented on Time::Moment vs DateTime
"without me getting into another argument about standard modules" Slightly worried about what I've written there. I'm writing about an argument at $work, not with anyone on this list....
-
Commented on Time::Moment vs DateTime
Perl badly needs a standard or at least a "de facto" standard for date time handling. DateTime has seemed to be emerging as that standard for some years. Unfortunately this is the third or so article in the last twelve...
-
Commented on search.cpan.org
I think we're in danger of being insular here. People inside the echo chamber know about Metacpan and either use it in preference to search.cpan.org or switch to it if, as is often the case at the moment, search.cpan.org is...
-
Commented on What is in The End?
Larry Wall may or may not have been ahead of his time. PBP calls for functions/methods to return explicitly, so I always try and get my team to do that. The reasons given in the book seem fair enough, or...
-
Commented on Jperl
That would be great....
-
Commented on Jperl
Have you spoken to the maintainers of Javascript.pm and asked them about their plans? It hasn't had an update for two years. If you use the namespace Javascipt.pm or make Javascript.pm a wrapper around your module then, in theory at...
-
Commented on Perl::Critic for the Camel
brian, I enjoyed your book on Effective Programming, I even persuaded a couple of local libraries to stock it. I've got a copy of the latest Camel book here, but I've only dipped into it. Surprisingly, the bit I've read...
-
Commented on Perl::Critic for the Camel
Yes, it is a different book, by a different author, with different recommendations and that's bad. It's also very old. It makes it very difficult to impose a baseline set of practices on a project team. I can't see anything...
-
Commented on Perl::Critic for the Camel
What's wrong with just updating PBP?...
-
Commented on Wing Now Auto-Generates Restful Object Relationships
The Wing namespace on CPAN was taken by Simon Cozens over 12 years ago. Is this anything to do with it? A glance at the two sets of code indicates that it may not be....
-
Commented on CPAN candidates for adoption
I think this is a brilliant bit of work, but I think it could do more to distinguish between two goals. Is it trying to identify modules which need adoption or is it a general indicator of the quality of...
-
Commented on PerlX, sub-communities, etc.
Well done. Ten out of ten for translating it. (I don't necessarily agree with the content.)...
-
Commented on My Perl Pitch to Students
Thanks...
-
Commented on My Perl Pitch to Students
I've been trying to make informal contacts with some of the local universities as well. Similarly, I've been involved in conversations about whether mentioning games programming might get the attention of students. The SDL library was being pushed quite hard...
-
Commented on Fat Versus Thin Core
I think the premise of downloading a thin core and then an extended core is quite solid. I've come across two examples recently where other programs do this. I was working on a fresh Ubuntu installation and I couldn't get...
-
Commented on What's wrong with CPAN?
There are quite a lot of modules on CPAN which are over ten years old and which haven't seen an update in that time. That doesn't mean that they need an update, but it does show that the timelines are...
-
Commented on CPAN modules that (can) load other modules
You haven't mentioned only.pm. It's recommended in PBP and there's an article (http://www.perl.com/pub/2003/03/18/only.html) describing it in glowing terms. It was obviously expected to be the next big thing at one point. I've often wondered why it never caught on. The...
-
Posted Names And All That to Duncan
Perl at FOSDEM
I was at FOSDEM to…
-
Commented on Perl tutorials suck (and cause serious damage)
This issue has been raised before and after it came up at the last LPW I decided to have a look at the availability of library books. A similar problem applies. Many local libraries have Perl books which are ten...
Comment Threads
-
https://www.google.com/accounts/o8/id?id=AItOawl-Xbuy0IGGoGE9n3LHNgFpO_apKe8GgEk commented on
Time::Moment vs DateTime
Panda::Date is the fastest available framework. It doesn't use OS's time functions, instead it implements its own which are much faster. And with all these speeds, it is full-featured like datetime
-
https://www.google.com/accounts/o8/id?id=AItOawl-Xbuy0IGGoGE9n3LHNgFpO_apKe8GgEk commented on
Time::Moment vs DateTime
moreover it has C++ interface with speeds of dozens millions/s. which you can use from your xs modules diretcly without slow perl layers.
-
Christian Hansen commented on
Time::Moment vs DateTime
Time::Moment only use gettimeofday(2) and localtime(3) to compute the difference.
I did consider to add Panda::Date until I reviewed the source code. Your code isn't thread safe and you require 5.18 to compile it, and your naïve implementation of a date with a time representation due to the broken down representation is just a wasteful! An instance of Time::Moment requires 16 bytes plus the overhead of a scalar allocation and is mostly faster than your implementation that doesn't even support a fractional representation!
-
Christian Hansen commented on
Time::Moment vs DateTime
And the benchmark:
-
Christian Damen commented on
Time::Moment vs DateTime
Gonna migrate our PERL5 applications from DateTime => Time::Moment. Thanks for all the efforts.
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.