user-pic

Steffen Mueller

  • Website: steffen-mueller.net
  • About: I blog about Perl just like everyone else. Cf. http://search.cpan.org/~smueller, http://steffen-mueller.net
  • Commented on Type::Tiny rescues Moo
    I fail to see how you can do type coercion without knowing the types (which requires the run-time type checks in a dynamic language)....
  • Commented on Type::Tiny rescues Moo
    Do keep in mind that type validation (and it’s evil brother, coercion) are the main offenders when it comes to Moose-alikes feeling slow. My advice: Don’t use type validation except at the outermost API layer of a project where you...
  • Commented on On the removal of some core modules
    While I am not quite sure that I would eject it from core, do note that with configure_requires, Module::Build can always be installed from CPAN. Nobody is suggesting deprecating M::B altogether. Just kicking it out of the core since it’s...
  • Commented on A call to action for CPAN authors
    @James: We only broke modules that were already subtly broken. In certain circumstances, Perl would actually change the order of the hash contents (rehashing due to collisions or hash growth) and two hashes with the same content could actually have...
  • Commented on Fractal Diamond-Square Terrain Generation in Perl
    C implementation? Here you go. Straight conversion from Perl, though: https://gist.github.com/tsee/5461671 It's pretty naively implemented. On top of that, if you use the TCC hack (see test.pl in the gist and https://github.com/tsee/p5-XS-TCC) to compile & run in memory, then the...
  • Commented on Names And All That
    Thank you for this voice of reason in the big waste of time that the recent storm of talk has been....
  • Commented on $3M says Perl5 needs a new major version number
    @David: I've used PDL in the past, but am not a current user. It's a fine tool! I simply have no need for it. At work, Perl code uses the CPU time of millions and millions of EUR worth of...
  • Commented on Does Perl (5) have a future?
    brian: I doubt it’d be that hard to get working on your Mac!...
  • Commented on Perl 5, Perl 6, Perl 7, Perl 2013, whatever
    It's this sort of useless, energy-draining, and laughable discussion that makes the people capable of real technical innovation want to give up on perl, perl5-porters, the interwebs, and life in general. Just say no and let's all go back to...
  • Commented on Does Perl (5) have a future?
    Choosing very specific bits to comment on: a) You can use ROOT from Perl. It works quite well. b) if you think writing XS is a lost cause before there’s a perl implementation even on the horizon that doesn’t support...
  • Commented on $3M says Perl5 needs a new major version number
    John, 1M$ is not very useful even if you manage to raise it. Having a plan for how you're going to spend it well is what gives the value. In other words: 1M$ is a lot of money for just...
  • Commented on $3M says Perl5 needs a new major version number
    The NumPy project is an investment in specific improvements. Who says that the organizations giving significant cash to TPF wouldn't shell out a lot more if there was a ambitious but specific plan that would bring major benefits for them?...
  • Commented on A funny thing happened on the way to the p5-mop...
    Just for the record. I believe that your (plural) work on p5-mop is immensely valuable to the community regardless. I feel greatly indebted to you for tackling the hardest problems so I don't have to....
  • Commented on Lock::File - yet another file locking module
    I'm the author of yet another locking module: Feel free to have a look at IPC::ConcurrencyLimit and specifically IPC::ConcurrencyLimit::Lock::Flock and/or list them as related modules....
  • Posted Announcement for Sereal, a binary data serialization format, finally live! to Steffen Mueller

    It's been long in the making, but finally, I've gotten the Sereal announcement article in a shape that I felt somewhat comfortable with publishing. Designing and implementing Sereal was…

  • Commented on Optimizing compiler benchmarks (part 4)
    Thanks for clarifying and good luck in the endeavor!...
  • Commented on Booking.com dev blog goes live!
    Thank you! When we get the time, we plan to add Disqus or similar support. Basically, we want to avoid having to do moderation/spam checking as much as possible. Since it's a company blog, we'd also have to be a...
  • Posted Booking.com dev blog goes live! to Steffen Mueller

    I'm proud to echo the announcement that the Booking.com dev blog has just gone live. Quoting the announcement:

    Booking.com is an online hotel reservations company founded during the hey-days of the dot com e…

  • Commented on Tree, Tree::Binary, Tree::DAG_Node, Tree::Persist and Forest
    Re: Tree::Persist. I thought I fixed perms up on that one. Can you check again? --Steffen...
  • Commented on Optimizing compiler benchmarks (part 4)
    Hi Reini, thanks for getting back to me. Though I do have to admit that I'm not sure whether you've answered my question. Might just be me misreading: Did you have to edit the generated code or not? Separate topic:...
  • Commented on Optimizing compiler benchmarks (part 4)
    Any news on "To achieve the end results, did you have to resort to any manual changes to the generated code?"?...
  • Commented on Optimizing compiler benchmarks (part 4)
    I never said your results aren't. I don't know where you get that from. What I did say was that speeding up Perl by several percent overall in the space of about one hour of hacking is great. By the...
  • Commented on Optimizing compiler benchmarks (part 4)
    A general 10% speed-up (run-time, not start-up) would very much be considered a significant gain by a significant number of people on p5p. That includes at least Yves Orton and me, plus several others that I feel less confident to...
  • Posted New Data::Dumper release: 50% faster to Steffen Mueller

    Data::Dumper version 2.136 was just uploaded to CPAN. It's been over a year since the latest stable release of the module. Generally, I just synchronize changes to the module from the Perl core to CPAN releases and do so very carefully with lots of development…

  • Commented on Perl 5 Porters Weekly: September 10-September 16, 2012
    Minor correction to the named-parameters thread: I don't think anybody really still considers rw aliasing a valid option. The remaining viable and significant optimization is to avoid setting up @_ in case of named parameters....
  • Commented on Subroutine Signatures - my Plan (v.1)
    The one point I'd like to add about @_ is that if we were to choose to not populate it, that could possibly speed up function calls by a significant amount. I am thinking it could get to ten of...
  • Commented on Reading binary floating-point numbers (numbers part2)
    Nice, interesting write-up, and pertinent to what I'm up to. Thank you!...
  • Commented on How many ways can I use thee, module?
    Don't forget "use parent" and "use base". But much more exciting: Prepare a Storable blob including an object blessed into a non-loaded class. Thaw it. It will load the class for you....
  • Commented on When Perl is not applicable
    "and failed" is interesting because you're starting from a false premise. The goal was to speed things up and that was achieved. The major win was an improved algorithm, including caching of intermediate results, and optimal work scheduling. The run...
  • Commented on When Perl is not applicable
    Andrew, cut the crap. I write at least some C virtually every day at work, for Booking.com and I'm a damn long way from leaving. I can even prove this. Check the my CPAN modules. Half of the XS modules...
