Using Perl and Erlang

https://news.ycombinator.com/item?id=8911620

This is true, but it's a point worth making every so often too. I created a system with Erlang and Perl that punched well above its weight (in terms of resources allocated to it) because I was able to cleanly separate the "concurrency" into the Erlang and the "reusing tons of existing code and working in a language the devs are familiar with" into the Perl. It's a powerful pattern, and if you are, like I was, stuck in a language with poor speed and in the case of perl no significant concurrency story [1], it's important to hear that there are options other than "throw it all out and start over again in a Cooler Language ™".
1: Perl has plenty of event loop choices, but in terms of trying to maintain thousands of live SSL connections at scale it's a terrible, terrible choice for that connection manager. But it was just fine as a service provider.

#programming #perl #erlang

From JR's : articles
162 words - 935 chars
created on - #
source - versions

Related articles
Perl Programming Environments - May 06, 2013
Run perl script as a daemon - Nov 14, 2014
Probably my favorite Web apps to use and create - Jan 15, 2014
Perl try, catch, eval, die, warn, carp - Jun 25, 2013
Scaup web publishing app update as of Feb 21, 2015 - Mar 02, 2015
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Dec 26, 2024 - 9:57 p.m. EST