-
belucid: what are the downsides of compiling Erlang native? (HiPE) Any reason not to use it all the time?
-
MononcQc: the native modules aren't garbage collected when loading a new version
-
MononcQc: also they are not portable like .beam files
-
MononcQc: they're slower to compile and are not necessarily faster
-
MononcQc: but they are entirely worth it for numerical stuff
-
belucid: ok
-
belucid: so I should run some perf tests with both
-
belucid: and see if it makes a diff for my application
-
MononcQc: ideally, yeah
-
MononcQc: always measure
-
belucid: yep
-
belucid: and then... if they do make a meaningful diff, the impact is that I really shouldn't plan to load new versions
-
belucid: and of course, need to compile for the target machine
-
MononcQc: oh, load new versions all you like
-
MononcQc: it's not a big overhead
-
MononcQc: just something to consider
-
belucid: ok
-
belucid: just shouldn't plan on loading new versions forever and ever then
-
belucid: at some point it would add up
-
MononcQc: yeah, but then you'll need to tear the node down to upgrade the VM
-
MononcQc: so I'm not sure it's actually that problematic in practice
-
belucid: gotcha
-
belucid: on days like today, Erlang R14B release day
-
belucid: you'll bring the app down anyway
-
belucid: thanks as always MononcQc!
-
MononcQc: no problem
