3 ms·
Hot reloading is the critical feature, and dynamic languages usually have better support for it. (Lisp is a good example.)
by sanxiyn 8y ago
Hot reloading is the critical feature, and dynamic languages usually have better support for it. (Lisp is a good example.)
- adamnemecek 8y agoHot reloading doesn’t provide safety guarantees.
- sanxiyn 8y agoMaybe, but hot reloading is very very useful. It is mostly a development time only feature anyway.
- loup-vaillant 8y agoI believe we have seen Casey Muratory doing hot code reloading in C++, in his Handmade Hero stream. Compile the dll, reload & test the dll, without exiting the game runtime he's developing. The Yi editor, written in Haskel, I believe does hot code reloading as well. The XMonad window manager can be recompiled and reload while keeping your windows up (the configuration file is actually Haskell code). --- Yes, hot code reloading is bloody useful. It is also perfectly compatible with static typing. I see no good reason for statically typed languages to have worse support for it.
- estebank 8y agoIt's only incompatible with Link Time Optimization and changes to static dispatch or structure, but anything that could have exposed as a COM object could be used.
- blattimwind 8y agoUnloading/reloading modules is perfectly possible, though in my perception relatively less common on Unix/Linux, while slightly more common in Windows land (e.g. DLL plugins, resource/translation containers etc.)