Re:Racket Frustrates Me
by aidenn0 on Friday June 30, 2023 @05:32PM
(#36542607)
I work in Common Lisp, which also is 100MB+ programs so likely won't satisfy OP either.
[ Parent
| on HN ]
Re:Racket Frustrates Me
by schemescape on Friday June 30, 2023 @06:02PM
(#36543020)
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).
I 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?
Re:Racket Frustrates Me
by schemescape on Friday June 30, 2023 @07:39PM
(#36544149)
I just used what my (Linux) distribution packaged for me. Iād think it would be easy to build from source, on Linux at least.
The other day on IRC, someone (pjb) mentioned that clisp is the best CL, so now I'm very curious :)
Re:Racket Frustrates Me
by schemescape on Sunday July 02, 2023 @06:47PM
(#36566600)
FYI: It doesn't support package-local nicknames :(