libera/#commonlisp - IRC Chatlog
Search
22:45:20
White_Flame
44 chars * 8 bytes per char worst case * 14000 keywords = "only" 4.7MB of raw string text
22:46:30
hayley
madnificent: Well, some of the decentralise2 benchmarks are CPU and GC heavy (particuarly network simulations).
22:49:56
hayley
What's funny is that hash table benchmarks tend to try really hard to _not_ allocate. But my code is evil and hammers on some mailboxes and even deletes from hash tables (gasp!), which tends to give the GC a bad time.
22:50:53
hayley
I believe safe-queue is lockless on SBCL, but otherwise it falls back to lparallel which might or might not lock.
22:52:07
hayley
And I don't recommend Threadmill because it only seems to work well on UMA machines with < 40 threads or so. Else the SIMD lookup becomes a problem.
22:53:00
hayley
In testing, it also very rarely drops messages (1 in 10 million-ish) so I've apparently done something wrong.
23:00:21
hayley
(Oh, and Threadmill works on newer versions of SBCL, I just had problems w.r.t fixing a bug in how AVX instructions are assembled. But I found SSE2 to be no slower, and heisig fixed that recently, so it should be unnecessary.)
3:50:39
hayley
I'd be interested in any other GC-heavy multi-threaded benchmarks too, for what it's worth.
4:05:20
jmercouris
borodust: is it called 'burgled batteries' because the batteries are burgled from other projects? is that the rationale?
4:06:40
jmercouris
borodust: sorry, I confused you with somebody else, I was thinking of bodge* or some other library you have and burgled-bodged got transposed in my head
4:40:34
etimmons
So I've always assumed that it's called "burgled batteries" since, as a Python/CL bridge, it's stealing Python's batteries
4:41:37
jmercouris
I kind of want to make my own lisp which is a superset of Common Lisp by including some of my favorite CL libraries
4:42:09
jmercouris
I wouldn’t make a new compiler or anything, just ship an image with some libraries added
4:43:54
hayley
Because another language breaks compatibility with everything, whereas just having "CL with some nice libraries" doesn't.
4:44:28
hayley
Yeah. Good chance that (defpackage :blah (:use :cl)) is going to do something very bad.
7:18:55
jackdaniel
yesterday I wrote a short post about the macro do and tail recursion https://turtleware.eu/posts/How-do-you-DO-when-you-do-DO.html
7:19:07
jackdaniel
that was prompted by the yesterday discussion about do (however only remotely relevant to it)
7:33:21
jackdaniel
I don't have any strong preference - if something can be expressed clearly in terms of do then it is fine
7:33:41
xaotuk
jackdaniel: Wow! I always observed "do" as some ancient iteration construct, never being aware that it's compact tail recursion. You opened my eyes, thanks!
8:49:37
Colleen
borodust: drmeister said at 2021.10.11 20:25:12: Thanks - I wasn't sure if I was just not thinking about it properly