Perl 6 - the future is here, just unevenly distributed

IRC log for #perl11, 2017-07-15

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

All times shown according to UTC.

Time Nick Message
01:27 travis-ci RPerl build passed. Will Braswell says 'RegEx Support, Update Test Success Output'
01:27 travis-ci https://travis-ci.org/wbraswell/rperl/builds/253801376 https://github.com/wbraswell/rperl/compare/a8804dc5fedf...3431f88954a7
01:28 willthechill GREAT
01:28 willthechill :-D
02:26 willthechill joined #perl11
04:03 travis-ci RPerl build passed. Will Braswell says 'Type System, Properly Cast int To integer In diag()'
04:03 travis-ci https://travis-ci.org/wbraswell/rperl/builds/253829482 https://github.com/wbraswell/rperl/compare/3431f88954a7...2f2272d5e269
04:19 willthechill sweet
04:38 bulk88_3 joined #perl11
06:53 travis-ci Alien::PCRE2 build passed. Will Braswell says 'Tests, Upgrade To Test::Alien, Part 1'
06:53 travis-ci https://travis-ci.org/wbraswell/alien-pcre2/builds/253857603 https://github.com/wbraswell/alien-pcre2/compare/ad2f7d0783ae...5ee2c2ee1e71
06:56 yukikimoto joined #perl11
07:03 yukikimoto Hi, I'm Yuki Kimoto. I receive email from William N. Braswell, Jr.
07:03 yukikimoto I'm author of SPVM.
07:04 travis-ci perl11/cperl#2969 (maint-5.26c - 067938a : Reini Urban): The build passed. https://travis-ci.org/perl11/cperl/builds/253857093
07:05 yukikimoto thank you for adding SPVM to perl11 project. http://perl11.org/
07:35 travis-ci perl11/cperl#2970 (smoke/gh16-class - b565799 : Reini Urban): The build passed. https://travis-ci.org/perl11/cperl/builds/253857326
07:39 willthechill yukikimoto: hi there!  :-)
07:40 willthechill I'm Will
07:40 willthechill we are very glad to add SPVM to the Perl 11 family!
07:43 yukikimoto tyank you.
07:44 willthechill I am very happy to answer any questions you may have about Perl 11 or RPerl
07:46 yukikimoto I try to install RPerl. but I can't install RPerl.
07:48 yukikimoto IO::Socket::SSL is needed?
07:48 yukikimoto and Math::BigInt::GMP?
07:49 yukikimoto Is RPerl depend on non perl library, for example, open-ssh-devel
07:51 willthechill yes RPerl has many dependencies from CPAN
07:52 willthechill IO::Socket::SSL is not directly used by RPerl, it is some subdependency which causes everyone headaches
07:52 willthechill GMP is important because it is used for math
07:52 willthechill when RPerl code is compiled into C++, it directly accesses libgmp without going through Perl whatsoever, which means that RPerl does have non-Perl dependencies as well, including libgmp
07:53 willthechill also astyle, pluto AKA polycc, libpcre2, libjpcre2, etc
07:53 willthechill those are all non-Perl dependencies
07:53 willthechill I can help you get RPerl installed
07:56 travis-ci perl11/cperl#2971 (master - 1276c2b : Reini Urban): The build passed. https://travis-ci.org/perl11/cperl/builds/253857349
07:57 yukikimoto I have CentOS 7. maybe need open-ssl and gmp library.
07:58 yukikimoto And astyle, pluto AKA polycc, libpcre2, libjpcre2 are needed?
07:59 yukikimoto Can I find rpm default repository in Cent OS 7?
07:59 willthechill astyle, libpcre2, and libjpcre2 are automatically built by RPerl
07:59 willthechill via Alien::astyle and Alien::PCRE2 and Alien::JPCRE2
08:00 willthechill I have not yet implemented Alien::Pluto, you can skip it for now
08:00 willthechill I have not yet implemented Alien::GMP so you will need to find the CentOS repositories for that or build it yourself
08:01 willthechill we have an RPerl installation script which was created for Ubuntu, but it can be upgraded to work with CentOS as well...
08:01 willthechill https://github.com/wbraswell/rperl/blob/master/script/rperl_installer.sh
08:02 willthechill there is already a bit of CentOS code enabled    https://github.com/wbraswell/rperl/blob/master/script/rperl_installer.sh#L445-L454
08:06 yukikimoto What is need to install by cpanm RPerl?
08:06 yukikimoto need -> needed
08:08 willthechill it will fail test t/07_gmp_type.t if libgmp is not installed
08:08 willthechill it will fail all tests of gcc v4.8 is not found
08:08 willthechill actually now it will fail prerequisites of Alien::JPCRE2 if gcc v5.3 (I think) is found
08:09 willthechill *is not found
08:09 willthechill so mostly libgmp and gcc
08:09 willthechill then you should be able to do `cpanm -v RPerl`
08:09 yukikimoto cc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)
08:10 yukikimoto cc -> gcc
08:10 willthechill hmm I don't think it will work for Alien::JPCRE2
08:10 willthechill but it is worth a try!
08:10 willthechill if not then you will need to upgrade gcc
08:11 willthechill JPCRE2 is a new dependency for RPerl v3.0 just released on July 4th, we have finally added medium-magic support for regular expressions
08:13 yukikimoto I've installed openssl-devel and gmp-devel. And retry cpanm.
08:13 yukikimoto Fail Alien::JPCRE2 installation.
08:15 willthechill hmm yeah you need updated gcc
08:16 yukikimoto If latest version of gcc is needed, most user can't install RPerl?
08:19 willthechill well it is 2 years old
08:20 willthechill and the upgrade from 4.8 to 5.3 is only a few months
08:20 willthechill so no major change there
08:21 willthechill if we want nice RPerl features then we must have a nice C++ compiler
08:22 travis-ci perl11/cperl#2972 (smoke/gh22-ffi - 0d20bec : Reini Urban): The build passed. https://travis-ci.org/perl11/cperl/builds/253857362
08:23 willthechill gcc 7 is already out, gcc 5 is not the "latest version of gcc"   https://gcc.gnu.org/gcc-7/
08:31 yukikimoto Sorry, I will try to install RPerl when I can use newer gcc in default environment.
08:32 willthechill okay we are also building the cloudforfree.org platform which will allow you to use RPerl inside your web browser running on the cloud
08:32 willthechill it works now as a demo, but not quite full version just yet  :-)
08:32 yukikimoto Cent OS 7 is newest version of Cent OS. I think it is good to support major environment.
08:33 willthechill well I am open to suggestions
08:40 willthechill option A: disable regex support for people using old compilers
08:40 willthechill option B: give people the ability to use the LAMP installer to install a new compiler via repos
08:41 willthechill option C: give people the ability to use the LAMP installer (of which the RPerl installer is a subset) to install a new compiler via download & build
08:41 willthechill option D: help CentOS get a good compiler
08:42 willthechill option E: help JPCRE2 change somehow to only require gcc v4.8 instead of v5.3
08:42 willthechill option F: create Alien::gcc (I was told that people will hate me if I do this)
08:43 willthechill so perhaps you can see that I've already given this quite a bit of thought and effort so far!  :-)
08:46 travis-ci perl11/cperl#2973 (cperl-tag-deploy-test - 1276c2b : Reini Urban): The build has errored. https://travis-ci.org/perl11/cperl/builds/253857871
08:55 yukikimoto For me, A is glad. I can try RPerl in my environment. I want to know compile time and runtime peformance of RPerl.
08:56 willthechill compile time: about twice as long as gcc (because half the time is spent in gcc)
08:57 willthechill runtime: same speed as gcc (tied with C/C++)
08:57 willthechill nobody can beat RPerl's speed  :-D
09:00 willthechill you can probably hack RPerl to force it to work on your old compiler, tell cpanm to force install Alien::JPCRE2, then once RPerl itself is installed you will need to edit the file RPerl/Inline.pm and disable the part(s) which enable jpcre2.hpp
09:02 willthechill if you would like to implement option A in order to automatically disable regex support for old compilers, then I will be happy to review your pull request    https://github.com/wbraswell/rperl/blob/master/CONTRIBUTING
09:09 travis-ci Alien::PCRE2 build passed. Will Braswell says 'Tests, Upgrade To Test::Alien, Part 2'
09:09 travis-ci https://travis-ci.org/wbraswell/alien-pcre2/builds/253875953 https://github.com/wbraswell/alien-pcre2/compare/5ee2c2ee1e71...cb2c99f3b585
10:37 travis-ci Alien::PCRE2 build passed. Will Braswell says 'Tests, Upgrade To Test::Alien, Part 3'
10:37 travis-ci https://travis-ci.org/wbraswell/alien-pcre2/builds/253889428 https://github.com/wbraswell/alien-pcre2/compare/cb2c99f3b585...ca9bde351cff
10:52 travis-ci Alien::PCRE2 build passed. Will Braswell says 'CPAN Release, v0.009000'
10:52 travis-ci https://travis-ci.org/wbraswell/alien-pcre2/builds/253891573 https://github.com/wbraswell/alien-pcre2/compare/ca9bde351cff...8a753e95e738
11:46 yukikimoto joined #perl11
11:49 yukikimoto I go back from dinner.
11:50 yukikimoto If A is OK, I will try to install RPerl.
13:00 willthechill yukikimoto: this room is logged so you can see what I wrote around the time you left
13:00 willthechill http://irclog.perlgeek.de/perl11/
13:01 willthechill "you can probably hack RPerl to force it to work on your old compiler, tell cpanm to force install Alien::JPCRE2, then once RPerl itself is installed you will need to edit the file RPerl/Inline.pm and disable the part(s) which enable jpcre2.hpp"
13:01 willthechill "if you would like to implement option A in order to automatically disable regex support for old compilers, then I will be happy to review your pull request    https://github.com/wbraswell/rperl/blob/master/CONTRIBUTING"
13:02 willthechill I must go to sleep now, I will be back online later, talk to you soon!  :-)
13:15 lizmat joined #perl11
16:55 travis-ci perl11/cperl#2973 (cperl-tag-deploy-test - 1276c2b : Reini Urban): The build has errored. https://travis-ci.org/perl11/cperl/builds/253857871
17:44 anton joined #perl11
22:52 willthechill joined #perl11

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