News for hackers. Stuff that matters.
Re:Reia: Friendly, Ruby-style syntax on the Erlang VM by wnoise on Wednesday December 15, 2010 @03:28PM (#2009659)
There is still the process dictionary, but it's a bit unwieldy.

http://www.erlang.org/course/advanced.html#dict

Re:Reia: Friendly, Ruby-style syntax on the Erlang VM by gordonguthrie on Thursday December 16, 2010 @04:35AM (#2011576)
Yes the process dictionary seems attractive, but you will come to regret it. It will always bit you in the bum, don't do it, don't do it, don't do it.
Re:Reia: Friendly, Ruby-style syntax on the Erlang VM by nathanwdavis on Thursday December 16, 2010 @09:38AM (#2012138)
Can you explain why please?
Re:Reia: Friendly, Ruby-style syntax on the Erlang VM by gordonguthrie on Monday December 20, 2010 @11:54AM (#2024871)
It has global state. In erlang processes are long lived and you bring functions to them to do stuff. Suddenly you will do something and a piece of state that you weren't expecting will be in your process dictionary...

Some erlang processes run for literally years - and exist over multiple releases of the software. Reasoning about how something did or did not get into the process dictionary is for the birds.

Re:Reia: Friendly, Ruby-style syntax on the Erlang VM by gtani on Thursday December 16, 2010 @11:28AM (#2012542)
background on PD (tho i havent kept up with developments in R14, i can't say whether everything below still valid

http://groups.google.com/group/erlang-programming/browse_frm...

------------

(Oct 09) http://groups.google.com/group/erlang-programming/browse_frm...

Re:Reia: Friendly, Ruby-style syntax on the Erlang VM by nathanwdavis on Thursday December 16, 2010 @12:43PM (#2012882)
Hey, great links. Thanks!!
Re:Reia: Friendly, Ruby-style syntax on the Erlang VM by gtani on Thursday December 16, 2010 @12:49PM (#2012903)
I think the consensus in 2009 was you should see how far you can get with ETS (and this will motivate me to read the R14 release notes), PD's are kind of like lisp reader macro's, very sharp and very slippery. There are many threads in the google group if you want more argumentage.
Re:Reia: Friendly, Ruby-style syntax on the Erlang VM by yosh on Wednesday December 15, 2010 @04:54PM (#2009991)
I've also used private ETS tables for this.