Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Hacking perl5 core

1,473 views

Published on

A short success story

Published in: Technology, Travel
  • Be the first to comment

  • Be the first to like this

Hacking perl5 core

  1. 1. A road to hacking on perl5 Ruslan.Zakirov@gmail.com
  2. 2. From a challenge Ruslan.Zakirov@gmail.com Kiev, YAPC::EU 2013
  3. 3. Devel::PPAP Ruslan.Zakirov@gmail.com Kiev, YAPC::EU 2013
  4. 4. ●May fail to compile ●5.16.x only ●Incomplete ●Way to start playing Ruslan.Zakirov@gmail.com Kiev, YAPC::EU 2013
  5. 5. Since ● shift; # w/o argument ● delete $hash{'const'}; ● $tied{foo} Ruslan.Zakirov@gmail.com Kiev, YAPC::EU 2013
  6. 6. Failed optimisation ●10+ commits ●Better code ●Corner case fixes ●Tests ●Bit faster afterall Ruslan.Zakirov@gmail.com Kiev, YAPC::EU 2013
  7. 7. my %r = map { $_ => $h{$_} } 'a', 'b', 'c' ; Ruslan.Zakirov@gmail.com Kiev, YAPC::EU 2013
  8. 8. my %r = ( a => $h{'a'}, b => $h{'b'}, ... ); Ruslan.Zakirov@gmail.com Kiev, YAPC::EU 2013
  9. 9. my %r = %h{'a', 'b', 'c'}; Ruslan.Zakirov@gmail.com Kiev, YAPC::EU 2013
  10. 10. OMG! I'm changing Perl syntax... Ruslan.Zakirov@gmail.com Kiev, YAPC::EU 2013
  11. 11. ●11 loc in toke.y ●48 loc in pp.c ●proof in 4 hours ●comes in 5.20 Ruslan.Zakirov@gmail.com Kiev, YAPC::EU 2013
  12. 12. perl5 core is NOT that complex Ruslan.Zakirov@gmail.com Kiev, YAPC::EU 2013
  13. 13. Let's make perldelta that MAKES DIFFERENCE Ruslan.Zakirov@gmail.com Kiev, YAPC::EU 2013

×