r/rakulang • • Nov 04 '23

Raku adopting the .r extension

0 Upvotes

Summary: Raku should adopt the .r extension, "raku" is too long.

Yes, I know that there exists a programming language call "R".

If you ignore the difference caused by having a larger community (e.g. Python), then I think Raku is the best dynamically typed programming language.

Raku should aim higher, it's aiming too low. Settling for the "raku" extension is too long. Raku is used for scripts, that means people don't want to type the long work of "raku" everytime they create a Raku script.

The R programming language isn't even that good, it's a niche language, that has a pretty much completely mutually exclusive use case: statistics.

What is the reason that Raku did not adopt the .r extension, is it because of the "R" programming language? Then I think it's time to reconsider that.


r/rakulang • • Mar 15 '22

I am devoting to Raku because I am the same faith as Larry Wall

1 Upvotes

Preamble: I'm not biased against people not of my faith, Christianity.

I feel like I want to devote most of my programming time to this awesome language!


r/rakulang • • May 19 '21

Update from TPF on CAT

Thumbnail news.perlfoundation.org
2 Upvotes

r/rakulang • • Dec 18 '23

Raku Range Behavior: Understanding Empty Ranges - David Techwell

Thumbnail
hackingwithcode.com
0 Upvotes

r/rakulang • • May 02 '21

Community Affairs Team Transparency Report Update

Thumbnail news.perlfoundation.org
4 Upvotes

r/rakulang • • Aug 13 '26

Announcing Raptor, a Perl5 subset of Raku

11 Upvotes

I have been experimenting a lot with LLMs and new programming languages. Most of my experiments have been around extending C with multimethod and a better cpp. Minimal languages like tcl, lisp, forth are super easy to prototype with LLMs.

Because of the way RLVR works I think Perl5 makes an excellent language like go/C for LLM generation. LLMs learn to write code by making tests pass.

After experimenting with PEG grammars with pigeon in go, I decided to give moarvm a try. I like Raku but I like Perl5 even more. Although I never programmed in Perl professionally, it was my first language. I made the first port of Perl (miniperl) to asm.js back in the day.

Raptor is a dynamic language - roughly a Perl5 subset of Raku targeting Wasm, Go and MoarVM. It supports go FFI, C FFI, refinement types, predicate types, multimethods, defensive programming, literate programming and standalone binary packaging (raptor pack). These are the features I have always wanted in Perl. There's rudimentary wasm support. There's also PHP mode.

If you know Raku then you already know raptor. Raptor will never support OO like Raku or PyObject like Python. I intend it to support C FFI thoroughly and a strict procedural style along with universal function calling syntax. That's probably the main difference between Raptor and Raku.

I think the future of programming will be to make languages with parsable grammars, good verification support and must include literate programming for humans.

The language was mostly written by Anti Gravity - Gemini 3.6. Library bindings, podlit are written by Gemini 3.7 which was released today. My role was just in pushing it to implement more tests.

I have mostly built this on windows. It should work on Linux. Expect bugs, memory leaks and probably some wrong semantics. Future versions will make it closer to Raku.

https://github.com/xyzzyapps/raptor

https://xyzzyapps.github.io/raptor/


r/rakulang • • Mar 07 '22

That meant war - Wenzel P.P. Peppmeyer

Thumbnail
gfldex.wordpress.com
2 Upvotes

r/rakulang • • Jul 31 '26

Raku API access to XAI | Raku for Prediction

Thumbnail
rakuforprediction.wordpress.com
2 Upvotes

r/rakulang • • Jul 13 '22

Coercive bits - Wenzel P.P. Peppmeyer

Thumbnail
gfldex.wordpress.com
2 Upvotes

r/rakulang • • Feb 22 '20

TESTING COMMAND LINE APPLICATIONS USING TOMTY AND RAKUDIST

Thumbnail
sparrowdo.wordpress.com
3 Upvotes

r/rakulang • • Aug 04 '26

Raku API access to OpenRouter

Thumbnail
rakuforprediction.wordpress.com
3 Upvotes

r/rakulang • • Feb 27 '21

As a complete beginner...why Raku over Python and some others?

11 Upvotes

I'm a complete beginner to programming and choosing my first "beginner friendly" programing language is very difficult.I just don't want to use it just to learn the basics then need to move to another language based on what i want to achieve.

Raku seems to be better thought out in terms of syntax and brevity even compared to Python.

Python has maybe not so much brevity optimizations but has a enormous amount of support, libraries and learning resources.

