Erlang downsides?
Bob Ippolito
bob@REDACTED
Thu Aug 31 22:42:46 CEST 2006
On 8/31/06, Claes Wikstom <klacke@REDACTED> wrote:
> Bob Ippolito wrote:
> >
> >
> > The regexp module in Erlang is slow because it's a simple
> > implementation and it doesn't cache compiled regular expressions. It
> > also doesn't support modern regex features that you get with Perl or
> > Python, making it even less attractive.
> >
>
>
> The amount of whining regarding erlang regexp support on this list
> is staggering. I wrote a proper linked in driver interface to
> all of posix regular expressions. It's here:
>
> http://yaws.hyber.org/download/posregex-1.0.tgz
>
> Go get. It should be equal in speed to other implementations
> in other langs.
There seems to be some linuxisms in the Makefile and configure, it
won't compile on Mac OS X (or FreeBSD for that matter). At a glance,
there's at least two portability issues because the BSD version of cp
doesn't support "-a", the ld option for Mac OS X to create bundles is
not "-shared".
I wasn't saying that there are no good regexp implementations
available for Erlang, just that the one in stdlib isn't very
interesting. The stdlib is where I imagine most (new?) people are
going to look for functionality, because jungerl is a mess and
erlrt/REPOS/whatever isn't ready yet.
-bob
More information about the erlang-questions
mailing list