libera/#commonlisp - IRC Chatlog
Search
19:54:26
aeth
nij-: but there are a lot of different approaches, e.g. you could put it in a separate program, launch it with uiop:launch-program, and communicate that way (inter-process, I think).
19:54:30
nij-
I see. I want to make a lisp program that is ready to talk to any other popular languages in order to use their libraries.
19:55:04
nij-
aeth I was looking at uiop:launch-program the other day, but using :stream to talk to each other is kind of fragile.
19:55:22
nij-
For example, if both runtimes want to send others many tasks at the same time, the channel is likely to be broken.
19:55:48
nij-
So I ponder it may be safer and more robust to use a mature socket as the communication interface.
19:56:26
nij-
Bike: besides that, I expect to run intensive calculations (CPU bound) on both sides, and send large datas.
19:56:51
aeth
you should probably start with a specific solution for a specific use case or else you will just wind up with something incredibly general and overengineered, but probably not that fast in the long run... and maybe you'd reinvent microservices
19:57:39
nij-
aeth Yeah.. I'm still trying to narrow what's the best appoach to my problem. And then I will select an existing solution.
20:01:51
nij-
what do people use nowadays when it comes to communicating between run times? And what's the standard practice for common lisp?
20:03:41
White_Flame
often people create individual commands instead of having an "anything goes" rpc
20:04:02
White_Flame
with a specified command interface, then you can avoid introspection if other languages don't support it
20:04:25
aeth
these days people probably just don't care about the overhead that much and use JSON... in part because it's probably going to have to go over the network anyway
22:25:49
Kingsy
has anyone had a strange issue with the sbcl stepper not allowing the step into of functions? When I do it, it just resumes execution. I am really frustrated by it. I feel like having a working stepper might really help me understand lisp as I learn, perhaps its a emacs specific problem I just don't know.
5:26:50
kakuhen
From SBCL documentation: "If debug is greater than all of speed, space and compilation-speed the code will be steppable"
5:33:09
kakuhen
ok, with some basic testing in a scratch buffer, I'm noticing that SBCL allows stepping into functions when the mentioned condition holds true, in addition to code containing a function with a non-empty lambda list
6:31:14
contrapunctus
Is there a function to determine whether a class A is either the same as or a descendent of class B?