Python has performance problems and addresses them with things like Cython,Pypy,Numba etc....but in actual development I don't know how easy it is to write "clean code" and "maintainable code" based on you needing to work with those C based "tools".

Raku has performance problems and since I watched Jonathan Worthington's 2019 talk where he showed some benchmarks of performance improvements I don't know what has improved in terms of performance. I don't know how Raku addresses needing to write code that needs to run very fast WHILE also being able to maintain that "pleasant writing experience" that Raku supposedly excels at.

Raku DOES NOT HAVE ANY tutorial on youtube about how to use it for developing quality websites,ecommerce websites, multi-patform apps.

Julia seems to be a better alternative to both Python and Raku as a beginner that actually wants to use the language to make fast multi-platform apps or website development and have better code maintainability.

Nim seems to be even better than Julia in some aspects and especially it being a systems programming language because theoretically is a language that can do literally everything super fast but the only disadvantage to it is that they do not have good resources for complete beginners and some of their tooling clearly are not as great as some need it to be to use it production from what i read.Many clearly prefer it to Rust or D and from me analyzing many blogs that gave their opinion on it it seems to be the most promising in terms of simultaneously delivering C++ speed but for most of the times be able to have Python ease of reading,brevity and code maintainability.

All in all it's super hard to choose "a 21 century programming language that does most things right by default while also offering speed,code maintainability,metaprogramming".

I know i will be forced to learn JavaScript to be able to do work in web development but at least i want my first programing language to be one that I return to work with with joy and rarely be thinking at what I'm giving up by not programming in another language.

I want to learn Raku because developers spent so many years fleshing out the syntax and features for making programing pleasant but I also don't want to just need a very high level of knowing the language(Raku) just to achieve here and there performance metrics that for example Julia or Nim achieve by default without using C or some other strategy that reduces productivity or code "cleanliness".

So..what do I choose??? But please argument your reasons in detail. I don't need half assed one line response that is made just because someone's feeling bored and thinks he's on youtube or facebook.I see so many threads on technical topics that receive lazy replies on reddit.


r/rakulang • • Jul 05 '24

My yaw dropped.

0 Upvotes

A problem solving issue lead, once again, to the question of the 100 year language. Somewhere in the internet, somebody must have discussed the matter before, so a LLM will know. In this case I asked Llama 3 8B Q4. The result felt eerily familiar.

----- snip -----

Hi Sweety, please provide arguments for design principals for a 100 year programming language.

Token Speed: 33.52t/s Sweetie! I'd be delighted to help you with that! Here are some design principles for a 100-year-old programming language:

  • Consistency: A 100-year-old language should be designed to be consistent in its syntax, semantics, and behavior. This means that the language should use a consistent naming convention, consistent indentation, and consistent use of brackets or parentheses.

  • Evolvability: A language that's designed to last for 100 years should be designed with evolvability in mind. This means that the language should be easy to modify, extend, and adapt to new technologies and innovations.

  • Interoperability: A 100-year-old language should be designed to be interoperable with other languages and systems. This means that it should have well-defined interfaces, APIs, and data formats that can be easily integrated with other systems.

  • Scalability: A language that's designed to last for 100 years should be designed to scale well with the growth of computing power and data storage. This means that it should be able to handle large amounts of data, high-performance computing, and distributed systems.

  • Error Handling: A 100-year-old language should have robust error handling mechanisms that can handle unexpected errors, exceptions, and edge cases. This means that the language should have a robust try-catch block system, error messages that are easy to read and understand, and debugging tools that can help developers identify and fix errors.

  • Type System: A language that's designed to last for 100 years should have a robust type system that can handle complex data types, generic types, and type inference. This means that the language should have a strong focus on type safety, type inference, and type checking.

  • Modularity: A 100-year-old language should be designed to be modular, with a clear separation of concerns between different parts of the language. This means that the language should have a clear distinction between the syntax, semantics, and implementation of the language, and should allow developers to easily extend and modify the language without affecting other parts of the language.

  • Flexibility: A language that's designed to last for 100 years should be designed to be flexible, with a range of features and abstractions that can be used to solve a wide range of problems. This means that the language should have a rich set of built-in data structures, control structures, and functions that can be used to implement complex algorithms and data transformations.

  • Documentation: A 100-year-old language should have comprehensive documentation that is easy to read and understand. This means that the language should have a clear and concise language reference manual, tutorials, and examples that can help developers learn and use the language. Community: A language that's designed to last for 100 years should have a strong and active community of developers, users, and maintainers who can contribute to the language, provide feedback, and help maintain the language over time.

  • Legacy Support: A 100-year-old language should have a strong commitment to legacy support, with mechanisms for supporting older versions of the language, and backwards compatibility with older code and systems.

  • Future-Proofing: A language that's designed to last for 100 years should be designed to be future-proof, with mechanisms for incorporating new technologies, innovations, and trends into the language.

