Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've already mentioned Kilim in this discussion- it's a JVM bytecode rewriting framework that implements lightweight greenthreaded & isolated actors. Perhaps their introductory text will be of value for highlighting the value of immutability & it's reciprocal side, isolated messaging-

  The “Actor” model, espoused by Erlang, Singularity and the 
  Unix process+pipe model, offers an alternative:
  independent communicating sequential entities that share
  nothing and communicate by passing messages. Address-space
  isolation engenders several desirable properties: component-
  oriented testing, elimination of data races, unification of
  local and distributed programming models and better optimisation
  opportunities for compilers and garbage collectors. Finally,
  data-independence promotes failure-independence an exception in
  one actor cannot fatally affect another.
https://github.com/kilim/kilim/raw/master/docs/kilim_ecoop08...

I personally am not a fan of prohibiting people from doing things (blame Larry Wall, "first postmodern computer language"), and prefer making good tools available for those who do naturally seek immutability or purity or transferable ownership messages (Transferables in web messaging) or other optional ways of restricting themselves, but the actor model is pretty serious about isolation and Kilim is true to that perspective.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: