3 ms·
There are lots of differences, but a big one is its lack of a strong distinction between compile time and run time. From "Scopes for C/C++ Users" (https://scop
by panic 7y ago
There are lots of differences, but a big one is its lack of a strong distinction between compile time and run time. From "Scopes for C/C++ Users" (https://scopes.readthedocs.io/en/latest/cpp_users.html https://scopes.readthedocs.io/en/latest/cpp_users.html):
> C/C++ requires programs to be built and linked before they can be executed. For this, a build system is typically employed.
> In contrast, Scopes’ primary execution mode is live, which means that the compiler remains on-line while the program is running, permitting to compile additional functions on demand, and to use other services provided by the Scopes runtime library.
- DJBunnies 7y agoOh, cool, skynet has come online.
- seanmcdirmid 7y agoIs that really a good use of the word live? Sounds like this is just hot loading, not even hot reloading.
- manch23 7y agoSounds more like a JIT to me.
- stevedonovan 7y agoVery much how Lisp does it. Interpret, and then compile-on-the-fly, since you are inside the compiler.
- ahaferburg 7y agoNote the word primary. > However, Scopes can also build object files compatible with GCC and Clang at runtime using compile-object, which makes it both suitable for classic offline compilation and as foundation for a build system.