[erlang-questions] trouble with erlang or erlang is a ghetto

Max Lapshin max.lapshin@REDACTED
Wed Jul 27 22:36:19 CEST 2011


Ulf. There maybe many speculations about "most convenient language" or
"best garbage collection", but one serious problem is really
mentioned.

It is lack of data structure, which can survive upgrade of only one
part of software.

I can't create redistributable plugins for erlyvideo that can use
headers with record description, I have to write such things:
ems_media:get(Media, last_dts)
and frankly speaking I don't understand how do other people live without this.

I understand, that C language has the same problem, but maybe there
are some ideas to make some delayed instantiation of record usage in
modules?
I.e. add "record_get(Record, name)" instruction to beam, which should
be translated to "element(Record, N)" on loading?



More information about the erlang-questions mailing list