News for hackers. Stuff that matters.
Re:Ask HN: Would you nowadays write a new web service in Perl? by jbreckmckye on Wednesday February 12, 2025 @06:22PM (#43030871)
No, not in a thousand years, so I'm curious what situation might be tempting you
Re:Ask HN: Would you nowadays write a new web service in Perl? by ZevsVultAveHera on Thursday February 13, 2025 @12:53AM (#43033077)
Me? Nothing. I barely ever wrote any Perl code. Just curious if someone has any interesting argument for using it nowadays.
Re:Ask HN: Would you nowadays write a new web service in Perl? by notRobot on Wednesday February 12, 2025 @04:57PM (#43030187)
I wouldn't, because I have a different language of choice, but you should use whichever stack you can best maintain and make work for the use case. If that's perl for you, go for it!
Re:Ask HN: Would you nowadays write a new web service in Perl? by pestatije on Wednesday February 12, 2025 @05:48PM (#43030616)
No
Re:Ask HN: Would you nowadays write a new web service in Perl? by petercooper on Thursday February 13, 2025 @11:42AM (#43037914)
Perl was my primary language for eight years and I can't genuinely think of a good example. Even in situations where there are fantastic packages for certain tasks, like with Mojolicious for WebSockets, you can do the same in Node, Go, Ruby, Python, or pretty much anything else now, so it ultimately comes down to preferring the language in most cases.
Re:Ask HN: Would you nowadays write a new web service in Perl? by LinuxBender on Thursday February 13, 2025 @11:42AM (#43037930)
User facing? No. Backend batch job services? Absolutely. Taint checking and strict would be globally mandatory. Every service would be aware of all other services and degrade gracefully.