You Have To See This Programming Language | Prime Reacts

preview_player
Показать описание
Recorded live on twitch, GET IN

MY MAIN YT CHANNEL: Has well edited engineering videos

Discord

Hey I am sponsored by Turso, an edge database. I think they are pretty neet. Give them a try for free and if you want you can get a decent amount off (the free tier is the best (better than planetscale or any other))
Рекомендации по теме
Комментарии
Автор

Raku is The Language Formerly Known as Perl 6.

JamesJones-ztyx
Автор

0.1 + 0.2 == 0.3 is a true statement in Raku. Therefore it is the best language.

Rozenmorte
Автор

oh they kept the Perl experience of amusement followed by deep terror alive in Raku

khhnator
Автор

I met and chatted with a Raku developer at their both at FOSDEM a few years ago. They were the most chill and humble dude I had ever met, they truly seemed to believe in their language and the reveled in the esoterica of it.
They looked exactly like you'd think an old Perl implementer would look - cozy sweater, hair in all directions, in the most positive interpretations of the word they were a true original.

zaooo
Автор

finally, a program that can take a few prime numbers as input and then give me the nth prime number

prime numbers have been solved!

shakibrahman
Автор

I have written fairly large apps in Raku, mostly around parsing large DSLs. It's grammar construct is amazing, it's object expression is very nice and it's FP features are possibly better than that of dedicated fp languages. It keeps the sigils of Perl but makes them rational. This blog post showed a lot of the more fringe features of the language but the large features are what make it really attractive. It is possibly the best language I've ever used in terms of allowing me to concisely express solutions the way I want to.

JasonDoege
Автор

I'm impressed he got into that much obscurity so fast. And, yet, left out the really cool bits like it doesn't just handle Unicode, it understands Unicode. Numbers in Japanese? No problem, it knows how to convert pretty much any numeral set. Want to avoid rounding errors? Keep fractions as fractions, that works. (Even x/0 works, as long as you don't use it where the division by zero actually gets evaluated.)

One of the features is how many advanced concepts are built into it so you can apply them without having to code them. I watched a demo of a complicated scheduling app. The author was pointing out some bottlenecks. He made a couple of minor changes and the compiler reran it as a multi threaded app, improving the performance with not much more effort than flipping a switch.

It's not for everyone - though you can use it as a general purpose command line tool, replacing awk, sed, etc - but it's fascinating to see how much power they've been able to pack into it.

williamivey
Автор

Sigils are not required if you don't like them. Just declare your variable with a backslash instead

my \foo = 3;
say foo;

Kebab case is disambiguated from subtraction by requiring spaces around the minus.

Jebusankel
Автор

Looks like something I should use to kickstart my crypto-ecommerce start-up where I sell partial-fungus tokens.

remirth_bergström
Автор

I know it that Raku was a japanese word! So. from the interweb I found.
Raku from the Japanese 楽 “fun, delightful” or "easy?" . LOL! 🤣

KakugenKun
Автор

I used to write perl 20 years ago when it was popular and I was eagerly waiting for Perl 6 .. they seemed to want to solve every problem and be everything.. and the development didn't seem to go anywhere. I haven't checked it out for *years* but I'm not in any way surprised it turned out to be gremlins all the way down.

digitalspecter
Автор

Security through obscurity taken to its logical conclusion. Next stop APL

vikramkrishnan
Автор

5:20 In order to get from 1, 24...10 to 1, 2, 4, 8 you can take the differences of differences (recursive) until you get to a difference of zero, then you can work backwards to expand the original list as much as needed.
If that's how it works it is limited to power series (with an offset) tough.

turun_ambartanen
Автор

I coded and maintained an ERP process scheduler and utilities in Perl 5. Due to the increasing pain of distributing Perl and its dependent modules I recoded everything in Go and never looked back. Translating Perl to Go was very straightforward. I used goroutines to monitor process run times which avoided the original Perl code polling model. The Go binary distribution was nice and the runtime performance was much improved over Perl.

KevinInPhoenix
Автор

Raku is amazing. It gives me joy everytime I use it. I love how powerful and terse it is. It makes my code clearer to read. The new regex system is so much better than before, and grammars are amazing for parsing files.

pierre-emmanuellevesque
Автор

Multidispatch is fine. Erlang has that in the form of pattern matches and guards. A great feature. I find erlang's pattern matching much nice to user than any other languages similar feature.

trapexit
Автор

saw an actual use case for this. like with Perl, you can write incredible one liners right in the shell. It's a real AWK killer 😂😆😂

nuligebla
Автор

5:00 probably doing an arithmetic and/or geometric progression. All it needs is a first number, the last number and the difference (or ratios in case of a GP) b/w consecutive numbers, and everything else in between can then be determined.

sumitmamoria
Автор

I love sigils... It allows for very ... at a glace reading of code once you learn them... It's like the Spanish question mark '¿' preceeding a question... You know immediately you are reading a question... Which is very cool.

ryshask
Автор

Raku is Perl 6, aka perl but even more write-only

rafagd
visit shbcf.ru