Hacker News new | ask | show | jobs
by Kranar 1239 days ago
If what you care about is efficiency, then stick to static linking. Dynamic linking inhibits so many optimizations.
3 comments

This is not the answer the performance engineers at Apple will give you, otherwise they would've done that.
Better not do plugins with static linking, given the waste in hardware resources for communication and process managment.

Both approaches have plus and minus regarding efficiency.

You can have both. JIT compiled languages are dynamically linked yet optimization is done across module boundaries.