Perl 6 - the future is here, just unevenly distributed

IRC log for #native, 2016-05-22

| Channels | #native index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
22:17 mohawk joined #native
22:19 mohawk sivoais, plicease, jberger: https://metacpan.org/release/NativeCall (not yet showing) - https://github.com/mohawk2/nativecall
22:19 mohawk especially https://github.com/mohawk2/nativecall/blob/master/examples/troll.pl
22:19 mohawk inspired by http://blogs.perl.org/users/zoffix_znet/2016/05/perl-6-nativecall-look-ma-im-a-c-programmer-1.html
22:28 jberger mohawk: very cool
22:35 mohawk c'est gentil, comme toujours
22:35 mohawk someone shared the above zoffix article with me during the week
22:35 mohawk i kind of can't believe no-one's done this till now
22:36 mohawk especially given the /topic here :-)
22:39 mohawk kind of dictates a rewrite of h2ph, too
23:10 jberger mohawk: it took something like platypus before it would have been possible
23:10 jberger plicease++
23:11 jberger But yeah that makes for a very nice interface
23:13 mohawk next version i make will add to the Platypus "hard work" bit: "by the mighty Graham Ollis"
23:13 mohawk in fact, talk is cheap, doing that now
23:16 jberger Hehe
23:16 jberger mohawk: what is %attr2handler for?
23:16 mohawk just a hash saying what's a valid attribute
23:16 jberger Then why the sub refs?
23:17 jberger Why not just => 1
23:17 mohawk was an initial idea that turned out unnecessary as did in straightforward way instead
23:17 mohawk FINE
23:17 jberger Ah
23:17 mohawk i'll use "good practice" and "clearer code"
23:17 mohawk sheesh
23:17 jberger I probably could have guessed that
23:17 jberger No i just don't spend much time in attributes and i was trying to understand it
23:18 jberger Seems like the few times I've tried there's a lot of magic involved
23:18 jberger I was making sure i wasnt missing something
23:19 mohawk grin
23:19 mohawk well i learned about them today
23:19 mohawk so i don't yet even know what i don't know
23:19 mohawk exciting!
23:20 jberger Perhaps there isn't much magic and i was making it too hard for myself some how
23:20 mohawk Attributes::Handler looks like a great deal of magic
23:21 jberger Maybe that was it
23:21 mohawk i steered clear and tried to KISS
23:21 jberger That sounds familiar
23:21 jberger Good idea
23:21 jberger Maybe I'll try that the next time
23:21 mohawk ha ha
23:24 mohawk 0.003 uploaded!

| Channels | #native index | Today | | Search | Google Search | Plain-Text | summary