News for hackers. Stuff that matters.
Re:Scopes – Retargetable programming language and infrastruc... by _bxg1 on Saturday May 04, 2019 @11:28PM (#19830943)
What distinguishes it from Rust and Swift?
Re:Scopes – Retargetable programming language and infrastruc... by panic on Sunday May 05, 2019 @08:21PM (#19835940)
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):

> 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.

Re:Scopes – Retargetable programming language and infrastruc... by stevedonovan on Monday May 06, 2019 @02:53AM (#19837337)
Very much how Lisp does it. Interpret, and then compile-on-the-fly, since you are inside the compiler.
Re:Scopes – Retargetable programming language and infrastruc... by ahaferburg on Monday May 06, 2019 @03:47AM (#19837536)
Note 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.

Re:Scopes – Retargetable programming language and infrastruc... by seanmcdirmid on Sunday May 05, 2019 @11:31PM (#19836633)
Is that really a good use of the word live? Sounds like this is just hot loading, not even hot reloading.
Re:Scopes – Retargetable programming language and infrastruc... by manch23 on Sunday May 05, 2019 @11:44PM (#19836690)
Sounds more like a JIT to me.
Re:Scopes – Retargetable programming language and infrastruc... by DJBunnies on Sunday May 05, 2019 @10:22PM (#19836372)
Oh, cool, skynet has come online.