3 ms·
What distinguishes it from Rust and Swift?
by _bxg1 8y ago
What distinguishes it from Rust and Swift?
- panic 8y agoThere 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 8y agoOh, cool, skynet has come online.
- seanmcdirmid 8y agoIs that really a good use of the word live? Sounds like this is just hot loading, not even hot reloading.
- manch23 8y agoSounds more like a JIT to me.
- stevedonovan 8y agoVery much how Lisp does it. Interpret, and then compile-on-the-fly, since you are inside the compiler.
- ahaferburg 8y 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.