News for hackers. Stuff that matters.
Re:Raku: A Language for Gremlins by eddd-ddde on Monday August 07, 2023 @05:26PM (#37041184)
I found about raku one time I had an assignment for college where I needed to create a parser. I found raku's grammar features really interesting and used it for my project, it felt almost like cheating since it did pretty much every thing for me (actually it was probably just cheating but it was still fun).
Re:Raku: A Language for Gremlins by db48x on Monday August 07, 2023 @06:10PM (#37041640)
That’s exactly what you want in a language. It should always feel like cheating!

Also debuggers. Give RR a try some time :)

Re:Raku: A Language for Gremlins by eddd-ddde on Monday August 07, 2023 @06:44PM (#37041960)
I imagine you are referring to https://rr-project.org/ ?

Had never heard of it, looks pretty amazing, I might actually enjoy debugging now!

Re:Raku: A Language for Gremlins by fuzztester on Tuesday August 08, 2023 @09:20AM (#37048565)
Low contrast text site.

I know there are workarounds, but we shouldn't need them.

Re:Raku: A Language for Gremlins by celrod on Monday August 07, 2023 @07:15PM (#37042236)
Every time I try it, it doesn't seem to work right. Because I don't feel like debugging my debugger, I just go back to gdb.

Yet I only hear other people speaking of it positively, so it seems they don't have that experience.

Re:Raku: A Language for Gremlins by db48x on Monday August 07, 2023 @07:39PM (#37042439)
It does have some annoying hardware requirements. It works on both modern Intel and AMD Ryzen CPUs, but if your CPU is too old it just can’t. And at any time the next generation of CPUs could break the whole thing, although that hasn’t been a problem yet.
Re:Raku: A Language for Gremlins by planede on Tuesday August 08, 2023 @05:30AM (#37046510)
FWIW I had bad experiences with rr shipped with Ubuntu LTS. I build rr from source, it's relatively easy to do.
Re:Raku: A Language for Gremlins by chriswarbo on Tuesday August 08, 2023 @05:39AM (#37046566)
> it felt almost like cheating since it did pretty much every thing for me

During my undergrad I implemented a semester-long physics project in about 10 minutes. The supervisor had previously taught the Programming in C module, so I asked if I had to use C; he said I didn't, so I used numpy. The code was literally just repeated matrix multiplication.