GithubHelp home page GithubHelp logo

Benchmark CL about scriptorium HOT 5 OPEN

Leandros avatar Leandros commented on July 20, 2024
Benchmark CL

from scriptorium.

Comments (5)

wasamasa avatar wasamasa commented on July 20, 2024 1

Hilarious. The only one of the bunch that can be considered embeddable is ECL and that requires to cherry-pick the features you specifically need to have.

from scriptorium.

r-lyeh-archived avatar r-lyeh-archived commented on July 20, 2024

Aha, great. Thanks for sharing.
Will try to find a slot next weekend :)

from scriptorium.

Leandros avatar Leandros commented on July 20, 2024

You're welcome. ;)

I've had a little time to look into your benchmark sources, and here is the recursive fib for lisp:

; #!/usr/local/bin/ecl -shell
; #!/usr/local/bin/sbcl --script
; #!/usr/local/bin/clisp -C
; vim: set syn=lisp:

(defun fibr(n)
    (if (< n 2)
        n
        (+ (fibr (- n 1)) (fibr (- n 2)))
    )
)

(compile 'fibr)
(defvar i 34)
(format t "fib: ")
(format t "~D" (fibr i))
(format t "~%")

(compile 'fibr) is required by ECL/CLISP to get TCO.

from scriptorium.

r-lyeh-archived avatar r-lyeh-archived commented on July 20, 2024

Hey there,

I've tried to compile the projects this weekend but got no success with them.
They're not so small/easy to embed as I originally thought :P

I'll try to find another slot next weekend :)

from scriptorium.

dkochmanski avatar dkochmanski commented on July 20, 2024

building ECL:

./configure && make && make install

Embedding examples in: examples/embed

Regards,
Daniel

from scriptorium.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.