jackdaniel changed the topic of #commonlisp to: Common Lisp, the #1=(programmable . #1#) programming language | Wiki: <https://www.cliki.net> | IRC Logs: <https://irclog.tymoon.eu/libera/%23commonlisp> | Cookbook: <https://lispcookbook.github.io/cl-cookbook> | Pastebin: <https://plaster.tymoon.eu/>
jonatack has joined #commonlisp
akoana has joined #commonlisp
montxero has quit [Ping timeout: 246 seconds]
ebrasca has quit [Remote host closed the connection]
poplin has quit [Ping timeout: 256 seconds]
poplin has joined #commonlisp
tertek has quit [Quit: %quit%]
tertek has joined #commonlisp
svm has joined #commonlisp
st_aldini1 has joined #commonlisp
doyougnu- has joined #commonlisp
fitzsim has quit [Read error: Connection reset by peer]
Faed_ has joined #commonlisp
doyougnu has quit [Ping timeout: 252 seconds]
Fade has quit [Ping timeout: 252 seconds]
MetaYan has quit [Ping timeout: 252 seconds]
shangul has quit [Ping timeout: 252 seconds]
msv has quit [Ping timeout: 252 seconds]
st_aldini has quit [Ping timeout: 252 seconds]
fe[nl]ix has quit [Ping timeout: 252 seconds]
luna-is-here has quit [Ping timeout: 252 seconds]
ryanbw has quit [Ping timeout: 252 seconds]
st_aldini1 is now known as st_aldini
Farooq has joined #commonlisp
fitzsim has joined #commonlisp
svm is now known as msv
even4void has quit [Ping timeout: 252 seconds]
White_Flame has quit [Ping timeout: 252 seconds]
even4void has joined #commonlisp
ryanbw has joined #commonlisp
fe[nl]ix has joined #commonlisp
White_Flame has joined #commonlisp
mesuutt has quit [Ping timeout: 255 seconds]
luna-is-here has joined #commonlisp
MetaYan has joined #commonlisp
rtypo has quit [Ping timeout: 260 seconds]
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 256 seconds]
nij- has quit [Ping timeout: 255 seconds]
synchrom1 has quit [Read error: Connection reset by peer]
synchromesh has joined #commonlisp
random-nick has quit [Ping timeout: 264 seconds]
jmercouris1 has joined #commonlisp
akoana has quit [Quit: leaving]
jmercouris1 has quit [Ping timeout: 240 seconds]
mesuutt has joined #commonlisp
istewart has joined #commonlisp
mesuutt has quit [Ping timeout: 264 seconds]
Arthur__ has quit [Read error: Connection reset by peer]
mesuutt has joined #commonlisp
mesuutt has quit [Ping timeout: 252 seconds]
waleee has quit [Ping timeout: 268 seconds]
poplin has quit [Read error: Connection reset by peer]
poplin has joined #commonlisp
Perflosopher has joined #commonlisp
mariari has quit [Ping timeout: 255 seconds]
mariari has joined #commonlisp
poplin has quit [Read error: Connection reset by peer]
NotThatRPG_ has joined #commonlisp
poplin has joined #commonlisp
NotThatRPG has quit [Ping timeout: 260 seconds]
poplin has quit [Read error: Connection reset by peer]
NotThatRPG_ has quit [Ping timeout: 268 seconds]
poplin has joined #commonlisp
NotThatRPG has joined #commonlisp
jmercouris1 has joined #commonlisp
mesuutt has joined #commonlisp
nij- has joined #commonlisp
mesuutt has quit [Ping timeout: 246 seconds]
rakka has quit [Remote host closed the connection]
rakka has joined #commonlisp
jmercouris1 has quit [Quit: jmercouris1]
jmercouris1 has joined #commonlisp
josrr has quit [Remote host closed the connection]
NotThatRPG has quit [Quit: Textual IRC Client: www.textualapp.com]
mesuutt has joined #commonlisp
igemnace has joined #commonlisp
mesuutt has quit [Ping timeout: 240 seconds]
Pixel_Outlaw has quit [Remote host closed the connection]
<beach> younder: CLX is not a "thin wrapper around xlib". It uses the X11 wire protocol. It has no foreign code in it.
<beach> younder: Name noted.
jmercouris1 has quit [Quit: jmercouris1]
nij- has quit [Ping timeout: 240 seconds]
wacki has joined #commonlisp
mesuutt has joined #commonlisp
zaymington has joined #commonlisp
mesuutt has quit [Ping timeout: 264 seconds]
fitzsim has quit [Read error: Connection reset by peer]
<emaczen> I'm getting an error when trying to (ql:quickload "cffi")
<emaczen> The LET binding spec (HAS-NEGATIVE-VALUE ? NIL) is malformed. -- has this bug been found?
<emaczen> or is it on my end?
<emaczen> nvm it was something on my end.
mesuutt has joined #commonlisp
mesuutt has quit [Ping timeout: 252 seconds]
danza has joined #commonlisp
zetef has joined #commonlisp
fitzsim has joined #commonlisp
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
decweb has quit [Ping timeout: 256 seconds]
mesuutt has joined #commonlisp
mesuutt has quit [Ping timeout: 240 seconds]
prokhor has joined #commonlisp
X-Scale has quit [Quit: Client closed]
mgl_ has quit [Ping timeout: 264 seconds]
pve has joined #commonlisp
prokhor has quit [Remote host closed the connection]
istewart has quit [Quit: Konversation terminated!]
shka has joined #commonlisp
st_aldini1 has joined #commonlisp
st_aldini has quit [Ping timeout: 255 seconds]
st_aldini1 is now known as st_aldini
mesuutt has joined #commonlisp
mesuutt has quit [Ping timeout: 252 seconds]
rgherdt has joined #commonlisp
King_julian has joined #commonlisp
tok has joined #commonlisp
msavoritias has joined #commonlisp
_cymew_ has joined #commonlisp
donleo has joined #commonlisp
danza has quit [Ping timeout: 255 seconds]
zetef has quit [Ping timeout: 255 seconds]
Eoco has quit [Ping timeout: 256 seconds]
mesuutt has joined #commonlisp
amb007 has quit [Ping timeout: 255 seconds]
jon_atack has quit [Ping timeout: 260 seconds]
alcor has joined #commonlisp
amb007 has joined #commonlisp
mesuutt has quit [Ping timeout: 260 seconds]
Eoco has joined #commonlisp
makomo has joined #commonlisp
jonatack has joined #commonlisp
sl1ght has joined #commonlisp
igemnace has quit [Read error: Connection reset by peer]
zetef has joined #commonlisp
sl1ght has quit [Ping timeout: 252 seconds]
Eoco has quit [Remote host closed the connection]
Eoco has joined #commonlisp
dino_tutter has joined #commonlisp
Eoco has quit [Remote host closed the connection]
Eoco has joined #commonlisp
igemnace has joined #commonlisp
Eoco has quit [Remote host closed the connection]
Eoco has joined #commonlisp
Eoco has quit [Remote host closed the connection]
rtypo has joined #commonlisp
zetef has quit [Ping timeout: 240 seconds]
Eoco has joined #commonlisp
random-jellyfish has joined #commonlisp
Eoco has quit [Remote host closed the connection]
danse-nr3 has joined #commonlisp
zetef has joined #commonlisp
mesuutt has joined #commonlisp
hayley has joined #commonlisp
Eoco has joined #commonlisp
anticomputer_ has joined #commonlisp
anticomputer has quit [Ping timeout: 260 seconds]
<hayley> beach, younder: I suppose I should ask sooner rather than later if I am allowed to release my compiler which I might use for thesis work; I am still using McCLIM and Graphviz to visualise and debug my sea-of-nodes IR.
mesuutt has quit [Ping timeout: 252 seconds]
<hayley> And I have a habit of adding more bells and whistles to the visualiser, now it looks like <https://social.applied-langua.ge/media/5088ad65-dc78-4695-a102-9fceccdbabeb/Screenshot%20from%202024-04-07%2019-15-52.png>
<beach> hayley: Who would you ask and why? And why is this important to me or younder?
<hayley> I'd ask my supervisor as I'm not sure what the rules are. And I was reading the #commonlisp log and found a message from yesterday "anyhow started a sicl-graph side project to implement grahviz dot's default layout algorithm and render it in mcclim. It will be used to help debug the SSA graph."
<beach> hayley: younder is planning to implement the GraphViz algorithms in Common Lisp.
zetef has quit [Ping timeout: 256 seconds]
Eoco has quit [Remote host closed the connection]
<hayley> Oh, I see then.
<beach> hayley: I am not sure how that's related to your compiler.
<hayley> Maybe I read too hard into the second sentence about it being used to debug a SSA graph.
<beach> Oh, I think that's related to younder's project of creating a backend library.
Eoco has joined #commonlisp
Eoco has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 268 seconds]
Eoco has joined #commonlisp
amb007 has joined #commonlisp
King_julian has quit [Ping timeout: 256 seconds]
zetef has joined #commonlisp
Eoco has quit [Remote host closed the connection]
danse-nr3 has quit [Ping timeout: 256 seconds]
Eoco has joined #commonlisp
danse-nr3 has joined #commonlisp
King_julian has joined #commonlisp
Eoco has quit [Remote host closed the connection]
aeth has quit [Quit: Reconnecting]
Eoco has joined #commonlisp
aeth has joined #commonlisp
mesuutt has joined #commonlisp
Eoco has quit [Remote host closed the connection]
msavoritias has quit [Ping timeout: 256 seconds]
mesuutt has quit [Ping timeout: 256 seconds]
Eoco has joined #commonlisp
synchromesh has quit [Read error: Connection reset by peer]
synchromesh has joined #commonlisp
random-jellyfish has quit [Ping timeout: 255 seconds]
Eoco has quit [Remote host closed the connection]
Eoco has joined #commonlisp
nij- has joined #commonlisp
random-nick has joined #commonlisp
Eoco has quit [Remote host closed the connection]
nij- has quit [Ping timeout: 246 seconds]
Eoco has joined #commonlisp
msavoritias has joined #commonlisp
Eoco has quit [Remote host closed the connection]
Eoco has joined #commonlisp
Eoco has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 272 seconds]
amb007 has joined #commonlisp
mesuutt has joined #commonlisp
danse-nr3 has quit [Remote host closed the connection]
mesuutt has quit [Ping timeout: 260 seconds]
Eoco has joined #commonlisp
nij- has joined #commonlisp
danse-nr3 has joined #commonlisp
danse-nr3 has quit [Remote host closed the connection]
danse-nr3 has joined #commonlisp
Eoco has quit [Remote host closed the connection]
poplin has quit [Read error: Connection reset by peer]
Eoco has joined #commonlisp
poplin has joined #commonlisp
mesuutt has joined #commonlisp
mm007emko has quit [Ping timeout: 264 seconds]
mm007emko has joined #commonlisp
amb007 has quit [Ping timeout: 246 seconds]
amb007 has joined #commonlisp
mesuutt has quit [Ping timeout: 264 seconds]
kurfen has quit [Read error: Connection reset by peer]
kurfen has joined #commonlisp
thuna` has quit [Ping timeout: 256 seconds]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 272 seconds]
Lord_of_Life_ is now known as Lord_of_Life
mm007emko has quit [Read error: Connection reset by peer]
mm007emko has joined #commonlisp
King_julian has quit [Ping timeout: 256 seconds]
thuna` has joined #commonlisp
pranav has joined #commonlisp
zetef has quit [Ping timeout: 252 seconds]
mesuutt has joined #commonlisp
nij- has quit [Ping timeout: 268 seconds]
zetef has joined #commonlisp
poplin has quit [Read error: Connection reset by peer]
poplin has joined #commonlisp
mesuutt has quit [Ping timeout: 252 seconds]
random-jellyfish has joined #commonlisp
random-jellyfish has quit [Changing host]
random-jellyfish has joined #commonlisp
zaymington has quit [Ping timeout: 240 seconds]
zaymington has joined #commonlisp
danse-nr3 has quit [Ping timeout: 264 seconds]
King_julian has joined #commonlisp
zetef has quit [Ping timeout: 260 seconds]
yitzi has joined #commonlisp
awlygj has joined #commonlisp
svm has joined #commonlisp
danse-nr3 has joined #commonlisp
danse-nr3 has quit [Remote host closed the connection]
random-jellyfish has quit [Ping timeout: 256 seconds]
danse-nr3 has joined #commonlisp
msv has quit [Ping timeout: 260 seconds]
poplin has quit [Read error: Connection reset by peer]
random-jellyfish has joined #commonlisp
X-Scale has joined #commonlisp
chomwitt has joined #commonlisp
poplin has joined #commonlisp
Eoco has quit [Ping timeout: 268 seconds]
chomwitt has quit [Ping timeout: 268 seconds]
svm is now known as msv
Eoco has joined #commonlisp
hayley has quit [Quit: leaving]
nij- has joined #commonlisp
mesuutt has joined #commonlisp
amb007 has quit [Ping timeout: 256 seconds]
amb007 has joined #commonlisp
Eoco has quit [Remote host closed the connection]
mesuutt has quit [Ping timeout: 255 seconds]
poplin has quit [Read error: Connection reset by peer]
poplin has joined #commonlisp
Eoco has joined #commonlisp
random-jellyfish has quit [Ping timeout: 268 seconds]
_cymew_ has quit [Quit: Konversation terminated!]
zaymington has quit [Remote host closed the connection]
zaymington has joined #commonlisp
poplin has quit [Read error: Connection reset by peer]
poplin has joined #commonlisp
poplin has quit [Read error: Connection reset by peer]
poplin has joined #commonlisp
Eoco has quit [Remote host closed the connection]
Eoco has joined #commonlisp
amb007 has quit [Ping timeout: 255 seconds]
amb007 has joined #commonlisp
semarie has quit [Ping timeout: 255 seconds]
Eoco has quit [Remote host closed the connection]
Eoco has joined #commonlisp
poplin has quit [Ping timeout: 252 seconds]
AetherWind has joined #commonlisp
poplin has joined #commonlisp
n8n has joined #commonlisp
awlygj has quit [Ping timeout: 255 seconds]
amb007 has quit [Ping timeout: 256 seconds]
semarie has joined #commonlisp
varjag has joined #commonlisp
Eoco has quit [Ping timeout: 252 seconds]
mesuutt has joined #commonlisp
mesuutt has quit [Ping timeout: 252 seconds]
Eoco has joined #commonlisp
rendar has joined #commonlisp
<beach> So I looked in *inferior-lisp* when my SLIME connection closed unexpectedly. I have condition: Deadlock cycle detected: #1=<...THREAD... "reader-thread" ...> waited for <..MUTEX "GF lock" (free)> owned by: <... THREAD "repl-thread" ABORTED ...> waited for: (<...MUTEX "World Lock" (free)>) owned by: #1#.
nij- has left #commonlisp [Using Circe, the loveliest of all IRC clients]
Eoco has quit [Remote host closed the connection]
mm007emko has quit [Ping timeout: 252 seconds]
Eoco has joined #commonlisp
mm007emko has joined #commonlisp
Eoco has quit [Remote host closed the connection]
chomwitt has joined #commonlisp
mm007emko has quit [Ping timeout: 252 seconds]
poplin has quit [Ping timeout: 252 seconds]
mm007emko has joined #commonlisp
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
poplin has joined #commonlisp
Eoco has joined #commonlisp
mm007emko has quit [Read error: Connection reset by peer]
<scymtym> beach: stas recently dealt with a issues around the deadlock detector and also knows slime very well so maybe ask in #sbcl
mm007emko has joined #commonlisp
<beach> Good advice. Thank you.
Eoco has quit [Remote host closed the connection]
NotThatRPG has joined #commonlisp
lucasta has joined #commonlisp
waleee has joined #commonlisp
Eoco has joined #commonlisp
mesuutt has joined #commonlisp
kopiyka_ has quit [Remote host closed the connection]
kopiyka has joined #commonlisp
Faed_ is now known as Fade
Fade has quit [Changing host]
Fade has joined #commonlisp
mesuutt has quit [Ping timeout: 252 seconds]
Eoco has quit [Remote host closed the connection]
Eoco has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Eoco has quit [Remote host closed the connection]
decweb has joined #commonlisp
King_julian has quit [Ping timeout: 264 seconds]
thuna` has quit [Ping timeout: 240 seconds]
Eoco has joined #commonlisp
danse-nr3 has quit [Ping timeout: 255 seconds]
Eoco has quit [Remote host closed the connection]
msavoritias has quit [Ping timeout: 240 seconds]
danse-nr3 has joined #commonlisp
Eoco has joined #commonlisp
thuna` has joined #commonlisp
poplin has quit [Read error: Connection reset by peer]
poplin has joined #commonlisp
jjnkn has joined #commonlisp
Eoco has quit [Remote host closed the connection]
zaymington has quit [Remote host closed the connection]
zaymington has joined #commonlisp
Eoco has joined #commonlisp
Eoco has quit [Remote host closed the connection]
mesuutt has joined #commonlisp
zetef has joined #commonlisp
OwlWizard has joined #commonlisp
tfeb has joined #commonlisp
mesuutt has quit [Ping timeout: 246 seconds]
zetef has quit [Ping timeout: 252 seconds]
msavoritias has joined #commonlisp
tfeb has quit [Ping timeout: 252 seconds]
Eoco has joined #commonlisp
mgl_ has joined #commonlisp
emaczen has quit [Remote host closed the connection]
nij- has joined #commonlisp
Eoco has quit [Remote host closed the connection]
Eoco has joined #commonlisp
kevingal has joined #commonlisp
igemnace has quit [Read error: Connection reset by peer]
Inline has quit [Quit: Leaving]
Eoco has quit [Remote host closed the connection]
Eoco has joined #commonlisp
Eoco has quit [Remote host closed the connection]
Eoco has joined #commonlisp
Noisytoot has quit [Remote host closed the connection]
Noisytoot has joined #commonlisp
igemnace has joined #commonlisp
kevingal has quit [Ping timeout: 256 seconds]
danse-nr3 has quit [Ping timeout: 260 seconds]
mesuutt has joined #commonlisp
OwlWizard has quit [Quit: OwlWizard]
Inline has joined #commonlisp
mesuutt has quit [Ping timeout: 252 seconds]
Eoco has quit [Remote host closed the connection]
Eoco has joined #commonlisp
Eoco has quit [Remote host closed the connection]
Alfr has joined #commonlisp
Eoco has joined #commonlisp
<nij-> If I want to add a filter/transformer to a stream, must I go through the string stream, manipulate character, and format again? Or is there a cleaner way?
<nij-> Something like this https://bpa.st/FI4A - I'm looking for a better way to define #'transform?!
<ixelp> View paste FI4A
<yitzi> nij-: To implement that as a stream you'll need Gray streams. Or just use vectors and the sequence functions.
<nij-> Got it. Thanks! I'll just use string for now.
NotThatRPG has joined #commonlisp
jmercouris1 has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
Eoco has quit [Remote host closed the connection]
nij- has quit [Ping timeout: 252 seconds]
<yitzi> nij-: If you are curious .... https://plaster.tymoon.eu/view/4225
jmercouris1 has quit [Ping timeout: 260 seconds]
jonatack has joined #commonlisp
waleee has quit [Ping timeout: 240 seconds]
Eoco has joined #commonlisp
nij- has joined #commonlisp
luca_ has joined #commonlisp
yitzi has quit [Remote host closed the connection]
lucasta has quit [Quit: Leaving]
luca_ is now known as OwlWizard
Eoco has quit [Remote host closed the connection]
wacki has joined #commonlisp
Eoco has joined #commonlisp
cage has joined #commonlisp
mesuutt has joined #commonlisp
Eoco has quit [Remote host closed the connection]
Alfr has quit [Quit: Leaving]
Eoco has joined #commonlisp
amb007 has joined #commonlisp
mesuutt has quit [Ping timeout: 256 seconds]
amb007 has quit [Ping timeout: 256 seconds]
mesuutt has joined #commonlisp
yitzi has joined #commonlisp
X-Scale42 has joined #commonlisp
X-Scale has quit [Ping timeout: 250 seconds]
X-Scale42 is now known as X-Scale
mesuutt has quit [Ping timeout: 268 seconds]
nij- has quit [Ping timeout: 272 seconds]
AetherWind has quit [Quit: leaving]
n8n has quit [Quit: WeeChat 4.2.2]
chomwitt has quit [Ping timeout: 272 seconds]
jonatack has quit [Ping timeout: 246 seconds]
chomwitt has joined #commonlisp
mesuutt has joined #commonlisp
mesuutt has quit [Ping timeout: 264 seconds]
jjnkn has quit [Remote host closed the connection]
nij- has joined #commonlisp
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
chomwitt has quit [Ping timeout: 240 seconds]
pillton has quit [Ping timeout: 244 seconds]
amb007 has joined #commonlisp
<nij-> yitzi Yeah, thanks for the hint. I made #'indent that indents any stream with N spaces :-) https://bpa.st/CFZA
<ixelp> View paste CFZA
<yitzi> np
igemnace has quit [Quit: WeeChat 4.2.1]
amb007 has quit [Ping timeout: 246 seconds]
OwlWizard has quit [Quit: OwlWizard]
amb007 has joined #commonlisp
jonatack has joined #commonlisp
streda has joined #commonlisp
<streda> hi. i was wondering how people deal with situations when one needs fast and generic access inside of datastructures. a concrete example is a graph library. there might be graphs which are better stored as adjacency matrices, dictionaries of neighbors, dictionaries of vertices -> edges, etc. but for all of these it might be desirable to write a single dijkstra search algorithm. implementing this naively using CLOS will incur lots of
<streda> generic function dispatch in inner loops
<streda> for example even iterating through the edges leaving a vertex
msavoritias has quit [Ping timeout: 264 seconds]
<streda> one possible idea is to define generic functions which return closures, like "getters" for internal datastructures. but I am wondering if this is just extra complexity and is likely to be slower than normal CLOS dispatch anyway
<streda> on the other hand, this way the cost of generic function dispatch is only incurred once, when generating the closure
King_julian has joined #commonlisp
X-Scale has quit [Ping timeout: 250 seconds]
n8n has joined #commonlisp
mesuutt has joined #commonlisp
mesuutt has quit [Ping timeout: 255 seconds]
<younder> Yeah, basically the iterator pattern. A good CLOS implementation should optimize away unnecessary specialization and inline access.
King_julian has quit [Ping timeout: 252 seconds]
<mrcom> streda: Have you benchmarked against your preferred environ? Some generics implementations are surprisingly quick.
msv has quit [Ping timeout: 272 seconds]
waleee has joined #commonlisp
jonatack has quit [Ping timeout: 255 seconds]
anticomputer_ has quit [Ping timeout: 260 seconds]
mrcom has quit [Quit: Leaving]
<streda> mrcom: that's true, but I'm asking since it's a question of API design in many cases how to use CLOS, and it can be frustrating to settle on an API whicih is either not general enough or fundamentally too slow.
anticomputer has joined #commonlisp
wacki has joined #commonlisp
nij- has left #commonlisp [Using Circe, the loveliest of all IRC clients]
<streda> younder: I thought CLOS isn't allowed to inline method selection because of redefinition?
<younder> If you run into performance problems - profile. Don't assume it will be too slow. Other things like the algorithm and memory layout will likely dominate.
mrcom has joined #commonlisp
kevingal has joined #commonlisp
<bike> streda: you can inline but put in a check to revert to the slow path if the classes don't match, which can be plenty quick.
Oladon has quit [Read error: Connection reset by peer]
Oladon has joined #commonlisp
kurfen has quit [Read error: Connection reset by peer]
<streda> bike: you are saying I can do this myself somehow, or that implementations will do this for me?
kurfen has joined #commonlisp
msv has joined #commonlisp
mesuutt has joined #commonlisp
Oladon has quit [Read error: Connection reset by peer]
mesuutt has quit [Ping timeout: 268 seconds]
Oladon has joined #commonlisp
chomwitt has joined #commonlisp
josrr has joined #commonlisp
yitzi has quit [Ping timeout: 240 seconds]
prokhor has joined #commonlisp
yitzi has joined #commonlisp
josrr has quit [Remote host closed the connection]
josrr has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 29.2]
reb has joined #commonlisp
varjag has joined #commonlisp
mesuutt has joined #commonlisp
yitzi has quit [Remote host closed the connection]
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
King_julian has joined #commonlisp
tok has quit [Remote host closed the connection]
attila_lendvai has quit [Ping timeout: 255 seconds]
<bike> streda: i'm saying implementations can do it. it's how beach's technique works, basically
shka has quit [Ping timeout: 264 seconds]
random-jellyfish has joined #commonlisp
dtman34 has joined #commonlisp
amb007 has quit [Ping timeout: 256 seconds]
dra has joined #commonlisp
luca_ has joined #commonlisp
luca_ is now known as OwlWizard
pfdietz has joined #commonlisp
random-jellyfish has quit [Remote host closed the connection]
random-jellyfish has joined #commonlisp
random-jellyfish has quit [Changing host]
random-jellyfish has joined #commonlisp
makomo has quit [Ping timeout: 268 seconds]
alcor has quit [Ping timeout: 256 seconds]
King_julian has quit [Ping timeout: 264 seconds]
gjvc has quit [Quit: leaving]
gjvc has joined #commonlisp
dino_tutter has quit [Ping timeout: 255 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 255 seconds]
reb has quit [Remote host closed the connection]
zaymington has quit [Ping timeout: 256 seconds]
donleo has quit [Ping timeout: 252 seconds]
<streda> bike: what is beach's technique? is he the author of fast-generic-functions?
<streda> also, a specific question along this direction: say that I want to implement a "generic" equality which is used in the inner loop of some algorithm. do people have a feeling for if it's better to have something like (defgeneric my-compare (a b) :method ((a fixnum) (b fixnum)) (= a b)) or (defgeneric my-comparator (a b) :method ((a fixnum) (b fixnum)) #'=), and call the generic function once and use the returned function in the inner
<streda> loop?
random-jellyfish has quit [Ping timeout: 256 seconds]
pve has quit [Quit: leaving]
chomwitt has quit [Ping timeout: 256 seconds]
pranav has quit [Remote host closed the connection]
<aeth> which is better as in what's faster? try benchmarking it
green_ has quit [Ping timeout: 255 seconds]
<streda> aeth: my actual usecase is a bit more complicated than the simple example above (and I would have to commit to a design to write out the benchmarks), and I was just wondering if there was a best practice or intuition that people had. it's a bit lazy but doing actual benchmarks on this usecase would take some non-trivial effort :)
<aeth> I think you generally want to remove the genericness for inner loops and performance, but removing it via higher-order function may not help
<aeth> unless the HOF was the loop itself with different non-generic versions of the loop
<aeth> may actually be worse because the generic could be inlined (via library)
random-jellyfish has joined #commonlisp
random-jellyfish has quit [Changing host]
random-jellyfish has joined #commonlisp
rgherdt has quit [Quit: Leaving]
zaymington has joined #commonlisp
ymir has joined #commonlisp
<ymir> Is it possible to disable wildcarding on a pathname? For instance, I have a pathname that contains square brackets in the pathname-name section and I'm trying to get the namestring of pathname-name but end up with type errors since it's of type SB-IMPL::PATTERN
<Colleen> ymir: adlai said at 2024.03.07 08:47:37: standard ways from ANSI CL for control flow will rarely solve problems magically; what you want is probably the array displacement idiom
Grauwolf has quit [Ping timeout: 240 seconds]
kevingal has quit [Ping timeout: 246 seconds]
<paulapatience> streda: beach's technique being inlining with the check, as bike mentioned right abov
<streda> paulapatience: I meant what is the practical example/library/compiler/extension being recommended. I assume it's not just writing the checks/inlined code by hand...
OwlWizard has quit [Quit: OwlWizard]
ebrasca has joined #commonlisp
varjag has quit [Ping timeout: 255 seconds]
Grauwolf has joined #commonlisp
dra has quit [Ping timeout: 256 seconds]