Perl 6 - the future is here, just unevenly distributed

IRC log for #perl11, 2017-01-06

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

All times shown according to UTC.

Time Nick Message
01:12 travis-ci perl11/cperl#2105 (smoke/master - fcfadaf : Reini Urban): The build passed. https://travis-ci.org/perl11/cperl/builds/189368434
02:08 bpmedley joined #perl11
05:42 stephen joined #perl11
10:41 anton joined #perl11
11:04 anton_p joined #perl11
11:45 travis-ci perl11/cperl#2106 (smoke/master - 105f880 : Reini Urban): The build has errored. https://travis-ci.org/perl11/cperl/builds/189470069
13:24 travis-ci perl11/cperl#2107 (smoke/master - 31e818a : Reini Urban): The build failed. https://travis-ci.org/perl11/cperl/builds/189494366
13:43 rurban joined #perl11
13:45 travis-ci perl11/cperl#2108 (master - b14d5a7 : Reini Urban): The build passed. https://travis-ci.org/perl11/cperl/builds/189497191
16:44 travis-ci perl11/cperl#2109 (smoke/master - 28cc598 : Reini Urban): The build is still failing. https://travis-ci.org/perl11/cperl/builds/189544939
18:22 travis-ci perl11/cperl#2110 (smoke/master - 81838e3 : Reini Urban): The build is still failing. https://travis-ci.org/perl11/cperl/builds/189570662
19:07 anton joined #perl11
19:59 willthechill joined #perl11
20:18 travis-ci perl11/cperl#2110 (smoke/master - 81838e3 : Reini Urban): The build has errored. https://travis-ci.org/perl11/cperl/builds/189570662
20:18 karjala hello willthechill
20:19 willthechill karjala: hello my friend, how are you?  :-)
20:19 karjala I'm fine, thanks.
20:19 willthechill good to hear it!
20:19 karjala I'm sad about the fact that Perl doesn't have async/await yet.
20:19 willthechill well that's a very interesting point you bring up
20:20 karjala Async/await has really helped me in my JavaScript work
20:20 willthechill the main things we plan to copy/borrow from Perl 6 are their ways of handling asynchronicity, concurrency, parallelism, etc.
20:20 willthechill such as hyper-operators, supplies, etc.
20:20 karjala really?? exellent!
20:21 willthechill yes, out of all the insane high-magic they have added to Perl 6, the parallelism parts make (mostly) good sense
20:22 willthechill and since RPerl already supports auto-parallelization starting w/ v2.0 released last July, it will be possible to add Perl 6 style parallelism as well
20:22 willthechill I could definitely use some help with this task!
20:22 karjala Would we have something like AnyEvent as well? I mean, a way to set up a TCP/IP server?
20:22 willthechill *hint hint wink wink*
20:22 willthechill I am very much open to that
20:22 karjala should I learn C for that?
20:22 willthechill but again, I need help, haha!
20:22 willthechill yes either C or C++ will work
20:23 karjala I've only started learning C this week
20:23 karjala reading from Kernighan & Ritchie
20:23 karjala Still on chapter 1
20:23 willthechill I suggest C++11 because we already have C++11 support built into RPerl and C++11 has some very advanced features that could make it easy
20:23 karjala ok, shouldn't I learn some C before I go to C++?
20:23 willthechill sure, start with C, then upgrade to C++, and finally learn the new parts of C++11
20:23 karjala excellent!
20:24 willthechill and you definitely do not need to know ALL of C or C++
20:24 willthechill you just need to know the parts which relate to this issue
20:24 willthechill (of course, learn all you can!)
20:25 willthechill for example, do some research and see if C++11 already offers any async features which we can use
20:25 willthechill C++11 provides some really great new stuff we use in RPerl, such as smart pointers and unordered_map, etc.
20:29 karjala If C++11 doesn't support any async features, isn't that a problem?
20:29 karjala ok, whatever.
20:29 karjala Sorry, stupid question
20:32 karjala I mean that maybe it's not possible to map 1-1 a perl program with asyncronicity into a C++ program, because C++ might not have async features
20:32 karjala have you thought of that possibility?
20:40 karjala So RPerl is going to become a better Perl!
20:40 karjala can it have better garbage collection as well?
20:40 karjala willthechill: ^^
20:41 willthechill sorry was awak
20:41 willthechill *away
20:41 karjala ok ok
20:41 willthechill just a moment
20:42 willthechill the core functionality of RPerl is to generate C++ output code from Perl input code, so no matter what we do we will be generating C++ output code, even if we have to create our own C++ async libraries
20:42 willthechill if C++11 already has some async support, then great, it just saves us the work of implementing our own C++ async library
20:43 willthechill and yes, RPerl is already better than Perl in at least 2 ways: speed & simplicity
20:43 willthechill :-)
20:43 karjala do circular references cause memory leaks in RPerl?
20:44 willthechill but RPerl is NOT meant to be like Perl5i or moe or other projects which break backward compatibility w/ Perl 5, all our new RPerl features (such as SSE support which already exists) are implemented as add-on features which do not break Perl tiself
20:44 willthechill *itself
20:44 willthechill not sure about circular references, don't think I've tested that one out for myself
20:44 willthechill put it on your to-do list once you learn C++, haha!  ;-)
20:44 karjala ok!
20:45 karjala But the garbage collection model needs to be defined early, because people are going to use it in their programs and then you won't be able to change it.
20:46 karjala A lot of perl5 code for example already uses circular references on purpose, so the garbage collection model cannot change now.
20:47 karjala I'm off to read some C, bye
20:57 travis-ci perl11/cperl#2111 (smoke/master - 46820a4 : Reini Urban): The build is still failing. https://travis-ci.org/perl11/cperl/builds/189610047
21:02 willthechill karjala: C++11 smart pointers offer rudimentary garbage collection, that is our only current GC mechanism for now
21:03 karjala oh
22:04 travis-ci perl11/cperl#2112 (smoke/master - 5261eab : Reini Urban): The build was fixed. https://travis-ci.org/perl11/cperl/builds/189632282

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