Subscribe to feed Recent Actions from Steffen Mueller

  • kenahoo commented on On the removal of some core modules

    I guess I still don’t understand what you mean by the serialization issue. What has to manually do what? And what is the “meta-object” here? What “attributes” do you mean in your last sentence? I’m sure your points are valid, but I’m not following.

    If I were to redesign M::B now (which is not out of the question, really) I would get rid of M::B::Compat (not because it failed, but because IMO it succeeded and is no longer necessary) and get rid of the by-platform class hierarchy.

  • mascip commented on Type::Tiny rescues Moo

    Is there a way to turn type checking off globally, with Moo and Type::Tiny? (my types are in some Type::Library)

    Is it possible to turn it off in one class, or group of classes? Maybe for one particular Type::Library?

  • mascip commented on Type::Tiny rescues Moo

    Toby, you know both modules well so I’m asking you.

    Could there be any way to tell in a Moo class: “don’t do any type check for any of the attributes of this class” ?

    Or with Type::Tiny, to tell a Type::Library, that its type checks should not be executed.

    Maybe in the same way that Debuggit skips useless debug function calls ? (see “Performance Considerations” in DEbuggit::Manual - implemented with B::Deparse)

  • Toby Inkster commented on Type::Tiny rescues Moo
  • mascip commented on Type::Tiny rescues Moo

    Wow!

    Thank you Toby, I’ll start playing with it.

    It should also enable to clone mutable attribute# (like DateTime attributes), both at construction and for their accessor: all you need for proper immutability

Subscribe to feed Responses to Comments from Steffen Mueller

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.