user-pic

Nate Glenn

  • Commented on Try rakudobrew and play with concurrency
    I'm quite excited to use this! I wonder if it will be possible to patch rakudobrew to work on Windows....
  • Commented on Math::Prime::Util, May update
    An XS BigInt module would be great. I have been maintaining Algorithm::AM, which uses custom 128-bit integers in XS code. I'd love to be able to outsource it and simplify the whole thing....
  • Commented on I bought a weekly round for my friends
    I know what the Pumpking is. What is Pumpkin Perl? Is it just Blead Perl? Or is it any release of Perl?...
  • Commented on Reflecting on the DFW.pm winter hackathon competion
    Didn’t know that was possible. Thanks for the tip!...
  • Commented on Which code to read?
    I don't know if I could say necessarily whose modules are the best examples to learn from, but the code I like to read comes from modules that make me think, "how did they *do* that?!" For a good supply...
  • Commented on Testing scripts in your distribution, portably
    I know it's been a while since you wrote this, but thanks for doing so. I referenced it when I was trying to be crazy-thorough. I have a write-up of my tries on SO: http://stackoverflow.com/questions/14544674/testing-scripts-in-distribution-without-building/20339123...
  • Commented on Is Perl really short of newbies?
    I think I've probably graduated to about intermediate Perler. I've really enjoyed it from the very beginning. I started because it was required for a university class: Text Processing and Analysis (though everyone calls it the Perl class). We learned...
  • Commented on List Assignment in Scalar Context
    Oops! Ha ha, all fixed. Thanks for the tip on optional args, too. Like I said, just for a quick and dirty check....
  • Commented on List Assignment in Scalar Context
    BooK: thanks. It's linked from the SO question. How it worked was still unclear to me after reading it, as explained on SO. But it is a good resource. Brad: I had the same thoughts. The one-line version is so...
  • Posted List Assignment in Scalar Context to Nate Glenn

    (Cross-posted on LingMisc)

    This week I received some special help on SO in understanding ho…

  • Commented on Perl and Me, Part 5: Speaking with the speech of coders
    Thanks for a great post! I'm a linguistics geek myself. One thing about Perl that is very languagey to me is the way it binds our community together. We create and share idioms. Certain styles and usages ebb and flow....
  • Commented on Accidentally duplicating tests with Test::Class
    I don't think I get it. You want to preserve the test inheritance, but you don't want the tests to run for each class? 26 tests are run, but there's no message about which test classes were used to run...
  • Commented on Things we don't have #1
    There must be something for syntax highlighting. What does Padre use? Also, something like IPython notebooks would be very neat, with inline PDL pictures and the like. Actually there's an unclaimed quest to make an IPython PDL plugin....
  • Commented on Test repository for Git wrappers
    54fff looks like junk in my browser. Maybe GitHub could use your repository!...
Subscribe to feed Recent Actions from Nate Glenn

  • Dana Jacobsen commented on Math::Prime::Util, May update

    Nate, if your platform has GMP, then Math::GMPz or Math::GMP are great. Similarly, if you're using the right platform then Math::Int128 is nice. But those modules don't work on lots of machines out there.

    I am going to do a LibTomMath-based module that's self contained (see CryptX, for instance). Interface similar to Math::GMP probably with some additions (e.g. modular inverse, exponentiation, etc. similar to Math::BigInt). It certainly won't be as fast as GMP for the big stuff, but it will be fine for most uses and I will be able to include it as a dependency and still work on a…

  • Paul "LeoNerd" Evans commented on Math::Prime::Util, May update

    Ooh, I wasn't aware of the trouble of using List::Util::sum like that. Can you report it as a bug and I'll take a look into fixing it.

  • Aristotle commented on Try rakudobrew and play with concurrency

    To be fair, I think that's only the case for micro-benchmarks that compare Perl 6 **built-in** features with the equivalent features provided by bloated/unoptimized/neglected Perl 5 **modules**. For example, Perl 6's built-in Rat type vs Perl 5's Math::BigRat.

    No, actually, that is no longer true. There are cases where Rakudo/MoarVM keeps up with Perl 5 at built-ins, or beats it handily. At built-ins. Check out the benchmarks and see for yourself. There is a little “[Code]” button ne…

  • smls commented on Try rakudobrew and play with concurrency
    There are cases where Rakudo/MoarVM keeps up with Perl 5 at built-ins, or beats it handily. At built-ins. Check out the benchmarks and see for yourself.

    I only see 3 kinds of micro-benchmarks on that page where Perl 6 comes in faster or as fast as Perl 5:

    1. Empty loops combined with integer arithmetic: while_empty_native, postwhile_nil_native, loop_empty_native

      This seems like an altogether archaic use-case from a P5 point of view (that is, probably not very meaningful with regards to real-life code).

    2. Rational number ar…
  • Aristotle commented on Try rakudobrew and play with concurrency
    But lets not call it before it happens... :)

    The way I understand these results is “here is proof positive that it can”: a plausible promise. There are still seasons’ worth of low-hanging fruit ahead, anywhere you look, so the fact that we have these results now is an encouraging indicator of how high the effort might be able to reach.

    Before this point, that was always the claim and the idea, and for some people it was the reasonable expectation, but there was no tangible evidence. It remains to be seen if the promise can be fulfilled, but th…

Subscribe to feed Responses to Comments from Nate Glenn

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.