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/>
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 245 seconds]
chomwitt has quit [Ping timeout: 268 seconds]
ColinRobinson has quit [Quit: praxis.meansofproduction.biz (juan@acm.org)]
Sario has quit [Quit: WeeChat 4.3.5]
reb has quit [Remote host closed the connection]
reb has joined #commonlisp
triffid has joined #commonlisp
alfiee has joined #commonlisp
josrr has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]
alfiee has quit [Ping timeout: 260 seconds]
Guest7530 has quit [Ping timeout: 265 seconds]
ahz_ has quit [Ping timeout: 265 seconds]
jonatack has quit [Read error: Connection reset by peer]
jonatack has joined #commonlisp
alfiee has joined #commonlisp
pfdietz has quit [Quit: Client closed]
alfiee has quit [Ping timeout: 252 seconds]
akoana has quit [Quit: leaving]
bilegeek has joined #commonlisp
waleee has quit [Ping timeout: 244 seconds]
random-nick has quit [Ping timeout: 244 seconds]
Pixel_Outlaw has quit [Quit: Leaving]
alfiee has joined #commonlisp
Fare has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
surabax has quit [Quit: Leaving]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
bilegeek has quit [Quit: Leaving]
bilegeek has joined #commonlisp
mala has joined #commonlisp
malaclyps has quit [Ping timeout: 268 seconds]
troojg has joined #commonlisp
malaclyps has joined #commonlisp
mala has quit [Ping timeout: 260 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 272 seconds]
jonatack has quit [Ping timeout: 252 seconds]
jonatack has joined #commonlisp
jonatack has quit [Ping timeout: 272 seconds]
jonatack has joined #commonlisp
troojg has quit [Remote host closed the connection]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 272 seconds]
gnoo has quit [Ping timeout: 272 seconds]
gnoo has joined #commonlisp
decweb has quit [Quit: Konversation terminated!]
vardhan has joined #commonlisp
vardhan_ has joined #commonlisp
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 272 seconds]
malaclyps has quit [Ping timeout: 272 seconds]
mala has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
jonatack has joined #commonlisp
geminium has joined #commonlisp
geminium has quit [Ping timeout: 245 seconds]
bilegeek has quit [Quit: Leaving]
bpanthi977 has quit [Ping timeout: 272 seconds]
edgar-rft` has joined #commonlisp
edgar-rft_ has quit [Ping timeout: 252 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 268 seconds]
xantoz has quit [Read error: Connection reset by peer]
Lord_of_Life has quit [Ping timeout: 260 seconds]
Lord_of_Life has joined #commonlisp
istewart has quit [Quit: Konversation terminated!]
Alfr has quit [Remote host closed the connection]
Alfr has joined #commonlisp
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 244 seconds]
pkal has quit [Read error: Connection reset by peer]
pkal has joined #commonlisp
veqq has joined #commonlisp
veqq has quit [Client Quit]
ahz_ has joined #commonlisp
Guest7530 has joined #commonlisp
mishoo has joined #commonlisp
alfiee has joined #commonlisp
zwr has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
younder has quit [Remote host closed the connection]
younder has joined #commonlisp
mishoo has quit [Ping timeout: 260 seconds]
zxcvz has joined #commonlisp
jeffrey has joined #commonlisp
phantomics has quit [Ping timeout: 248 seconds]
phantomics_ has joined #commonlisp
jrx has joined #commonlisp
alfiee has joined #commonlisp
Guest8456 has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
Guest8456 has quit [Client Quit]
geminium has joined #commonlisp
Fare has quit [Quit: Leaving]
geminium has quit [Ping timeout: 252 seconds]
pve has joined #commonlisp
alfiee has joined #commonlisp
seanw` has joined #commonlisp
alfiee has quit [Ping timeout: 248 seconds]
seanw has quit [Ping timeout: 260 seconds]
mwnaylor has quit [Ping timeout: 276 seconds]
vardhan has quit [Remote host closed the connection]
vardhan_ has quit [Remote host closed the connection]
vardhan has joined #commonlisp
vardhan_ has joined #commonlisp
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 252 seconds]
cage has joined #commonlisp
cage has quit [Excess Flood]
cage has joined #commonlisp
geminium has joined #commonlisp
alfiee has joined #commonlisp
geminium has quit [Ping timeout: 245 seconds]
alfiee has quit [Ping timeout: 244 seconds]
mishoo has joined #commonlisp
jeffrey has quit [Quit: jeffrey]
jeffrey has joined #commonlisp
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
puchacz has joined #commonlisp
<puchacz> hi, I have never understood the challenges of integration with native software, either Lisp calling into native, or preparing Lisp functions to be called from native. I see people mention things like only one side should touch system resources like printing to terminal. I don't know C either, but before I start seriously digging into it, I would
<puchacz> like to understand conceptually these challenges. what should I read please?
<puchacz> for example it feels like building a postgres plugin with Lisp could be useful, but I don't think anybody did, so it is probably complex.
alfiee has joined #commonlisp
<beach> When it comes to calling Common Lisp code from something like C, there is a big problem in that Common Lisp code can't function without the entire Common Lisp system being present, because of things like the garbage collector, and the Common Lisp compiler needing to be present.
<puchacz> is this only the problem of deliverable library size?
random-nick has joined #commonlisp
<beach> Well, in general, you can't link an entire Common Lisp system with some C application.
<puchacz> I think you mentioned once in the context of "sbcl librarian" being used with java jni, that one needs to be careful about "who holds the keys to system resources". so it would be something in line with my first question now.
<beach> Calling C from Common Lisp is quite common, though, using some foreign-function interface.
<puchacz> yes, e.g. sqlite. but with things like postgres or java jni it would have to be callable both ways.
alfiee has quit [Ping timeout: 252 seconds]
<beach> If by "you" in "I think you mentioned once", you mean me, that can't be possible.
<puchacz> okay, I meant you beach - then I must be mis-remembering, no worries.
<puchacz> so to understand the situation better, should I just start a C programming book and things will become clearer for me?
<puchacz> I feel the challenges are not really about C programming.
<beach> It is always good to learn a new language, and C is everywhere. But I am not sure things will become clearer that way.
<puchacz> exactly
<puchacz> there are ECL and Clasp, perhaps I should study them?
<puchacz> and bump into problems as I go along
<beach> Well, I don't think I know of a case where the main application is written in some other language, and that application calls Common Lisp code, but maybe that exists.
<beach> I guess you can get away with it if you use a wire protocol for communication between the two.
<puchacz> there is functioning java jni in lispworks, but (1) java adds a lot of challenges on its own I think and (2) it is not open source.
<puchacz> and yes, wire protocol always works.
<beach> But isn't that a case where LispWorks calls Java?
<puchacz> must be both ways. otherwise it will not be useful in android
<puchacz> and they sell licenses for android runtime.
<beach> I see.
<puchacz> I actually recall that there is sbcl <-> python cl4py relatively recent, work in progrsss, native system. perhaps I should look there.
<beach> Maybe so.
<puchacz> FYI I mean this https://github.com/digikar99/py4cl2-cffi - okay, thanks. I will look there.
<ixelp> GitHub - digikar99/py4cl2-cffi: CFFI based alternative to py4cl2
<puchacz> (apologies it may be one way too)
<puchacz> no worries
<jackdaniel> beach: ECL main part is libecl.so and it can be trivially linked with some C application (and it is entire Common Lisp system)
<beach> Excellent!
<puchacz> jackdaniel - excellent indeed; do you know of any relatively simple open source examples I can study?
<jackdaniel> sure, they are in examples/ directory in ecl
<puchacz> great, thanks!
<jackdaniel> for more sophisticated example see EQL and LQML (ECL linked against QT)
<jackdaniel> I think that someone wrote a godot plugin in ecl, but I don't know wheter it is public or not
jeffrey has quit [Ping timeout: 245 seconds]
<puchacz> I googled both, godot the game engine?
<jackdaniel> yes, but as I've said I don't know whether it is open source or not
<puchacz> ok - I can't find the one for godot, so I will stick with QT
<jackdaniel> I'd look into examples, that should get you started
josrr has joined #commonlisp
<puchacz> ok - learning C while looking at these examples seems like a way to go then.
<puchacz> thanks both :)
decweb has joined #commonlisp
geminium has joined #commonlisp
<jackdaniel> sure
<jackdaniel> good luck
random-nick has quit [Ping timeout: 252 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 245 seconds]
zxcvz has quit [Quit: zxcvz]
jonatack has quit [Ping timeout: 245 seconds]
jrx has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]
jonatack has joined #commonlisp
vardhan_ has quit [Ping timeout: 246 seconds]
vardhan has quit [Ping timeout: 265 seconds]
surabax has joined #commonlisp
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 272 seconds]
gooba has quit [Remote host closed the connection]
varjag has joined #commonlisp
gooba has joined #commonlisp
Posterdati has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
Posterdati has joined #commonlisp
geminium has quit [Ping timeout: 272 seconds]
alfiee has joined #commonlisp
jeffrey has joined #commonlisp
chomwitt has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
chomwitt has quit [Ping timeout: 252 seconds]
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
zwr has quit [Read error: Connection reset by peer]
zwr has joined #commonlisp
puchacz has quit [Quit: Client closed]
pranav has quit [Remote host closed the connection]
eddof13 has joined #commonlisp
eddof13 has quit [Client Quit]
shka has joined #commonlisp
josrr has quit [Ping timeout: 260 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
lagash has joined #commonlisp
lagash has quit [Remote host closed the connection]
lagash has joined #commonlisp
lagash has quit [Remote host closed the connection]
jeffrey has quit [Quit: jeffrey]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 260 seconds]
bpanthi977 has joined #commonlisp
Thermoriax has quit [Quit: BBIAB]
bpanthi977 has quit [Ping timeout: 276 seconds]
euandreh has quit [Quit: euandreh]
jeffrey has joined #commonlisp
attila_lendvai has joined #commonlisp
bpanthi977 has joined #commonlisp
alfiee has joined #commonlisp
pranav has joined #commonlisp
bpanthi977 has quit [Ping timeout: 248 seconds]
alfiee has quit [Ping timeout: 244 seconds]
fmira has quit [Remote host closed the connection]
triffid has quit [Remote host closed the connection]
fmira has joined #commonlisp
triffid has joined #commonlisp
emacsomancerer is now known as emacsomancer
cage has quit [Remote host closed the connection]
alfiee has joined #commonlisp
cage has joined #commonlisp
cage has quit [Excess Flood]
cage has joined #commonlisp
alfiee has quit [Ping timeout: 244 seconds]
bpanthi977 has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
jeffrey has quit [Quit: jeffrey]
triffid has quit [Read error: Connection reset by peer]
fmira has quit [Read error: Connection reset by peer]
triffid has joined #commonlisp
fmira has joined #commonlisp
veqq has joined #commonlisp
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
attila_lendvai_ has joined #commonlisp
attila_lendvai has quit [Read error: Connection reset by peer]
jeffrey has joined #commonlisp
alendvai__ has joined #commonlisp
attila_lendvai_ has quit [Ping timeout: 245 seconds]
fmira has quit [Remote host closed the connection]
fmira has joined #commonlisp
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 244 seconds]
msv has quit [Remote host closed the connection]
msv has joined #commonlisp
mrcom has quit [Quit: Leaving]
veqq has quit [Quit: veqq]
MyNetAz has quit [Remote host closed the connection]
foretspa1sibles has quit [Ping timeout: 268 seconds]
MyNetAz has joined #commonlisp
foretspa1sibles has joined #commonlisp
mwnaylor has joined #commonlisp
geminium has joined #commonlisp
waleee has joined #commonlisp
alfiee has joined #commonlisp
yazz has quit [Ping timeout: 244 seconds]
yazz has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
markb1 has quit [Ping timeout: 252 seconds]
pve has quit [Quit: leaving]
markb1 has joined #commonlisp
anticomputer has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
mishoo has quit [Ping timeout: 248 seconds]
anticomputer has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 30.1]
alfiee has joined #commonlisp
markb1 has quit [Ping timeout: 248 seconds]
alfiee has quit [Ping timeout: 244 seconds]
dtman34 has quit [Ping timeout: 244 seconds]
alendvai__ is now known as attila_lendvai
dtman34 has joined #commonlisp
markb1 has joined #commonlisp
dino_tutter has quit [Quit: Leaving]
dino_tutter has joined #commonlisp
geminium has quit [Ping timeout: 244 seconds]
markb1 has quit [Ping timeout: 245 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 268 seconds]
markb1 has joined #commonlisp
chomwitt has joined #commonlisp
JuanDaugherty has joined #commonlisp
markb1 has quit [Ping timeout: 244 seconds]
euandreh has joined #commonlisp
markb1 has joined #commonlisp
random-nick has joined #commonlisp
jeffrey has quit [Quit: jeffrey]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 248 seconds]
markb1 has quit [Ping timeout: 248 seconds]
Thermoriax has joined #commonlisp
cow_2001 has quit [Ping timeout: 252 seconds]
markb1 has joined #commonlisp
cow_2001 has joined #commonlisp
yaneko has quit [Quit: parting]
varjag has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.2)]
yaneko has joined #commonlisp
markb1 has quit [Ping timeout: 260 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 246 seconds]
deadmarshal_ has quit [Remote host closed the connection]
markb1 has joined #commonlisp
JuanDaugherty has quit [Quit: praxis.meansofproduction.biz (juan@acm.org)]
zwr has quit [Remote host closed the connection]
chomwitt has quit [Ping timeout: 272 seconds]
jeffrey has joined #commonlisp
mange has joined #commonlisp
markb1 has quit [Ping timeout: 252 seconds]
alfiee has joined #commonlisp
markb1 has joined #commonlisp