Re: [lisp-snmp] SBCL and requiring snmp
Brought to you by:
binghe
From: David L. <le...@ma...> - 2009-07-16 19:19:54
|
I am using ASDF. (require 'asdf) (require 'snmp) are the first two lines in my file. Looks like it is then recompiling each time. I somehow thought I needed asdf loaded first to find snmp :-) Dave On Jul 16, 2009, at 12:15 PM, Chun Tian (binghe) wrote: > I'm curious, how do you load cl-net-snmp in SBCL? Are you using > ASDF? (I ask because when using ASDF we don't have any choice to > just load .lisp but .fasl files) > > And I should mention, when SBCL are compiling files, there're lots > of screen outputs. If your SBCL simply holds and no outputs, then I > should say I don't know either what's going on, but I'm sure that's > not my fault:) > > Wish you good luck ... > > --binghe > > 在 2009-7-17,02:48, David Leimbach 写道: > >> I compied it to a fasl, and am now loading that instead. It is not >> going any faster. >> >> I wonder if I should try deleting all my fasl files and re- >> requiring. I have no idea what SBCL is waiting for :-) >> >> Dave >> On Jul 16, 2009, at 11:45 AM, David Leimbach wrote: >> >>> Tian, >>> >>> This is every time I load my program. Is it because I didn't >>> compile >>> it from .lisp to a .fasl? >>> >>> Maybe I should do that and see if it helps. >>> >>> Dave >>> >>> >>> On Jul 16, 2009, at 11:37 AM, Chun Tian (binghe) wrote: >>> >>>> Hi, David >>>> >>>> If this is the first time you compiling fresh cl-net-snmp source >>>> code, I'm afraid it INDEED may take a long time, because all basic >>>> SNMP MIB definitions are compiled into Common Lisp source code (78 >>>> files and more than 40,000 lines of lisp code) when your computer >>>> is >>>> not fast. But I think for the second time SBCL won't compile them >>>> at >>>> all, just loading fasls, and that should be fast enough. SBCL's >>>> compile speed is relative slow among other CL platforms. >>>> >>>> The "Portable Threads" notes is reasonable because I used it for >>>> portable multi-threading API. >>>> >>>> Regards, >>>> >>>> Chun Tian (binghe) >>>> >>>> 在 2009-7-17,02:27, David Leimbach 写道: >>>> >>>>> I've been noticing that on trunk, when I use sbcl with cl-net-snmp >>>>> stuff being required, that it takes a very long time to get back >>>>> to >>>>> the REPL. >>>>> >>>>> It's almost a minute or more after I see the following that the >>>>> REPL >>>>> comes back and I'm interactive again. >>>>> >>>>> ;;; >>>>> ------------------------------------------------------------------------ >>>>> ;;; Portable Threads Interface 2.2 >>>>> ;;; >>>>> ;;; Developed and supported by the GBBopen Project (http:/ >>>>> GBBopen.org/) >>>>> ;;; (See http://GBBopen.org/downloads/LICENSE for license >>>>> details.) >>>>> ;;; >>>>> ------------------------------------------------------------------------ >>>>> >>>>> >>>>> Is this something anyone else has experienced? Are there fixes >>>>> for >>>>> this? >>>>> >>>>> Dave >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Enter the BlackBerry Developer Challenge >>>>> This is your chance to win up to $100,000 in prizes! For a limited >>>>> time, >>>>> vendors submitting new applications to BlackBerry App World(TM) >>>>> will have >>>>> the opportunity to enter the BlackBerry Developer Challenge. See >>>>> full prize >>>>> details at: http://p.sf.net/sfu/Challenge >>>>> _______________________________________________ >>>>> cl-net-snmp-general mailing list >>>>> cl-...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/cl-net-snmp-general >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Enter the BlackBerry Developer Challenge >>> This is your chance to win up to $100,000 in prizes! For a limited >>> time, >>> vendors submitting new applications to BlackBerry App World(TM) >>> will have >>> the opportunity to enter the BlackBerry Developer Challenge. See >>> full prize >>> details at: http://p.sf.net/sfu/Challenge >>> _______________________________________________ >>> cl-net-snmp-general mailing list >>> cl-...@li... >>> https://lists.sourceforge.net/lists/listinfo/cl-net-snmp-general >> > |