r/rakulang • • May 01 '22

Introducing Raku Support in Visual Studio Code

41 Upvotes

Hey All,

I just released a simple Raku extension for Visual Studio Code. Vscode recognizes Perl 6, but this adds explicit Raku support, a raku icon, syntax highlighting, and a simple language server to provide syntax checking. The syntax highlighting is from the official Atom extension. The language server is based on my work on the Perl Navigator, a full-featured language server that provides autocompletion, goto definition, hover, linting, code formatting (via Perl::Tidy), etc for Perl 5.

I was surprised that not a single other vscode extension exists for "Raku" (although a couple unmaintained Perl 6 ones are on the marketplace). If anyone wants to contribute, I'll happily take pull requests. Long-term, I'd love to add some of the features from the Perl Navigator, which primarily works by inspecting the symbol table and coderefs.

https://marketplace.visualstudio.com/items?itemName=bscan.raku-navigator
https://marketplace.visualstudio.com/items?itemName=bscan.perlnavigator


r/rakulang • • May 26 '21

Freenode staff has nuked the Raku channels

35 Upvotes

This morning around 3am UTC, current Freenode staff has decided that the Raku chat channels on Freenode (#raku, #raku-dev, #moarvm, #cro, #mugs, #red, #raku-gamedev) were in violation of freenode policy. See e.g.: https://colabti.org/irclogger/irclogger_log/raku-dev?date=2021-05-26#l7

Please note that all of these channels are now available on irc.libera.chat.


r/rakulang • • Jul 18 '22

What do yall use raku for?

33 Upvotes

I learned about this fantastic language a couple of days ago and wanted to know how it could be used.

I also would like to know why you are using it for that purpose.


r/rakulang • • May 15 '22

Raku Navigator updates: outline view, breadcrumbs, go to definition, and autocomplete

33 Upvotes

r/rakulang • • Oct 29 '21

1000 members!

33 Upvotes

I noticed we've finally crossed the 1k threshold.

say "🦋" x 10³

r/rakulang • • Sep 29 '21

The new MoarVM dispatch mechanism is here! - Jonathan Worthington

Thumbnail
6guts.wordpress.com
32 Upvotes

r/rakulang • • Mar 24 '22

Just a simple note of thanks to all the good people who made Raku possible

31 Upvotes

I've been learning Raku over the last couple of months and I am enjoying myself. I feel like I'm becoming a much stronger programmer that will be able to write much better, higher-quality code and it's already helping me pull off some neat tricks that I couldn't do otherwise. And ++ for making it so damn easy to write and distribute a module.

So thanks to everyone behind Raku over the years. I'm excited to see where it might bring me and the rest of the programming world, too. Fingers crossed.


r/rakulang • • Jun 12 '25

When did Rakudo get so fast?

30 Upvotes

I am mostly programming in Perl, but taking a look at Raku from time to time out of curiosity. My two blockers in adopting Raku are: it is too slow, and I am too stupid to fully understand it.

Well, it seems like the first blocker is gone. I spent some time benchmarking some small programs and aside from the huge startup time (0.4 sec) Raku consistently beats Perl with any object oriented code. I suspect either Raku is cheating the benchmarks a bit (maybe JITting its way through them?) or it got a hell of a lot faster than it was last time I looked at it, which was several (3?) years ago. It even calculates fibonacci numbers with bigints a bit faster than Perl does with floats.

I also compared with Python, and while Python calculated fibonacci faster than Raku at first, it dropped to the same speed when I made it use methods for setters/getters instead of raw object field access. Raku does not seem to care much whether I has $.field is rw and use it as a normal field or has $!field and use dedicated methods for setting and getting - speed is about the same.

I would appreciate it if someone could update me on the latest Rakudo advancements. How well developed is JIT right now? Were there any big performance improvements lately (I looked through some recent changelogs, but could not find anything substantial)? Are there any further notable performance improvements underway?

Anyway, good job Rakudo developers.


r/rakulang • • Mar 14 '20

RIP Jeff Goff (aka DrForr)

30 Upvotes

Our dear friend Jeff Goff has died in a scuba diving accident. He told me and many others about how he looked forward to learning more about scuba diving, getting more experienced in it, during the JoCo Cruise ( https://jococruise2020.sched.com/jeff_goff.1zitf4ff ). Apparantly, something went horribly wrong.

We have learned to know Jeff as a warm, loving man, with a great sense of humour, wonderful ideas, and always helpful. Last time we saw him when he took over from us at the Perl & Raku booth at FOSDEM in Brussels.

The Perl & Raku communities will miss him dearly, as he was one volunteer who has done a lot of things to make things happen, to make things better.

Please do not contact his mother or other family with requests about how the accident happened. Please wait for more information about what actually happened, it will be presented when we have it.

If you want to send condolences to the family, please do so to the following address:

c/o Family Goff
PO Box 118
St. Ignatius,
MT 59865
USA

r/rakulang • • Sep 29 '26

Raku++ v5.0.0 reaches 100.00% of Roast

Thumbnail andrewshitov.com
29 Upvotes

r/rakulang • • Jun 10 '23

TIOBE Index: Raku enters the top 50 for the first time.

29 Upvotes

r/rakulang • • Jul 15 '26

The Complete Raku Course is now complete!

28 Upvotes

Yey, after a pause caused by covid and war, I am back to full speed. I am happy to announce that the Raku Course is now ready: https://course.raku.org.

All the planned items are there. On top of that there are some improvements to the original plan. More on what's new: https://andrewshitov.com/2026/07/15/the-complete-course-of-the-raku-programming-language/

The most exciting addition is probably an online Raku playground, which can serverlessly handle a big portion of Raku right in a browser.


r/rakulang • • Jul 13 '26

GitHub - ash/rakupp: Raku++ — a Raku language interpreter and compiler written from scratch in C++17, validated against the Roast spec suite.

Thumbnail
github.com
27 Upvotes

r/rakulang • • Feb 01 '22

7 years today as Perl 6 was announced to be ready

27 Upvotes

This day 7 years ago, Larry announced that Perl 6 was coming soon.

This happenned in the main track at FOSDEM, in the main hall with all the seats occupied and some people standing. Here's the talk description: https://archive.fosdem.org/.../event/get_ready_to_party/.

And here's my audio recording from some remote seat in the room: https://www.youtube.com/watch?v=JK0TYo8d7Bw. Unfortunately, the official video recording is lost.

I shared some photos here: https://www.facebook.com/groups/raku.perl6/posts/3134404963492508/.

And let me remind that we have a Raku devroom track at FOSDEM this coming Saturday (Feb 5): https://fosdem.org/2022/schedule/track/raku/.


r/rakulang • • Jan 01 '22

2021 Advent of Raku posts attract record visitors (180% of 2020)

27 Upvotes

This is also represents 590% of the 2019 visitors (the inaugural year for Advent of Raku rather than Perl 6). Here's to an even better 2022 – Happy New Year, everyone!


r/rakulang • • Jul 16 '25

Raku 6.e

Thumbnail
youtu.be
26 Upvotes

r/rakulang • • Sep 23 '21

Raku's surprisingly good Lisp impression

Thumbnail
codesections.com
26 Upvotes

r/rakulang • • Mar 15 '21

Towards a new general dispatch mechanism in MoarVM - Jonathan Worthington

Thumbnail
6guts.wordpress.com
26 Upvotes

r/rakulang • • Jan 15 '21

Raku is friggin' slow

26 Upvotes

I love the language. I enjoy watching as other languages pick up on some of the core concepts of Raku. In particular Rust seems to have followed a lot of the design principles (LTA error messages, anyone?) But, I could never provide a service in perl6 Raku. It's a tool I use locally. For short term productivity gains. It also helps me understand concepts - the rules around how dynamic variables work in the context of async streams were informative. But f*** me, my guys. It's slow. Simple optimisationz seem impossible. Maps with integer keys for example. It feels like, even though some of the broader-spectrum design decisions make sense, some of it just doesn't make sense in 2021. Why are map keys always strings? Without unboxed keys it feels like a ridiculous penalty that I simply can't be arsed to pay when $literallyAnyOtherNormalLanguage exists. The meta-programming semantics are phenomenal -- but they're 100x slower than the shit you could implement yourself as bookkeeping in most other language would be. I know there's been some really hard graft on this by people in the community - Jonathan and Liz stand out IMO - but is it remotely likely that Raku can ever be more than the Smalltalk of the 21st century?


r/rakulang • • Jun 12 '22

The Raku Conference 2022 Online

Thumbnail
conf.raku.org
25 Upvotes

r/rakulang • • Feb 02 '22

Raku is going BASIC

25 Upvotes

So I've finally been playing around with RakuAST, but also a lot more with slangs. Before I returned to working on creating a binary regex system, I wanted to make sure I had a handle on both RakuAST and slangs. Result? A nice little test module that enables methods written in a (currently) very limited BASIC language.

class-basic Foo {
    method raku-square ($x) {
        $x²
    }
    method-basic basic-square (X) {
        10 LET Y = 0
        20 LET Z = X
        30 LET Y = X + Y
        40 LET Z = Z - 1
        50 IF  Z > 0 THEN 30
        60 RETURN Y
    }
}

say Foo.raku-square(2);   #   4
say Foo.raku-square(4);   #  16
say Foo.basic-square(5);  #  25
say Foo.basic-square(10); # 100

class-basic is really just a class, just right now things are hardcoded to use it (since I'll eventually be doing extra processing in a grammar-like thing). What's cool here is that it has both Raku code and BASIC code running side by side, but the BASIC code in no way follows Raku syntax (in fact, it'll even yell at you if the line numbers don't go in order ^_^ )

There's still a bit of work that I have to go with it (and the BASIC interpreter isn't 100% accurate — it'll divide into rats, and doesn't have an input option, but those aren't super important for the test case).

If you've got a DSL you want to really integrate into Raku, hopefully the BASIC Test module will show you how (and lead to all sorts of other cool experiments on manipulating Raku). As long as you can convert it into Raku code (and are willing to generate the RakuAST for it), then you can make it happen.


r/rakulang • • Feb 24 '21

GitHub started highlighting code for *.raku files

25 Upvotes

r/rakulang • • Oct 29 '19

TPF response to Raku rename

Thumbnail news.perlfoundation.org
24 Upvotes

r/rakulang • • Feb 14 '24

Raku Language Server Updates

23 Upvotes