What is Nostr?
Louis :emacs: /
npub1tp9…dzfn
2023-10-09 20:26:29
in reply to nevent1q…evc6

Louis :emacs: on Nostr: npub17rwq9…92p8j Adding some more notes: the project I've migrated from Go to ...

npub17rwq9g7ptr4wj3r5cl3v4ys8629gw4pele8fn53a7hd679j3w0mqm92p8j (npub17rw…2p8j) Adding some more notes: the project I've migrated from Go to Common Lisp resulted in 50% less code (not using any macros!).

Also, since I've developed it entirely in LispWorks, I did some tests with other implementations and it worked in SBCL and ECL out of the box (CLISP didn't work because bordeaux-threads doesn't support it).

Here are the runtimes:

SBCL:
Evaluation took:
9.755 seconds of real time
1.033166 seconds of total run time (0.968865 user, 0.064301 system)
[ Real times consist of 0.019 seconds GC time, and 9.736 seconds non-GC time. ]
[ Run times consist of 0.019 seconds GC time, and 1.015 seconds non-GC time. ]
10.59% CPU
144 lambdas converted
1 page fault
100,349,712 bytes consed

ECL:
real time : 83.908 secs
run time : 29.092 secs
gc count : 4 times
consed : 662005840 bytes

(sort of disappointing)

LispWorks:
User time = 2.220
System time = 0.118
Elapsed time = 9.028
Allocation = 60406728 bytes
1620 Page faults
GC time = 0.009

It seems LispWorks is the clear winner.

#LispWorks #ECL #SBCL #CommonLisp
Author Public Key
npub1tp9e9qhmc02khh3jzpn8vmqwhj3u25yw352ed2x87zs4e2ps2uwqhadzfn