freenode/lisp - IRC Chatlog
Search
19:25:24
White_Flame
SBCL doesn't have a lot of specifically applicable optimizations. But it does focus on the biggies
19:25:36
White_Flame
it doesn't have a peephole optimizer either, which really bugs me when reading disassemblies
19:36:04
sveit
what do you mean by "specifically applicable"? i guess this would be a general thing. maybe you mean it could have been implemented by compiler macros?
19:36:46
sveit
but i think eliding constructors (say for structs) is a generally useful optimization, not just for built-in datatypes
19:39:37
aeth
White_Flame: just reading https://en.wikipedia.org/wiki/Peephole_optimization#Replacement_rules
19:42:18
aeth
sveit: I'm more surprised it can't handle the equivalent (defun f (x) (car `(,x . 3))) since I know SBCL does optimize e.g. (defun f () (car '(42 . 3)))
21:04:03
Oberon
Are there any cloud-type platforms for Lisp? It occurs to me that the language may be uniquely suited to the model.
21:04:40
Oberon
It also occurs to me that I could google "lisp cloud" and get my answer there. Excuse me while I clean this egg off of my face.
21:20:33
phoe
if you mean something like AWS Lambda, then I guess the runtime advantages provided by Lisp's image-based programming are mostly lost, since you cannot easily debug or inspect recompile your code anymore because it runs Somewhereâ„¢ and usually bills you per hour
21:20:53
phoe
also each request might happen to execute in a different Lisp image, which also means that you don't have the program state in a single place
21:42:13
Oberon
The program state would be a problem, but the model where you have bits of code that you can run on demand, and that can scale up quickly without provisioning a new machine
21:55:22
White_Flame
well, one of the advantages that amazon benefits from with lambda is that they keep your python/node/whatever instance running between executions, if you use them frequently, to save on startup times
23:11:50
aeth
I wonder if you can get a Lisp image running 'in the cloud' in the sense that it runs on mulitple machines simultaneously, sharing the heap. I mean, probably yes, but it's probably also way too hard over just running a dozen Lisp images simultaneously.
1:02:15
remexre
hm, if I wanna rigorously measure the performance of my code (for preventing performance regressions in a certain function), is there standard tooling for doing so?
1:07:37
remexre
oof, though when I quickload it, I get an error about it violating the sb-impl package lock
1:13:05
mfiano
remexre: ensure SBCL and the Quicklisp dist are up to date. It works here using latest for both
4:26:28
buoy49
beach: it's going well. I'm up to first macros chapter. I've also been messing with a little Telegram bot project that I had started before. It's running hunchentoot. That's the tried & true for little web things, right?
4:28:28
minion
buoy49: SICL: SICL is a (perhaps futile) attempt to re-implement Common Lisp from scratch, hopefully using improved programming and bootstrapping techniques. See https://github.com/robert-strandh/SICL
4:28:56
minion
buoy49: Cleavir: A project to create an implementation-independent compilation framework for Common Lisp. Currently Cleavir is part of SICL, but that might change in the future
4:31:50
buoy49
I don't much CS or PL stuff. I've learned some on the job, but I'm "self-taught," so to speak
4:38:02
buoy49
contrapunctus: I actually own a couple of these books (Computer Systems: A Programmers Perspective & Designing Data-Intensive Applications)
4:39:48
buoy49
Guess I should start with SICP after PCL. I've been thinking about SICP for awhile. I did the first chapter about 4 years ago, but was neck deep in my first dev gig and didn't maintain that effort
4:41:01
easye
Like _Art of Computer Programming_, one is never finished with SICP esp. if you work through the problems.
4:44:41
minion
buoy49: look at LiSP: "Lisp in Small Pieces". This book covers Lisp, Scheme and other related dialects, their interpretation, semantics and compilation. To sum it up in a few figures: 500 pages, 11 chapters, 11 interpreters and 2 compilers. <http://pagesperso-systeme.lip6.fr/Christian.Queinnec/WWW/LiSP.html>
4:45:28
beach
It is a translation from French, but thanks to the very talented translator, the translation is actually better than the original.
4:46:34
easye
buoy49: exactly, 'cuz the problems lead to further questions, which lead to further problems, like all truly great pedagogical texts.
4:48:40
easye
beach: interesting that the translation is better than the original. Never heard that before. (I don't know French well enough to judge)
4:49:00
buoy49
beach: that's interesting re: translation, but that seems to be the case with quite a few texts now that I think of it
4:49:39
beach
I said that partly tongue-in-cheek. The translator is my wife. But I do think it is better.
4:54:10
buoy49
easye: you know about Paris, TX? I haven't been there, yet. But I was reading about it the other day, actually