3 ms·
Note that "inlining, constant folding and expression simplification" covers everything in functional programming :) Erlang isn't purely functional, since it ha
by chriswarbo 9y ago
Note that "inlining, constant folding and expression simplification" covers everything in functional programming :)
Erlang isn't purely functional, since it has things like message sends. This project doesn't seem to handle such things properly :(
> Something will happen if the supercompiled module contains side-effects such as message passing, and it will probably not be something good.
- OoooooooO 9y agoIsn't the point of Erlang to use it's message system in most cases? If the supercompiler can't handle message passing then it can't handle ~98% of all Erlang code.
- chrisseaton 9y agoLots of optimisations don't apply in the presence of side-effects but are still useful.