ets or mnesia?
Mon Apr 10 18:12:28 CEST 2006
"=?ISO-8859-1?Q?J=E9r=E9mie_Lumbroso?=" <> wrote:
> Rich, I'm beginning to see that gen_server offers many of the things I need
> for my server, but as I've just begun Erlang (and as this is a project I've
> set myself specifically to get to know the basics of the language), I choose
> not to take any shortcuts. That, and the fact that gen_server seems pretty
> complicated, at this point!!!
i flet exactly the same way when i built my first erlang system. didn't really
understand OTP, and figured i wanted to learn the core language better by
rolling my own. big mistake. i ended up spending a lot of effort building the
same capabilities that OTP does 10 times better, and the result is not nearly
so elegant or robust.
admittedly, back then there was little useful information about using OTP, a
situation that's getting a little better. it'd be much easier to go the OTP root now,
with the various tutorials floating around. were i starting from scratch now, i
might even make the right call.
do what's right for you, but think hard about the things
you're giving up that come essentially for free.
Garry Hodgson, Technical Consultant, AT&T Labs
Can't you hear my lambs a callin'?
Oh good shepherd won't you feed my sheep?
More information about the erlang-questions