Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Suggest you take a look at https://raku.org for a strongly (but gradual) typed scripting language.


that's just perl with a new coat of paint


Perl 5 does not have types, as far as I know.

I’m taking the GP seriously instead of dismissing it. Raku looks like more fun than nushell tbh.



    print 42 + 99;          # 141
    print &print.file ;     # ...src/core.c/io_operators.rakumod
    print &infix:<+>.file;  # ...src/core.c/Numeric.rakumod
    print ?CORE::<&print>;  # True 
I barely understood these four example lines.


It has. They are just poorly supported and disliked.


Lead paint with asbestos sprinkles and radium racing stripes! ;)


it is so much slower to start than perl, that you don't want to run it for quick one-off tasks


  ~ > time perl -e ''
  perl -e ''  0.01s user 0.01s system 10% cpu 0.179 total
  ~ > time raku -e ''
  raku -e ''  0.09s user 0.04s system 53% cpu 0.232 total
  ~ >


well waiting for Raku (formerly perl6) to be built was like watching paint dry


They should have named it Godot. ;) But now that name is taken.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: