Perl 6 - the future is here, just unevenly distributed

IRC log for #6macros, 2015-05-10

| Channels | #6macros index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
03:51 vendethiel joined #6macros
06:19 vendethiel joined #6macros
09:06 vendethiel joined #6macros
11:00 vendethiel joined #6macros
13:44 masak https://docs.google.com/document/d/1-We05W0xsd5hTWGsTDCY6pibf2EmmTAsm-4EhIFZoOA/preview?sle=true#
13:59 vendethiel :o
14:00 vendethiel that seems..uninformative
14:01 masak yeah, less interesting than I thought.
14:01 masak Dart in general seems pretty meh.
14:01 vendethiel 100% meh
14:01 masak every tradeoff they do seems to be the boring and un-cool one.
14:01 vendethiel ...and that's not because I'm a perl6 hipster user! :)
14:02 masak gradual types! yay! but... they're not enforced :(
14:02 vendethiel the simple fact types aren't checked bores me
14:02 vendethiel [16:01] <eli-se> PHP > Dart
14:02 vendethiel haha
14:11 masak :)
14:14 vendethiel who knows, since php7 is getting an AST... maybe they'll get macros ;-)
14:14 vendethiel .oO( the day PHP got macros, before perl6 did )
14:19 masak got it, got it -- "hurry up, masak!" :P
14:22 vendethiel "but we already *have* macros!"
14:28 masak only in the same sense Perl 6 is already released to the world.
18:39 vendethiel I'm afraid we'll never have TCO in perl6 :(
18:40 masak oh, Tail Call Optimization
18:40 masak I don't think that's even on any roadmap.
18:41 vendethiel well.
18:41 masak there's some kind of &fn.nextsame thing in the spec.
18:41 vendethiel let's say "callframe" makes it somewhat impossible
18:41 vendethiel so you need to statically inspect the presence of "callframe"
18:41 vendethiel ...but then that makes TCO impossible for HOFs (higher order fns)
19:27 masak *nod*
19:35 vendethiel except if
19:35 vendethiel you specialize functions by usage of callframe()
19:36 vendethiel but we're just getting to insanity
19:47 * masak .oO( lim(x, Insanity) )
19:48 vendethiel .oO( or is it perl6 we're getting to? )
19:48 vendethiel I mean, I'd be willing to work towards something like this with a perl6-in-perl6 kind of compiler.
19:48 vendethiel something tells me it'd be much better
19:55 masak I once started down that road, with Yapsi.
19:55 masak didn't get all that far.
19:55 masak but it was still fun, and instructive.
19:56 vendethiel i've seen it!
20:16 masak :)
20:17 masak actually, a lot of ideas from Yapsi helped me while developing 007.
20:58 vendethiel i'm not surprised, that's an excellent exercice
20:58 vendethiel I liked that from the perl6 code, though it's a bit less true now
20:58 vendethiel the src/core almost looked like pseudocode, because it used all the idioms it could
20:58 vendethiel now, it's mostly been changed to be performant, but heh :)
21:00 masak yeah.
21:00 masak it ain't Haskell's Prelude, that's for sure...
21:04 vendethiel well
21:04 vendethiel haskell's prelude cheats
21:04 vendethiel 's*
21:04 masak not surprised :)
21:05 vendethiel they do stream fusion and all that
21:06 masak not familiar with that term; got a reference?
21:07 vendethiel http://stackoverflow.com/questions/578063/what-is-haskells-stream-fusion
21:07 vendethiel basically
21:07 vendethiel "merges" maps, filter and all those together
21:07 vendethiel (or rather, stitches)
21:07 vendethiel so that it effectively doesn't create new arrays for nothing
21:08 masak cool.
21:08 masak sounds like the kind of cheating that's completely OK if you don't get caught at it.
21:08 vendethiel yes!
21:08 vendethiel sadly...
21:08 vendethiel it completly destroys any hope to have correct runtime stacktraces :(
21:08 vendethiel so often, you get a cryptic one instead

| Channels | #6macros index | Today | | Search | Google Search | Plain-Text | summary