3 ms·
That's cool. I've used DDG a few times in the past and generally like so far. I had no idea it was done in perl though. It's nice to see new perl apps getting s
by zaphar 16y ago
That's cool. I've used DDG a few times in the past and generally like so far. I had no idea it was done in perl though. It's nice to see new perl apps getting some press.
I wonder if they use any of the newer CPAN libs like Moose and family in the architecture?
- draegtun 16y agoIt's nice to see new perl apps getting some press Some Perl press as appeared on HN before. For eg: http://news.ycombinator.com/item?id=565152 http://news.ycombinator.com/item?id=565152 (though sometimes the Perl community have done their best to keep head low on this one :)
- sdesol 16y agoAs for Moose, he (DDG author) answered this here http://www.reddit.com/r/IAmA/comments/bbqw7/i_am_the_founder_of_a_search_engine_duck_duck_go/ http://www.reddit.com/r/IAmA/comments/bbqw7/i_am_the_founder... Having written an indexer in Perl for my current startup product, I really can't see the need for using something like Moose. I'm biased though, as I'm not a big fan of OO programming. I gave it a try in Perl years ago but it really sucked. OO programming that is, but I guess Moose was designed to fix this, but it's a little too late for me. I was taught C in school and I've learned to live without OO.
- zaphar 16y agoI can't say I disagree with him on the dislike for OO. However if you are going to do OO in perl Moose is the way to do it.
- someone_here 16y agoMoose is nice, but making your own objects can be pretty cool too. Try blessing a function ;)
- mhd 16y agoIf you agree with the design decisions. It's rather expressive, but not exactly a minimalistic approach to OO. Did they ever improve the rather steep performance penalty? (esp. startup)
- jrockway 16y agoRuntime is fast, startup is not as fast. I am not sure why anyone cares about startup time. I start my apps about once a month. 1 second instead of .1 second doesn't really matter. It's like saying, "C++ has an unacceptable performance penalty" because you have to compile your code before you use it. Yeah, you do. You can pay a million times at runtime or you can pay once at compile time. For desktop apps, start them when you log in and connect to them via App::Persistent.