This might sound crazy or stupid but I really want to know if there is some Lisp with manual memory management? I love Lisp syntax. People complain about the parentheses but for me they are a blessing. I like how extremely uniform and regular they look. But all Lisps I've seen have garbage collectors. If I could find a Lisp with manual memory management, I could ditch C++ in favor of that Lisp. Is there one?
(How to Write a (Lisp) Interpreter (In Python)) (2010)
51–60 of 101 posts
Re: (How to Write a (Lisp) Interpreter (In Python)) (2010)
#52This might sound crazy or stupid but I really want to know if there is some Lisp with manual memory management? I love Lisp syntax. People complain about the parentheses but for me they are a blessing. I like how extremely uniform and regular they look. But all Lisps I've seen have garbage collectors. If I could find a Lisp with manual memory management, I could ditch C++ in favor of that Lisp. Is there one?
Re: (How to Write a (Lisp) Interpreter (In Python)) (2010)
#53https://github.com/paddymul/buckaroo/blob/main/buckaroo/jlis...
Re: (How to Write a (Lisp) Interpreter (In Python)) (2010)
#54This might sound crazy or stupid but I really want to know if there is some Lisp with manual memory management? I love Lisp syntax. People complain about the parentheses but for me they are a blessing. I like how extremely uniform and regular they look. But all Lisps I've seen have garbage collectors. If I could find a Lisp with manual memory management, I could ditch C++ in favor of that Lisp. Is there one?
Re: (How to Write a (Lisp) Interpreter (In Python)) (2010)
#55What I find promising about LISP is the ability to do term rewriting and macros. But people write lisps in imperative style rather than definitions of desired behaviour declaratively. I don't think we've sufficiently solved how to define desired behaviour to a computer. Term rewriting behaviours. What are your thoughts? I started trying to implement term rewriting into my LISP parser, which is the idea that we can ma…
Truly futuristic programming where we we program behaviours. Lisp is 66 years old, I think its impact on computer science has already happened.
Re: (How to Write a (Lisp) Interpreter (In Python)) (2010)
#56This might sound crazy or stupid but I really want to know if there is some Lisp with manual memory management? I love Lisp syntax. People complain about the parentheses but for me they are a blessing. I like how extremely uniform and regular they look. But all Lisps I've seen have garbage collectors. If I could find a Lisp with manual memory management, I could ditch C++ in favor of that Lisp. Is there one?
If it doesn't exist, you could try modifying one of the listed implementations.
Re: (How to Write a (Lisp) Interpreter (In Python)) (2010)
#57Earlier quoted context omitted.
Truly futuristic programming where we we program behaviours. Lisp is 66 years old, I think its impact on computer science has already happened.
Lisp is eldritch by programming language standards; we are still wrestling with the ramifications of McCarthy's half-page of code.
This sounds more like someone getting caught up in the pageantry of a niche that pragmatic people have left behind a long time ago. Lisp was very influential, but those advancement have made their way into practical languages and lisp has been impractical for many decades at this point.
Re: (How to Write a (Lisp) Interpreter (In Python)) (2010)
#58This might sound crazy or stupid but I really want to know if there is some Lisp with manual memory management? I love Lisp syntax. People complain about the parentheses but for me they are a blessing. I like how extremely uniform and regular they look. But all Lisps I've seen have garbage collectors. If I could find a Lisp with manual memory management, I could ditch C++ in favor of that Lisp. Is there one?
You can use a regular common lisp distribution like SBCL and just stick to foreign types https://www.sbcl.org/manual/#Foreign-Types this way you still have a GC for lighter tasks but with the option of manual memory management
Re: (How to Write a (Lisp) Interpreter (In Python)) (2010)
#59Re: (How to Write a (Lisp) Interpreter (In Python)) (2010)
#60Or you can just from fakelisp import * And turn your Python into a Lisp. https://github.com/akalenuk/fakelisp