home.social

#picolisp — Public Fediverse posts

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

  1. 🌐 Ah yes, the #mystical PicoLisp—a veritable treasure trove of code so scattered across the interwebs that someone just had to corral it into yet another #wiki nobody asked for. 📚✨ Dive into this endless abyss of "coherent" #documentation and maybe, just maybe, you'll emerge as a wizard in a language nobody uses. 🧙‍♂️🔮 Good luck, brave soul!
    picolisp.com/wiki/?Documentati #PicoLisp #Coding #Languages #HackerNews #ngated

  2. @Regenaxer @borkdude @vindarel Thanks! Right, so my comparable in-REPL times for iterative factorial 1000 are

    #PicoLisp: (bench (apply * (range 1 1000)))
    0.000 sec
    #Clojure: user=> (time (apply *' (range 1 1000)))
    "Elapsed time: 2.428199 msecs"
    #SBCL: CL-USER[1]: (time (apply #'* (alexandria:iota 1000 :step 1)))
    Evaluation took:
    0.000 seconds of real time
    0.000015 seconds of total run time (0.000000 user, 0.000015 system)
    100.00% CPU
    45,990 processor cycles
    0 bytes consed

    #Lisp

  3. @borkdude @vindarel @Regenaxer #PicoLisp doesn't have macros, by design. Its `time` function returns the time of day. So while there may be a way of timing a computation in the REPL, I've not found it yet.

    #Lisp

    software-lab.de/doc/refT.html#

  4. @borkdude @vindarel @Regenaxer Again, this is true and fair. I haven't yet learned enough #PicoLisp to do a comparison timing in the REPL.

    What's interesting (to me) is that PicoLisp is also doing recursive computations at very high speeds. I need to explore further but it's an *extremely* impressive system, and I'm amazed I wasn't aware of it before today.

  5. @vindarel That's true. The startup time issue is particularly harsh on #clojure, and @borkdude's #Babashka would probably do a lot better.

    But (a) this is very rough timing, and (b) startup time is some sort of proxy for the compactness of the runtime system; and
    (c) the thing that's still astounding me is that #PicoLisp is (sort-of) an interpreter, while all the others execute compiled code, so bloody should be faster!

    #Lisp

  6. While looking into how viable it is to write Android applications in something else than Java, Kotlin or <insert web technology>, I've found a neat #picolisp blog explaining Pilbox and adjacent topics:

    picolisp-explored.com/

  7. is a dialect in a small package.

    PicoLisp is an implementation of Lisp which can interact with C and Java. PicoLisp has a rich standard library and multi-paradigm support, allowing it to be used as a scripting language like Python or Bash. PicoLisp includes a database, webserver, and + webapp framework, all well integrated with simple interfaces.

    Website 🔗️: picolisp.com/wiki/?home

    apt 📦️: picolisp

  8. I used to be in #oggcastplanet, #picolisp, #chicken, #scheme, #guile and #guix on freenode and they have all moved to libera.chat. Half of them were seized, renamed and muted by user freenodecom for announcing their move on their old channel.