Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do other languages apart from Erlang have the ability to send code to running instances?

Tags:

erlang

hotswap

I just learnt that Erlang can remote load code and modules onto all instances of a cluster by using the "nl" command. Can any other languages do this?

like image 347
yazz.com Avatar asked Feb 02 '10 16:02

yazz.com


1 Answers

Technically any of the lisp dialects could do it. Since 'code is data' in lisp, passing some code onto a different box and 'eval'-ing it would do the job. SLIME does this to some extent via remote repl using sockets.

like image 85
Abhijith Avatar answered Sep 19 '22 05:09

Abhijith