Hacker News new | ask | show | jobs
by xp84 10 days ago
That’s awesome that you did it in Perl! I didn’t expect that.
1 comments

Perl provides the UIs, manages project state and generates the audio network definition. An external program (ecasound) performs the audio processing.
I like experimenting with different languages when I vibe code. Pearl is one of those languages that I am completely unfamiliar with though. It sounds like a really interesting! What would you say are some benefits of using Pearl?
Back in the late 80's I tried to experiment with C from the K&R book. I cried! I couldn't even understand a simple program for F to C conversion. Perl was a godsend, and meant I didn't need to learn to combine shell, sed and awk, etc. Perl was a one-stop shop! And didn't need to compile.

It's taken time to learn about Perl's warts. I would say the largest is understanding the difference between list and scalar context.

More than syntax, the challenges have been learning the CS concepts exposed by the language, such as references, namespaces, regexes.

The benefits, well, concise code, garbage collection, extreme flexibility to change how the language behaves. The latter must be used wisely and sufficiently commented, but runs rings around other languages that enforce limitations.

I haven't mastered other languages to compare, but a good explanation of the relative warts of languages is here:

https://dev.to/jlmartel/series/45699

The use of mollusks and the extreme memory management