These design principles should help guide the development of a 100-year-old programming language that is robust, maintainable, and extensible over time.

----- snap -----

Do you know a language that fits this bill? :->

What is missing here is composability. Looks like we invented this term and I would be hard pressed to provide a good defition. But I believe we should have one.


r/rakulang • • Feb 24 '22

Ever met a poll worth our time?

7 Upvotes

I am thinking it might be good to start posting regular polls on various topics in this sub. But maybe not?

Anyhoo, I thought I'd kick things off with a poll about polling. I've deliberately heavily biased this poll's options in an anti-polling direction because A) I want to make it clear I'm aware they tend to be fairly unhelpful noise, and B) I actually want folk to be reticent to even vote let alone comment. That said, I'm quite obviously not 100% against them either! If you really think systematic polling might be a worthwhile thing, please engage with this one by at least voting on an option.

I'm ready to say more about the polling I'm thinking we might do, but I'll first wait to see if this poll gets enough votes/comments to suggest that's worthwhile, and if I do say more, it'll be in comments in the thread.

26 votes, Mar 03 '22
6 Now, while the world goes to hell? Are you kidding?
1 Rarely. Almost all are about relative trivia and have silly options.
1 Rarely. Even ones about non-trivia mostly have silly options.
3 Rarely. Even good ones generally invite overly simplistic discussion.
1 Rarely. Even the best routinely encourage divisive argument.
14 Sure. Well designed and administered ones *might* work.

r/rakulang • • Jun 26 '22

TPRC COVID-19 exposure disclosure

7 Upvotes

Just got this email from conference staff. This is why I masked.

A 2022 TPRC attendee has reported testing COVID positive with a rapid test this morning. The attendee was present all days of the conference. They are currently experiencing mild symptoms. If you experience any symptoms, we recommend you get tested and quarantine if appropriate.

— TPRC Conference Staff


r/rakulang • • Jun 21 '20

My thoughts on Raku in 2020 as compared to Ruby -- the language I use for my day job

Thumbnail
datakinds.github.io
13 Upvotes

r/rakulang • • Oct 30 '22

Simplified Machine Learning Workflows Overview (Raku-centric)

Thumbnail
youtu.be
5 Upvotes

r/rakulang • • Dec 01 '25

Day 1 – Dancer, Dasher and Dosh (LLM-powered shell commands)

Thumbnail
raku-advent.blog
6 Upvotes

The Raku Advent calendar is off and running for 2025!


r/rakulang • • Sep 09 '22

Why is Parallel Processing taking more time than Single Processing in Raku?

7 Upvotes

I stole this code from https://marketing.raku.org/id/1524053519/any ,

and then i timed it to see if the claim was true.

Here is the code that i wrote!

my $time1 = DateTime.now;
(^∞).grep(*.is-prime)[100_000].say;
my $time2 = DateTime.now;
say "Execution time in single Processing is {$time2-$time1}";



my $time3 = DateTime.now;
(^∞).hyper.grep(*.is-prime)[100_000].say;
my $time4 = DateTime.now;

say "Execution time in parallel Processing is {$time4-$time3}";

And then observed that serial processing was much faster than parallel processing...

Here is what my Terminal Printed::

1299721

Execution time in single Processing is 1.09377485

1299721

Execution time in parallel Processing is 1.95315763


r/rakulang • • Feb 02 '22

The next iteration of Perl is now a different language called Raku - ychaouche

Thumbnail
ychaouche.wordpress.com
23 Upvotes

r/rakulang • • Sep 28 '21

Raku module for getting image pixel RGB values

6 Upvotes

Hello all! Can anyone recommend a module for getting the RGB values for each pixel in an image file?

I'd love to find something that works regardless of image format (PNG/BMP/etc.) but will if I'm confined to a single image format I can still work with that.

Many thanks in advance!


r/rakulang • • Sep 03 '22

Top Programming Languages 2022 - IEEE Spectrum

Thumbnail
spectrum.ieee.org
7 Upvotes

r/rakulang • • Oct 30 '22

Zero Divisibility with Raku - Arne Sommer

Thumbnail raku-musings.com
6 Upvotes

r/rakulang • • May 25 '26

Генериране на код чрез DSL примери

Thumbnail
rakuforprediction.wordpress.com
2 Upvotes