I have been following the development of the Raku programming language since the very beginning. It was Perl 6 for many years, and I had a dream to start using it in real projects. Honestly, I could, to some extent. The timeline for the last 20+ years was not linear at all, and had its … Continue reading “Raku++ — the fastest Raku compiler”
A Language a Day
I published my new book: A Language a Day, which is a collection of brief overviews to 21 programming languages.
I published my new book: A Language a Day, which is a collection of brief overviews to 21 programming languages.
London Perl & Raku Workshop 2024
This year, there was another London Perl Workshop 2024, I decided to attend it.
This year, there was another London Perl Workshop 2024, I decided to attend it.
ChatGPT 4o translated my Raku course
How ChatGPT helped me to get hundreds of translations in minutes.
How ChatGPT helped me to get hundreds of translations in minutes.
AI and ML to predict no-shows
A story of how I used AI and ML 8 years ago to predict no-shows in the Escape room business.
A story of how I used AI and ML 8 years ago to predict no-shows in the Escape room business.
Sorting numbers in Raku with the help of ChatGPT
Solving the task from The Weekly Challenge 233, where you need to sort numbers by two dimensions.
Solving the task from The Weekly Challenge 233, where you need to sort numbers by two dimensions.
Working with words in the Raku programming language
A solution to the task 1 of the Weekly Challenge 233, where the goal is to find the words constructed from the same letters.
A solution to the task 1 of the Weekly Challenge 233, where the goal is to find the words constructed from the same letters.
A couple of tasks solved in Raku
Two tasks from the Weekly Challenge 231 solved in the Raku programming language.
Two tasks from the Weekly Challenge 231 solved in the Raku programming language.
Calculator with Roman numbers using Raku Grammars
Using Raku grammar, I created a simple calculator that works with Roman numbers, for example: `XXI + MCMXIX`.
Using Raku grammar, I created a simple calculator that works with Roman numbers, for example: `XXI + MCMXIX`.
Counting Fridays the 13th in Raku
The Raku solution to the following task: Write a script to find out how many dates in the year are Friday 13th, assume that the current Gregorian calendar applies.
The Raku solution to the following task: Write a script to find out how many dates in the year are Friday 13th, assume that the current Gregorian calendar applies.
Built-in classes in Perl 5.38
This week, the new version of Perl was announced. The new version 5.38 is extremely interesting because it introduces classes, which are built-in in the core language. The feature is currently marked as experimental, but nevertheless it was interesting for me to try it out.
This week, the new version of Perl was announced. The new version 5.38 is extremely interesting because it introduces classes, which are built-in in the core language. The feature is currently marked as experimental, but nevertheless it was interesting for me to try it out.
Solving Task 2 of the Weekly Challenge 204 with the help of ChatGPT
Let us solve the second task from the Weekly Challenge 204. It is called ‘Reshape matrix’.
Let us solve the second task from the Weekly Challenge 204. It is called ‘Reshape matrix’.
Dialogues with ChatPGP about the Raku programming language. Solving Task 1 of the Weekly Challenge 204
Let us ask ChatGPT to find a solution and then correct it to make it more Raku-ish. This task, the machine solved the thing from the first attempt, but you can follow how we managed to make it better and more compact. Most (except one) of the generated code workes without compiler errors, so I will not concentrate on it here.
Let us ask ChatGPT to find a solution and then correct it to make it more Raku-ish. This task, the machine solved the thing from the first attempt, but you can follow how we managed to make it better and more compact. Most (except one) of the generated code workes without compiler errors, so I will not concentrate on it here.
Computing factorials using Raku
In this post, I am demonstrating different ways of computing factorials using the Raku programming language.
In this post, I am demonstrating different ways of computing factorials using the Raku programming language.
The course of Raku
I am happy to report that the first part of the Raku course is completed and published. The course is available at course.raku.org.
I am happy to report that the first part of the Raku course is completed and published. The course is available at course.raku.org.
Raku Challenge, Week 92, Issue 1
This week’s task has an interesting solution in Raku. So, here’s the task:
You are given two strings $A and $B. Write a script to check if the given strings are Isomorphic. Print 1 if they are otherwise 0.
This week’s task has an interesting solution in Raku. So, here’s the task:
You are given two strings $A and $B. Write a script to check if the given strings are Isomorphic. Print 1 if they are otherwise 0.
Advent of Code 2020 Day 18/25 in the Raku programming language
Today there’s a chance to demonstrate powerful features of Raku on the solution of Day 18 of this year’s Advent of Code. The task is to print the sum of a list of expressions with +, *, and parentheses, but the precedence of the operations is equal in the first part of the problem, and … Continue reading “Advent of Code 2020 Day 18/25 in the Raku programming language”
The second wave of Covid.observer
In this post, I am telling a story of how updating covid.observer became a bit problematic, and how one of the developers of the Rakudo compiler helped not only to remove the errors but also to speed up the whole system by 2x.
In this post, I am telling a story of how updating covid.observer became a bit problematic, and how one of the developers of the Rakudo compiler helped not only to remove the errors but also to speed up the whole system by 2x.
Raku Challenge Week 91
Here’s my Raku breakfast with the solutions of Week 91 of The Weekly Challenge. A couple of simple programs with Raku arrays.
Here’s my Raku breakfast with the solutions of Week 91 of The Weekly Challenge. A couple of simple programs with Raku arrays.
Advent of Code 2020 Day 12.1/25 in the Raku programming language
Here is my solution of the first part of Day 12 of this year’s Advent of Code. The point in this solution is that I use multi functions a lot. Well, actually, the whole logic of the program is based on the dispatching rules of the variants of a single multi function. We start with … Continue reading “Advent of Code 2020 Day 12.1/25 in the Raku programming language”