News for hackers. Stuff that matters.
Re:Julia 1.6 addresses latency issues by nightfly on Tuesday May 25, 2021 @05:27PM (#27282913)
The way that common lisp does this though is pretty much creating a core dump that you can execute, which isn't what most people are expecting from an executable. It's not a _bad_ way, it's just pretty unique to common lisp.
Re:Julia 1.6 addresses latency issues by reikonomusha on Tuesday May 25, 2021 @05:36PM (#27283015)
What exactly are people “expecting” from an executable? It is a piece of binary code on disk, full of machine code, that runs without a VM or external runtime libraries.

    ./mycoolprog
just works. From a user perspective, there’s no difference.

The binary itself isn’t structured like a typical one with C debugging symbols, etc. But it’s also not some “faux binary” like a bunch of .pyc bundled as data and unzipped when the program runs. It truly is machine code, just arranged differently than a bunch of C ABI functions.

I claim most people running binaries don’t care about the memory layout of the binary. I certainly am never thinking about that every time I run `grep`. You don’t debug Lisp programs with C’s tooling. You use Lisp’s tooling.

(Unless, of course, you use an implementation like Embeddable Common Lisp, which does compile your Lisp program as a C program, and does produce a non-image-based executable. That’s the beauty of Lisp being a standardized language with multiple conforming implementations.)

Re:Julia 1.6 addresses latency issues by louai on Wednesday May 26, 2021 @07:04AM (#27288897)
Common Lisp actually doesn't specify a mechanism for this. There are implementations that can compile to e.g. DLL:

http://www.lispworks.com/documentation/lw71/DV/html/delivery... https://franz.com/support/documentation/current/doc/dll.htm

Unfortunately none of the FOSS implementations have this ability (to my knowledge). There is nothing inherently in Common Lisp that mandates the "core dump" delivery model.

Re:Julia 1.6 addresses latency issues by louai on Wednesday May 26, 2021 @07:10AM (#27288939)
One correction to my post above - Corman Lisp is a Free implementation that does have the ability to produce DLLs, but it is limited to Windows:

https://github.com/sharplispers/cormanlisp/blob/master/docum...

Re:Julia 1.6 addresses latency issues by lispm on Wednesday May 26, 2021 @12:58PM (#27293050)
how about ECL? That should do that, too.