user-pic

Yuki Kimoto

Subscribe to feed Recent Actions from Yuki Kimoto

  • Gustaf commented on Writing Non-Blocking Applications with Mojolicious: Part 1

    Would be of tremendous appreciation if you would consider a rewrite of this Mojo series for current Mojolicious.

    I’m struggling to get a hang of it all, and the example code here dont work on current Mojo version.

    Really great reading tho.

  • Gustaf commented on Writing Non-Blocking Applications with Mojolicious: Part 1

    Sorry for speaking to soon. Fresh coffe did it for me, I missed some typos from my part.

  • weissel commented on I think subroutine signatures don't need arguments count checking

    Hmmm.

    Yuki, you seem to have a strong opinion here.
    Not that there is anything wrong with having strong opinions --- but it would be much better if you could at least point to some facts that support your opinion.
    Like, say, benchmarks. Like, say, code (show the source code!) that does run appreciably faster without argument checking.

    Performance at all costs of programmer usability, maintenance and bug finding ease would mean that you write highly optimized, hand-polished assembler running on the bare metal of the machine, with no OS to slow things down…

  • Slobo commented on Current subroutine signatures implementation contains two features which purposes are different

    I understand the need for speed, but as benchmark above shows, you are only losing a second for every 10M calls - if you are doing anything remotely noon trivial in those subs you will not notice the time paid for correctness.

    Besides, it seems that as per benchmark #5, if you needed to hyper optimize code you would need to avoid destructuring anyways, regardless of argument checking.

    Lastly, can you point to any consensus that correctness should take back seat to performance in perl?

    Thanks

  • Slobo commented on Current subroutine signatures implementation contains two features which purposes are different

    I'm also genuinely interested in your argument that dynamic language implies no argument checking, do you mind elaborating a bit more on it?

Subscribe to feed Responses to Comments from Yuki Kimoto

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 hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.