Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
judk
on June 22, 2014
|
parent
|
context
|
favorite
| on:
Why The Cool Kids Don't Use Erlang
A few simple ways: put shared data in PermGen, and rollover to a new process when memory gets low (erlang-style but at OS-level).
rdtsc
on June 22, 2014
[–]
Well I wouldn't say "roll-over" to the new process is exactly simple but it is a good trick though. Forking has its interesting dark cases that have to be handled. Inherited file descriptors, what happens to threads, signals and so on.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: