Docendo discimus

$self->explain

  • Calendar

    September 2017
    M T W T F S S
    « Sep    
     123
    45678910
    11121314151617
    18192021222324
    252627282930  
  • Archives

  • Recent Posts

  • Bling

Archive for the ‘Perl 6’ Category

YAPC::EU 2011 in Riga

Posted by brunorc on September 10, 2011

It’s almost one month after the conference… but anyway.

I liked everything, to start with Riga itself – it’s really beautiful and green city – the venue (although the contrast between the main auditory and other rooms was big) and the food, ending on the conference and its atmosphere and content. Since I went to give my MIDI related talk, I was lucky enough to participate in the Speakers’ Workshop by Damian Conway & Alex Kapranov. It definitely helped me to improve my presentation and the talk itself.

There is a lot of new stuff happening in the Perl Community – the language constantly evolves and a lot of new ideas from Perl 6 are backported to Perl 5, what I really like. What I don’t like, though, is that some people are actively dissing Perl 6 as “completely different language, not Perl”. That’s not the disadvantage by itself; moreover, Perl community constantly borrow (steal?) ideas from other languages – some talks in Riga were good example of this, presenting cute ideas taken from Lisp and Haskell.

I can understand that Perl 6 may not appeal to some users of Perl 5. What I cannot understand, is that some notable members of Perl community spend their time & effort on explaining, why Perl 6 is not what should be called “the next step in the evolution of Perl 5” and by no means can be attached to the name of Perl. This actually harms the progress of all the work around Perl 6, slowing it down and bittering it needlessly.

However, in Riga yet again we were able to see that Perl 6 has no choice after Duke Nukem Forever was released… there were many talks about what can be already done in Perl 6, and what will be possible once it gets finished. To be fair I have to admit that the presentation from Jesse Vincent about Perl 5.16 also brought many new ideas (like differently “tailored” releases of next versions of Perl 5 and the backward compatibility controlled by use VERSION – to name a few).

I also met my friends from Poland and from Spain, and – what was a huge surprise for me – one of them decided to apply for job at Booking.com; few days ago he informed me, that he was accepted. Good luck, Quim!

And last but not least – I was able to spend a lot of time with some completely crazy Perl folks from the whole world. I will remember the party at the balcony of Getty’s room for a long time…

Update: An article from Jesse Vincent “5.16 and beyond” – also just look at the second comment. *sigh*

Advertisements

Posted in Perl, Perl 6 | Tagged: , , , , | 1 Comment »

Perl 6 – “shift @features”

Posted by brunorc on August 15, 2010

One thing I always liked in Perl was its flexibility and patience. While it may be difficult to start programming in Java without understanding the concepts of objects – or to start programming in C without the firm grasp of memory allocation – in case of Perl it’s enough to know how to use split, print and basic arithmetic operators, to be able to start writing useful programs. One can always reach for more, as Perl is able to provide the programmer with a lot of features.

That was true for Perl 5, and luckily it didn’t change with Perl 6 in regard to patience. What definitely changed, was the number of those features. Even when Rakudo Star is more a proof of concept and some features may not be implemented yet, it is a sheer joy to discover new aspects of this language (yes, some are already known to the users of other languages, but great artists steal, right?).

So, what will we get? Among many other things:

  • strong typing
  • function signatures
  • method overloading
  • new object model with roles and traits
  • grammars
  • new model of concurrency

The list is quite long and there will be a lot of items to shift from it. I’m really excited about strong typing, which along with function signatures makes it possible to overload the methods. Which I’m going to write about in the next post ;-)

Posted in Perl, Perl 6 | Tagged: , , , | Leave a Comment »

YAPC::EU 2010 in Pisa – short summary

Posted by brunorc on August 8, 2010

In very, very short words – it was awesome!

Talks were interesting, venue was comfortable, O’Reilly’s stand was well prepared, schedule was properly tailored, food was nice, people were fantastic, beer was tasty. Weather was good (well, compared to Amsterdam, almost every place provides nice weather) and the tower was leaning.

I really enjoyed talks about Perl 6, since Rakudo Star is already published and everyone was able to try the stuff from the presentation on his/her laptop. There was a lot of interesting information about signatures in Perl 6, presented by Jonathan Worthington: in Perl 6 you don’t have to unfold @_ manually anymore and you can have your parameters well typed. Yes, we can have strong typing! And you can define your types on the fly using the where keyword:

sub get_proper_answer ( Int $answer where 42:t ) {
    ...
}

And in case you desperately wanted – you can use Perl 6 signatures in Perl 5.

What else? If you lived under the rock recently, you would have to go to Pisa to get to know that Moose has reached version 1.0. However, you also would be able to meet a lot of people who was already using it (and liking it).

Not enough? Well, what about the opening keynote presented by Larry Wall with his family, and the closing keynote presented by Matt S. Trout with his new hair? Both were cool, being completely different though.

Want more? There was the most freaky, enthusiastic, robust and jolly community I’ve ever seen in my life – and I really enjoyed being part of it. So if you are freaky and enthusiastic as well, you will probably enjoy the next YAPC::EU in Riga.

This is only a short, chaotic summary, but I will try to organise my reminiscences into more detailed notes.

Posted in Perl, Perl 6 | Tagged: , , , , , , | 2 Comments »