freenode/lisp - IRC Chatlog
Search
22:22:31
Feldman
So I was looking at Robert Strandh's paper and I wanted to implpment it as my university project. I was told on the discord that you had partial done some of it and that I should contact you.
22:26:23
scymtym
i see. by now, there are multiple implementations that are to some extent based on that technique. what i did is actually pretty far from what the paper describes. part of the reason is that i targeted SBCL
22:26:45
scymtym
i talked a bit about my implementation here: https://techfak.de/~jmoringe/dispatch-demo.ogv
22:28:42
scymtym
as far as i know, SICL (by Robert Standh) has one, ECL has most of the required infrastructure and Clasp more or less implements what is described in the paper
22:30:04
Feldman
Do you think it would still be worthwhile writing my own implementation in the SBCL code?
22:34:08
scymtym
that is worthwhile in my opinion, but i'm not sure it would make a good university project. since SBCL organizes standard instances and also other objects very differently compared to the assumptions of the paper, you would have to bridge over many gaps
22:34:32
scymtym
while that makes the project more interesting and researchy, it is also hard and requires time
22:35:33
Feldman
Officially the project is 300 hours of work, but in practice it ends up being more than that.
22:35:42
scymtym
SBCL has immediate objects with lowtags, instances with a layout, a classoid and a class, "other pointers" with a widetag
22:37:02
scymtym
i think making something that could actually replace the dispatch part of PCL in SBCL is much more work. you could aim for a proof-of-concept, of course
22:38:06
scymtym
you know what, i mentioned that ECL now has some of the infrastructure required for fastgf which was in fact added in order to eventually implement it. maybe as jackdaniel about adding fastgf to ECL instead
22:45:52
Feldman
sorry what do you mean implemented "the thing"? what thing? (infrastructre on ECL, worked on fastgf on Clasp etc)
22:47:28
Bike
i mean, drmeister did it first, but i've pretty much rewritten it all a few times by now, so i'm familiar with the workings
22:50:44
Feldman
My worry with ECL is that if all the "infrastructre" is there, it might not be enough to count, but SBCL does seem much harder yeah.
22:53:11
scymtym
jackdaniel is one of the maintainers of ECL. he should have a good idea of what would need to be done for ECL. he is available in this channel during European daytime most of the time
22:54:04
Feldman
Scymtym, what exactly did you mean by "infrastructure" now that I think of it? I'll make sure to contact jackdaniel as well ofc
22:55:02
scymtym
i don't know any details but i think jackdaniel changed or extended the object representation in ECL to add stamps
1:44:14
npfaro
i have a problem with slime/emacs. When i put the cursor inside a form where the auto-complete would kick in, it puts the Common Lisp one provided from slime in the minibuffer, but then about half a second later it's overwritten by the ELisp one
1:47:21
ludston
npfaro: Are you using the lastest version of Emacs/slime/your lisp implementation? What auto-complete package are you using in emacs?
1:48:40
npfaro
ludston: not really auto-complete but rather the little function signature that appears in the minibuffer. I think it's called eldoc? I just disabled eldoc-mode in the lisp buffer though and it's still doing it so idk
1:55:51
ludston
Probably something in your .emacs file is hooking elisp to the same auto-complete lib? I assume you are coding in both elisp and CL?
2:00:43
ludston
To me it smells like there is some hook in your .emacs file like (add-to-list 'some-elmacs-buffer-hook 'some-elisp-fn-lookup)
2:01:30
Bike
it looks like i have both eldoc and global-eldoc minor modes on but loop displays correctly
2:04:03
npfaro
alright. as far as i can tell, there's nothing touching elisp or slime in my config file
2:11:49
Nilby
I ran into problems like this. But I'm not sure I solved them. I just turned off slime-autodoc.
2:12:07
Nilby
But I have some code like this https://plaster.tymoon.eu/view/2248#2248 in my start up.
2:23:58
charles`
If I want to change directory, load file, then change back, why doesn't this work. It doesn't seem to change directory properly?
2:28:32
Nilby
I'm sorry to say it's complicated and slightly implementation dependent. On some implementations you can just chdir, on some you have to set *default-pathname-defaults*, on some maybe both?