Live data from Hacker News

A Complete Course of the Raku programming language

course.raku.org

21–30 of 110 posts

Re: A Complete Course of the Raku programming language

#21
post #7

Over the years I have learned and dipped my toes in many programming languages, and I'd need some kind of reason to look into yet another language. What are Raku's main contributions to the programming language design space that I probably haven't seen elsewhere?

Hyperoperators by The Damian.

Re: A Complete Course of the Raku programming language

#22

Is perl or "Raku" still used in serious new applications these days? I'm not talking about gluing stuff together with scripts - I mean a large project operating wholly under it

There are many Perl projects used in serious applications. Here's a few:

https://www.rexify.org/ -- an automation framework

https://mojolicious.org/ -- amazing web framework

https://metacpan.org/pod/DBIx::Class::Manual - amazing ORM

Re: A Complete Course of the Raku programming language

#23
post #6

Sadly only first part is complete. Raku is the much more functionally inspired new Perl. It’s the renaming of Perl 6 and means “camel” or “paradise” in Japanese.

Is Perl/Raku widely used these days? Are they worth learning? I've always been curious about those languages but I've had the impression that people are moving away from them.

In general no, but between the two: Raku is essentially used in nothing, so your time would be better spent learning Perl.

Re: A Complete Course of the Raku programming language

#24
post #7

Over the years I have learned and dipped my toes in many programming languages, and I'd need some kind of reason to look into yet another language. What are Raku's main contributions to the programming language design space that I probably haven't seen elsewhere?

Rational numbers instead of floating point as the default real type.

Re: A Complete Course of the Raku programming language

#25
post #7

Over the years I have learned and dipped my toes in many programming languages, and I'd need some kind of reason to look into yet another language. What are Raku's main contributions to the programming language design space that I probably haven't seen elsewhere?

Gradual / optional type declaration, grammars as a first class language feature, async / parallel programming, rational numbers, lazy evaluation, OOP with classes and roles and an underlying metaobject protocol.

Re: A Complete Course of the Raku programming language

#26
post #6

Sadly only first part is complete. Raku is the much more functionally inspired new Perl. It’s the renaming of Perl 6 and means “camel” or “paradise” in Japanese.

Is Perl/Raku widely used these days? Are they worth learning? I've always been curious about those languages but I've had the impression that people are moving away from them.

We use Raku for various things. For example, generating job workflows. It has an amazing type and object system.

Re: A Complete Course of the Raku programming language

#27
post #7

Over the years I have learned and dipped my toes in many programming languages, and I'd need some kind of reason to look into yet another language. What are Raku's main contributions to the programming language design space that I probably haven't seen elsewhere?

Gradual / optional type declaration, grammars as a first class language feature, async / parallel programming, rational numbers, lazy evaluation, OOP with classes and roles and an underlying metaobject protocol.

The real bummer about optional typing is that it doesn’t speed up the program. I used it all over thinking that I was “optimizing” or helping the compiler. Really I was creating more work for it.

Re: A Complete Course of the Raku programming language

#28

Is perl or "Raku" still used in serious new applications these days? I'm not talking about gluing stuff together with scripts - I mean a large project operating wholly under it

Short answer: no, Perl is a very rare choice for starting a "serious new application", and Raku's even further off.

In Perl's case, it's not that the production-ready libraries and frameworks aren't there -- they are, and they are fast and stable and in some cases very sophisticated -- but simply that the community of developers likely to start a "serious new application" has passed Perl by for more modern (e.g., Rust, Elixir, Kotlin, Go even if its ideas are old) or ubiquitious (e.g. JS, Python) choices.

In Raku's case, there is not a deep bench of libraries and tools suitable for production.

In both cases, hiring for previous knowledge is not practical.

Re: A Complete Course of the Raku programming language

#29
post #27

Earlier quoted context omitted.

Gradual / optional type declaration, grammars as a first class language feature, async / parallel programming, rational numbers, lazy evaluation, OOP with classes and roles and an underlying metaobject protocol.

The real bummer about optional typing is that it doesn’t speed up the program. I used it all over thinking that I was “optimizing” or helping the compiler. Really I was creating more work for it.

The goal is definitely that it can enable greater optimisation and I agree that it's not a reality yet. The other benefit is that it constrains types so that you get compile time type checking, which is very useful.

Re: A Complete Course of the Raku programming language

#30

Is perl or "Raku" still used in serious new applications these days? I'm not talking about gluing stuff together with scripts - I mean a large project operating wholly under it

Does a static microblog generator[0] count as serious? I use it for my own, mostly linkblog [1].

[0] https://github.com/john-bokma/tumblelog

[1] https://plurrrr.com/

Post reply on HN