Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8081061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:36:31+00:00 2026-06-05T16:36:31+00:00

As i am Interested in artificial intelligence, I recently decided to give Lisp a

  • 0

As i am Interested in artificial intelligence, I recently decided to give Lisp a try.
After compiling a very basic application with the common lisp compiler sbcl I noticed that the resulting binary was very big (around 43MB).
I am interested of the reason for that. Is this common issue for (common) lisp and what is the technical background of this behavior?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T16:36:32+00:00Added an answer on June 5, 2026 at 4:36 pm

    There are several different architectures in Common Lisp implementations:

    • interpreter
    • byte code engine (CLISP is an example)
    • compilation via the C compiler (ECL is an example)
    • native code compiler (SBCL, LispWorks, Clozure CL)

    Typically the Interpreter and the byte code engine use the smallest amount of memory. CLISP thus is very small. SBCL OTOH generates relatively large native code.

    Second, there are several different ways to create applications:

    1. saving an image
    2. saving an optimized image
    3. compiling to C code

    Plus some more like compiling to DLLs.

    SBCL basically does 1. It dumps the memory containing data and code and includes the runtime.
    Thus everything you have in the running system (documentation, source code links, argument lists, symbol names, debug infos, the compiler itself, …) will be dumped into the image+runtime. Additionally SBCLs generated native code is large, there is potentially a lot of code information in the runtime memory and SBCL includes all its own functionality (including the compiler).

    During development one often work(s/ed) with such unoptimized applications or images (with the external runtime) to save time to load code and data. I’ve used it myself with images which were larger than 100MB.

    LispWorks for example does 1 and 2. It has an delivery process where you can selectively remove stuff (like documentation, some functionality like the compiler, source references, …). This is also using a tree-shaker, which can remove unused functionality.

    Optimizing an image could also mean to write it in some compressed way and decompressing it on start up. SBCL allows this for example.

    Variant 3 was done in the past, but is currently not in use (other than in some specialized tools and apps). Thinlisp, Stella, CycL, … are such delivery tools. In the past there was also a commercial vendor for such a tool (but this does not exist no more, IIRC the last owner of it is/was Oracle). Update: actually mocl, a recent Common Lisp application generator for iOS and Android does it. It takes a large subset of Common Lisp and compiles it to small, stand-alone mobile apps. For example on iOS it generates compact C code for Apple’s provided C compiler.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to Artificial Neural Networks. I am interested in an application like
I'm interested in making ghost preview elements of very complex DOM objects. While I
Interested in people's opinion. You have an application server running 3/4 services that do
I am interested in creating a 2D drawing application for Android using touch input.
Interested in using Sphinx for my application. Planning to install their latest version which
I'm interested in a protecting of my web application by using generation a csrf
I'm interested how I can very quickly change the Boolean values into this hashmap:
I am interested in using C# to manipulate/Automate Excel files. After browsing the web
I'm really interested in Artificial Neural Networks, but I'm looking for a place to
Im interested in implementing a JQuery solution for a Panel Selector that seems very

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.