Announcement

Collapse
No announcement yet.

Perl 6 Unveiled

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Perl 6 Unveiled

    Phoronix: Perl 6 Unveiled

    Perl 6 was unveiled last night in San Francisco by Larry Wall...

    http://www.phoronix.com/scan.php?pag...erl-6-Unveiled

  • #2
    As they say, Perl is the only language that looks the same before and after encryption.

    Comment


    • #3
      When your Perl is so advanced it looks like line noise...

      Comment


      • #4
        Yay, we got both Duke Nukem Forever and Perl 6!

        Next up flying cars, hyperspace and nuclear fusion reactors!

        Now if we can get GIMP and Firefox on Wayland.

        Comment


        • #5
          Originally posted by uid313 View Post
          Now if we can get GIMP and Firefox on Wayland.
          I'm going to start taking a couple shots of bourbon every time you mention Wayland in a non-Wayland thread. If I die of alcohol poisoning, it's your fault.

          Comment


          • #6
            Finally a language that properly supports Unicode:

            [email protected]:~> python3 -q
            >>> print("i\u0307")

            >>> print(len("i̇"))
            2

            [email protected]:~> perl6
            > say "i\c[COMBINING DOT ABOVE]" # You don't have to remember code point numbers!

            > say "i̇".chars
            1

            And a language that properly does math:

            [email protected]:~> python3 -q
            >>> .1 + .2 == .3
            False

            [email protected]:~> perl6
            > .1 + .2 == .3
            True

            And a language with proper grammars:
            grammar BalBrack {
            token TOP {^<balanced>*$};
            token balanced { '[]' | '[' <balanced> ']' }
            }
            And much, much more
            Using Python only as an example btw. Most languages have those same flaws.

            Comment


            • #7
              I love perl. It is a different programming language in respect to others in so many ways. It should be a mandatory package both in UNIX and Windows. I have it installed in both platforms.

              Comment


              • #8
                Originally posted by niner View Post
                And a language that properly does math:

                [email protected]:~> python3 -q
                >>> .1 + .2 == .3
                False
                I tested here too:
                Code:
                >>> print(.1 + .2 == .3)
                False
                >>> print(.1 + .3 == .4)
                True
                >>> print(.1 + .4 == .5)
                True
                >>> print(.1 + .1 == .2)
                True
                Looks like a strange bug!

                EDIT: reported here http://bugs.python.org/issue25333

                EDIT2: not a bug.... :-( See here: https://docs.python.org/3.5/tutorial/floatingpoint.html
                Last edited by rudregues; 07 October 2015, 09:14 AM.

                Comment


                • #9
                  I think Perl6 is pretty cool. But it's got a hell of an uphill battle to fight for popularity. I wish them well.

                  Comment


                  • #10
                    Originally posted by jpp650 View Post
                    I love perl. It is a different programming language in respect to others in so many ways. It should be a mandatory package both in UNIX and Windows. I have it installed in both platforms.
                    It seems everyone who knows perl really likes it, but everyone who doesn't know it has no interest in it whatsoever. Perl has pretty much been obsoleted by other languages like python or ruby, but I don't think it'll ever completely die; it'll just linger around in obscurity, like fortran. That being said, I disagree that it should be a mandatory or even suggested package for any OS. Python is (generally speaking) more useful but I don't find that mandatory either.

                    Nothing against perl - it was amazing for it's time, but it's showing its age.

                    Comment

                    Working...
                    X