Replies: 3 comments 6 replies
-
Hi @sdancer ! Could you expand upon this please? So everyone is on the same page. It'd be grand to hear any suggestions you have for how it would work too. |
Beta Was this translation helpful? Give feedback.
-
the fptr here is just visual for example purposes, the compiler should be able to do with
the same should happen with constructors btw, which currently are being wrapped into an anonymous function |
Beta Was this translation helpful? Give feedback.
-
np, if the upgrade is planned, u get a chance to update anything from old to new in "code_load" and similar hooks, most people won't ever deal with this kind of stuff, the ones doing so should know what they are doing anyways
i would add a record there for the purpose of debug help, as for performance, around otp 20 the cost of apply was the same of a remote call(normal call to other module), not sure nowadays with the jit and etc |
Beta Was this translation helpful? Give feedback.
-
to not kill hotloading, need to not hold fn() references, functions need to be called by module, function name, args
Beta Was this translation helpful? Give feedback.
All reactions