home.social

#sbcl — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #sbcl, aggregated by home.social.

fetched live
  1. damn, running a (pretty tiny) common lisp (sbcl) web app uses lots of ram. like an order of magnitude more than other stuffs...

    i know it has the whole lisp runtime or whatever, just wish i could run a stack of such apps and not have to worry.

    Edit: for the record, i am an amateur.
    my tiny ningle thing uses 230-350 MB.
    running a binary made zero difference.

    #commonLisp #sbcl

  2. damn, running a (pretty tiny) common lisp (sbcl) web app uses lots of ram. like an order of magnitude more than other stuffs...

    i know it has the whole lisp runtime or whatever, just wish i could run a stack of such apps and not have to worry.

    Edit: for the record, i am an amateur.
    my tiny ningle thing uses 230-350 MB.
    running a binary made zero difference.

    #commonLisp #sbcl

  3. @djl So far I have learned and experimented with only. Though I used it preliminary on Debian, I installed it on Windows also to make binaries for Window$

    How about . I will try it when I use and I think my learning of Lisp would be useful for many dialects, right?

    Btw, I released my first code under

  4. @djl So far I have learned and experimented with #SBCL only. Though I used it preliminary on Debian, I installed it on Windows also to make binaries for Window$

    How about #GNU #Guile. I will try it when I use #Guix and I think my learning of Lisp would be useful for many dialects, right?

    Btw, I released my first code under #AGPLV3

  5. We finally updated SBCL from 2.5.8 to 2.6.4 in Guix.
    The process took three months, mostly waiting in the build queue!

    Remember to donate to the Guix Foundation to improve the infrastructure:
    guix.gnu.org/en/donate/

  6. We finally updated SBCL from 2.5.8 to 2.6.4 in Guix.
    The process took three months, mostly waiting in the build queue!

    Remember to donate to the Guix Foundation to improve the infrastructure:
    guix.gnu.org/en/donate/

    #SBCL #CommonLisp #Guix

  7. 🚀 Ah, the riveting world of #SBCL #assembly code, where 5 whole bytes are shaved off for a more *efficient* space-wasting experience. Paul Khuong and friends #debate byte-lengths like they're splitting atoms, because clearly, optimizing a few machine instructions is the apex of #programming 🧠✨.
    pvk.ca/Blog/2014/03/15/sbcl-th #byte-optimization #efficient #machine-instructions #HackerNews #ngated

  8. 🚀 Ah, the riveting world of #SBCL #assembly code, where 5 whole bytes are shaved off for a more *efficient* space-wasting experience. Paul Khuong and friends #debate byte-lengths like they're splitting atoms, because clearly, optimizing a few machine instructions is the apex of #programming 🧠✨.
    pvk.ca/Blog/2014/03/15/sbcl-th #byte-optimization #efficient #machine-instructions #HackerNews #ngated

  9. i just wanna give an update on this.

    i have looked into hunchentoot, ningle, caveman, and i want to thank everyone for their considered and, frankly, perfectly helpful suggestions and responses.

    i now know exactly how to get started writing a common lisp web app.

    except i'm not going to do that.

    i am going to write a little common lisp script that sits some directory and i am going to record my thoughts into that.

    nothing is ever wasted, and i have recorded all of your links.

    #lisp #sbcl

  10. i just wanna give an update on this.

    i have looked into hunchentoot, ningle, caveman, and i want to thank everyone for their considered and, frankly, perfectly helpful suggestions and responses.

    i now know exactly how to get started writing a common lisp web app.

    except i'm not going to do that.

    i am going to write a little common lisp script that sits some directory and i am going to record my thoughts into that.

    nothing is ever wasted, and i have recorded all of your links.

    #lisp #sbcl

  11. Just wanna bounce this idea off someone/anyone--

    I want to make a little thought journal program.

    I want to have metadata tags and a nice way of searching information.

    I realise that pen and paper, and that orgmode exists.

    I want to write this in a Lisp, and maybe have it as a simple web page accessible by CGI.

    Last I checked there existed frameworks like hunchentoot and caveman2.

    Does this make sense? Would anyone recommend any resources or avenues of exploration?

    #askfedi #lisp #sbcl

  12. Just wanna bounce this idea off someone/anyone--

    I want to make a little thought journal program.

    I want to have metadata tags and a nice way of searching information.

    I realise that pen and paper, and that orgmode exists.

    I want to write this in a Lisp, and maybe have it as a simple web page accessible by CGI.

    Last I checked there existed frameworks like hunchentoot and caveman2.

    Does this make sense? Would anyone recommend any resources or avenues of exploration?

    #askfedi #lisp #sbcl

  13. Hmm. I realized that this was just initial step and I need to read, learn and practice more to gain the eligibility of entering into some real life example. So, now I am going through the very famous book "Practical Common Lisp" by Peter Seibel.

    Actually I selected this book only before I came to find the "Gentle Introduction..." book. But some topics and presentation went from top of my head! Haha.

    Now I am confident enough to complete Seibel's book.

  14. Just completed the book "Common Lisp: A Gentle Introduction to Symbolic Computation" 1990 editon!

    Recently, 3 months ago I started learning the basic of Lisp (inspired by reading Free As in Freedom 2.0), installed Emacs, Slime, SBCL and continued learning whenever I got some time.

    Although my choice of book/stuff may be obsolete however I feel the learning is quite meaningful. Hoping for implementing/experimenting it further to some practical recognizable task.

  15. Have a look at the acronym I made for just for philosophical fun!

    List Interactive Sapient Parenthesis

    List Interpreted Smart Parenthesis

    Btw, It's only two months I started learning / experimenting Common-Lisp (inspired by reading )

    Did you like it? Or share yours!

  16. I very sourly remember my own attempt at contributing to sbcl and getting shut down by Christophe, so I don't really care to get myself involved again -- I don't have the energy to be confrontational about it.

    If course can be reversed on this, that would be very nice, but I neither have the "project clout" nor the mind to get into a bunch of fights and make myself even less popular to try and steer this ship into a more reasonable direction again.

    For now, I guess a preliminary RIP to #sbcl.

  17. I very sourly remember my own attempt at contributing to sbcl and getting shut down by Christophe, so I don't really care to get myself involved again -- I don't have the energy to be confrontational about it.

    If course can be reversed on this, that would be very nice, but I neither have the "project clout" nor the mind to get into a bunch of fights and make myself even less popular to try and steer this ship into a more reasonable direction again.

    For now, I guess a preliminary RIP to #sbcl.

  18. So it looks like the #sbcl project is getting sloppified. Very, very saddening to see. It feels like something is slipping through my fingers, so I thought I should say something publicly.

    Evidently Christophe is not interested in shutting this crap down, and when I read his email about it, I pretty much gave up on saying something myself. His stance is hopelessly naïve, and this is only being shown now.

    As soon as you get these idiots a gap, they'll wedge it open, and it's already happened.

  19. So it looks like the #sbcl project is getting sloppified. Very, very saddening to see. It feels like something is slipping through my fingers, so I thought I should say something publicly.

    Evidently Christophe is not interested in shutting this crap down, and when I read his email about it, I pretty much gave up on saying something myself. His stance is hopelessly naïve, and this is only being shown now.

    As soon as you get these idiots a gap, they'll wedge it open, and it's already happened.

  20. I've been a #DoomEmacs user for some time, now, even having curated my own literate config out of their "static" files - along with all the extra stuff one adds to such a thing.

    As one does, in the past I've also attempted to do my own #emacs config from scratch, usually falling into the "let's recreate doom!" hole, whether I wanted to or not (thus the reason I just went the route I did).

    Over the past couple of months I've decided to - slowly - do the emacs bankruptcy declaration. Now, just to make things even more interesting I have decided against the use-package macro. Why? Because why not!

    I've been using my scratch build for a month or so, haven't even opened my doom config up. It's been a great process, learning process, more understand of the process. It helps that I've been on a learn lisp quest for the past couple of years, too (#CommonLisp, #sbcl, #clojure, #elisp of course).

    The large emacs distros are great an an excellent way to find curated packages. Doom is even a really nice framework. Sometimes you just want to do your own thing.

  21. I've been a #DoomEmacs user for some time, now, even having curated my own literate config out of their "static" files - along with all the extra stuff one adds to such a thing.

    As one does, in the past I've also attempted to do my own #emacs config from scratch, usually falling into the "let's recreate doom!" hole, whether I wanted to or not (thus the reason I just went the route I did).

    Over the past couple of months I've decided to - slowly - do the emacs bankruptcy declaration. Now, just to make things even more interesting I have decided against the use-package macro. Why? Because why not!

    I've been using my scratch build for a month or so, haven't even opened my doom config up. It's been a great process, learning process, more understand of the process. It helps that I've been on a learn lisp quest for the past couple of years, too (#CommonLisp, #sbcl, #clojure, #elisp of course).

    The large emacs distros are great an an excellent way to find curated packages. Doom is even a really nice framework. Sometimes you just want to do your own thing.

  22. @seancorfield @oantolin

    in #SBCL

    CL-USER[4]: (= 0.2 1/5)
    NIL
    CL-USER[5]: (eq 0.2 1/5)
    NIL
    CL-USER[6]: (equal 0.2 1/5)
    NIL
    CL-USER[7]: (= 0.2 2/10)
    NIL
    CL-USER[8]: (= 1/5 2/10)
    T
    CL-USER[9]: (eq 1/5 2/10)
    NIL
    CL-USER[10]: (equal 1/5 2/10)
    T
    CL-USER[11]: (= 0.75 3/4)
    T
    CL-USER[12]: (eq 0.75 3/4)
    NIL
    CL-USER[13]: (equal 0.75 3/4)
    NIL

    The fact that 0.75 is seen as `=` to 3/4 but 0.2 is not `=` to 1/5 seems to me just buggy and inconsistent.

  23. @seancorfield @oantolin

    in #SBCL

    CL-USER[4]: (= 0.2 1/5)
    NIL
    CL-USER[5]: (eq 0.2 1/5)
    NIL
    CL-USER[6]: (equal 0.2 1/5)
    NIL
    CL-USER[7]: (= 0.2 2/10)
    NIL
    CL-USER[8]: (= 1/5 2/10)
    T
    CL-USER[9]: (eq 1/5 2/10)
    NIL
    CL-USER[10]: (equal 1/5 2/10)
    T
    CL-USER[11]: (= 0.75 3/4)
    T
    CL-USER[12]: (eq 0.75 3/4)
    NIL
    CL-USER[13]: (equal 0.75 3/4)
    NIL

    The fact that 0.75 is seen as `=` to 3/4 but 0.2 is not `=` to 1/5 seems to me just buggy and inconsistent.

  24. Should

    (= 3/4 0.75)

    return true (or 't)? You'd think so.
    #SBCL 2.5.2 does think so.
    MIT/GNU Scheme also thinks so.
    #Interlisp Medley agrees.

    I think this is correct behaviour.

    #Clojure 1.12.1 disagrees; and I can understand why, since conversion between rationals and IEEE 754 floats is not necessarily sufficiently precise.

    I'm just working on implementing this functionality on my own #Lisp, and wondering whether to do it be converting the arguments to floats or to rationals.

  25. Should

    (= 3/4 0.75)

    return true (or 't)? You'd think so.
    #SBCL 2.5.2 does think so.
    MIT/GNU Scheme also thinks so.
    #Interlisp Medley agrees.

    I think this is correct behaviour.

    #Clojure 1.12.1 disagrees; and I can understand why, since conversion between rationals and IEEE 754 floats is not necessarily sufficiently precise.

    I'm just working on implementing this functionality on my own #Lisp, and wondering whether to do it be converting the arguments to floats or to rationals.

  26. @glitzersachen By the way, is not retro, it's metro!

    (subst 'metro 'retro '(retro computing by LISP))

    I recently started learning common Lisp (partially inspired by Free as in Freedom 2.0) and now feeling very enthusiastic to learn and experiment more and more!

  27. @glitzersachen By the way, #Lisp is not retro, it's metro!

    (subst 'metro 'retro '(retro computing by LISP))

    I recently started learning common Lisp (partially inspired by Free as in Freedom 2.0) and now feeling very enthusiastic to learn and experiment more and more!

    #commonlisp #faif #philosophy #SBCL

  28. I updated my "is #guile fast?" page with the new r7rs #benchmarks data and anchored Guile and #Chez in the benchmarksgame:

    #Scheme benchmarks: draketo.de/software/guile-fast
    Compared to other languages: draketo.de/software/guile-fast

    Chez is roughly factor 7 slower than C,
    Guile roughly factor 18
    (#Java 3.5, #SBCL 5, #Racket 12, #Ruby 60 and #Python 70)

  29. I have to tell you that I'm falling in love with Common Lisp and SBCL. Awesome!

    #commonlisp #lisp #sbcl

  30. Heads up for those of you who like to build #benben from source: you may run into issues with SBCL 2.5.11 and SBCL 2.6.0. If you do, update your copies of named-readtables and possibly FXML, to the latest git checkouts. It builds fine after that. I think named-readtables had some breakage due to changing #sbcl internals that they were using.

    I updated the AppImage build script since, which will exist for a bit longer, just until I finish my build tool. Then no more AppImages.

  31. @ArneBab just because I was playing around a bit with the benchmarksgame and #SBCL yesterday (in particular the nbody benchmark): if the C implementation used for comparison is the fastest on the lists it's basically just handwritten SIMD assembly instructions with a little C wrapper, so not really a fair comparison when comparing with implementations/compilers that don't utilize SIMD instructions.

    For "fun" I changed the SBCL implementation slightly to use SIMD instructions (using the sb-simd package which is part of SBCL), without doing all of the optimizations of the C version, and this gets the time down to around 2.5x that of the C code (on my laptop at least). I'm sure it could be even better with some more optimizations because it will be essentially the same machine code that GCC produces.

    That's just a comment because the language doesn't make a program fast or slow in most cases, it's usually just about how smart the (human or non-human) compiler is.

  32. In light of recent events, I've decided that this is an excellent time to distract myself by actually learning CommonLisp instead of just setting up SBCL and slime and then getting distracted. So, I am working my way through Practical Common Lisp and doing some Huntress CTF challenges on the side.
    :heart_cybre: :nerdcat:

    #CommonLisp
    #SBCL
    #ctf
    #HuntressCTF