Hi,

On 2021-01-01 12:12, PR wrote:

Loading ASDF on mobile _is_ slow, and there is nothing we can do about
it, unfortunately.

I've alleviated my slow startup somewhat by

    diff --git a/make.lisp b/make.lisp
    index 41d4e3d..52b05b6 100644
    --- a/make.lisp
    +++ b/make.lisp
    @@ -13,7 +13,8 @@
     (asdf:make-build "app"
                      :monolithic t
                      :type :static-library
    -                 :prologue-code '(require :ecl-quicklisp)
    +                 :prologue-code '(progn (require :sb-bsd-sockets)
    +                                        (require :asdf))
                      :move-here "./"
                      :init-name "init_lib_APP__ALL_SYSTEMS")

At least now I only have the slow startup time of ASDF which is currently acceptable for my app. At least it doesn't install Quicklisp on the first run anymore ;-)

ASDF should therefore never be a dependency in a final app (there are
ways to avoid it, even if some libraries want it to be present.)

I found this post (of yours?): https://www.reddit.com/r/Common_Lisp/comments/hicmyt/error_with_uiop_running_ecl_application_built_by/g35fcib/

Is this what you meant?  Where do you use this code?

Bye,
Erik

Reply via email to