4 ms·
Not if you use CLISP! It seems like bytecode vs. native compilation is a large contributor to memory usage (Racket uses Chez Scheme which compiles to native; sa
by schemescape 3y ago
Not if you use CLISP! It seems like bytecode vs. native compilation is a large contributor to memory usage (Racket uses Chez Scheme which compiles to native; same story for Node/Deno and V8).
I have a low traffic web service and I wasn't happy with ~125 MB of my 512 MB VM's memory being used up by SBCL, but I was able to just drop in CLISP and memory usage dropped to ~25 MB (and for reference: a "hello world" is under 10 MB with CLISP, similar to Python).
- kagevf 3y agoI was wondering about this. If you use clisp, are you getting from its main branch, or another more up to date branch, and if so which branch?
- schemescape 3y agoI just used what my (Linux) distribution packaged for me. I’d think it would be easy to build from source, on Linux at least.
- kagevf 3y agoThe other day on IRC, someone (pjb) mentioned that clisp is the best CL, so now I'm very curious :)
- schemescape 3y agoFYI: It doesn't support package-local nicknames :(