3 ms·
Many real programming languages are compiled. Does it mean I have to recompile the binary every time I change config?
by cft 7y ago
Many real programming languages are compiled. Does it mean I have to recompile the binary every time I change config?
- jbreckmckye 7y agoMany such 'real' languages have support for some kind of interpreted mode. For example if you set a path to Stack as a script shebang, you can write interpreted-mode shell scripts in Haskell.
- cft 7y agoWhat is the support for the "interpreted mode" in C, C++ or Rust?
- cozzyd 7y agodlopen? :)
- sparkie 7y agoThe author mentions XMonad, which does precisely that. However, you can update XMonad without "restarting" the program. When you update the config, which is just a haskell program - the config is recompiled and launched. The state of your current session is then passed over to the new config process, and the old one config process is discarded.