green_ has quit [Read error: Connection reset by peer]
dtman34 has quit [Read error: Connection reset by peer]
triffid has joined #commonlisp
rtypo has joined #commonlisp
rkazak has joined #commonlisp
dtman34 has joined #commonlisp
rkazak has quit [Ping timeout: 276 seconds]
rkazak has joined #commonlisp
dtman34 has quit [Read error: Connection reset by peer]
dtman34 has joined #commonlisp
rkazak has quit [Ping timeout: 265 seconds]
bpanthi977 has joined #commonlisp
Guest890 has quit [Quit: Using Circe, the loveliest of all IRC clients]
Guest890 has joined #commonlisp
Guest890 has quit [Client Quit]
bpanthi977 has quit [Ping timeout: 252 seconds]
rkazak has joined #commonlisp
dtman34 has quit [Read error: Connection reset by peer]
dtman34 has joined #commonlisp
msv has quit [Ping timeout: 244 seconds]
msv has joined #commonlisp
pve has joined #commonlisp
dtman34 has quit [Read error: Connection reset by peer]
dtman34 has joined #commonlisp
rkazak has quit [Ping timeout: 276 seconds]
alternateved has joined #commonlisp
cmack has quit [Ping timeout: 265 seconds]
mishoo has joined #commonlisp
dtman34 has quit [Read error: Connection reset by peer]
amb007 has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
dtman34 has joined #commonlisp
shka has joined #commonlisp
rkazak has joined #commonlisp
kurfen has joined #commonlisp
msv has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 265 seconds]
msv has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 265 seconds]
rkazak has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
yottabyte has quit [Quit: Connection closed for inactivity]
mgl has joined #commonlisp
kenran has joined #commonlisp
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 244 seconds]
rkazak has joined #commonlisp
<jackdaniel>
soo, any groundbreaking conclusions about what will make lisp more popular? [;
dtman34 has quit [Ping timeout: 246 seconds]
<beach>
Please don't start it again!
<pranav>
The freecodecamp.org Lisp tutorial that just dropped yesterday. :P
<jackdaniel>
why? it is pure entertainment at this point ;p
<jackdaniel>
OK, I'll summarize progress I've made recently with ecl: I've added an example code to use webgl in the browser as well as canvas; other than that I've implemented flat closures as described in clasp paper and made the bytecodes vm not cons at runtime
<jackdaniel>
except from, yeah, consing operators called by the user of course
<pranav>
Great. Looking forward to seeing the webgl example.
<jackdaniel>
and (ed "wecl.lisp") to check the source code
rkazak has quit [Ping timeout: 260 seconds]
<pranav>
Thanks!
<jackdaniel>
perhaps I should introduce there a simple transpiler from s-expressions to js instead of calling js-eval, but whatever
<pranav>
I see. So JS does the drawcalls.
<jackdaniel>
yes, and shaders are yet another language
<pranav>
jackdaniel: Btw, is the bytecode VM the preferred path for ECL on wasm?
<jackdaniel>
it is the only way. there's no C compiler available at runtime
<jackdaniel>
you may cross-compile code beforehand of course
<pranav>
I tried cross-compiling my program with ECL a few months back. I think it works with some plumbing required for loading asdf systems.
<pranav>
But not sure if anybody was able to compile at a higher optimization than -O0.
edgar-rft_ has joined #commonlisp
rkazak has joined #commonlisp
<jackdaniel>
you can't, and there's a reason for that; binaryen has an optimization pass at -O1 and higher that optimizes away a requirement to spill pointers
<jackdaniel>
so the garbage collector can't scan the stack properly
<jackdaniel>
it is a bug imo, but there you have it ,)
<pranav>
I see.
<jackdaniel>
that said, I'm planning to experiment with wasm gc
<jackdaniel>
so that maybe will lift this problem
<pranav>
Awesome. Do you expect that to shave off some binary size too?
chkhd has joined #commonlisp
<jackdaniel>
we'll see
<jackdaniel>
btw I have a minimized runtime (think of it as common lisp without the standard library) that weights below 200KB, but that's work in progress
edgar-rft` has quit [Ping timeout: 246 seconds]
<pranav>
Lovely.
<jackdaniel>
a funny thing is that in this binary around 100KB are trampolines for apply
<jackdaniel>
and the rest could probably be further shaved if I switch to musl libc, in any case it is a pending work
<pranav>
Thanks for working on this.
<jackdaniel>
sure; you may always appreciate it on my patreon ;)
<jackdaniel>
also, regarding ecl on wasm, the next think I want to implement is handling of <script type='text/common-lisp'> ... </script> in html
varjag has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
rkazak has joined #commonlisp
<pranav>
jackdaniel: Tried subscribing on patreon when wecl was posted. Payments to patreon seems to be blocked in my country (India).
jonatack has quit [Read error: Connection reset by peer]
rkazak has quit [Ping timeout: 265 seconds]
Equill has joined #commonlisp
jonatack has joined #commonlisp
Tetard has left #commonlisp [#commonlisp]
<Equill>
Am I late to the party, and are others already having trouble compiling linedit on SBCL? Trying to figure out whether it's something specific to my Arch install.
vardhan_ has quit [Ping timeout: 276 seconds]
aadcg has joined #commonlisp
skin has quit [Ping timeout: 272 seconds]
skin has joined #commonlisp
amb007 has quit [Ping timeout: 244 seconds]
amb007 has joined #commonlisp
<aadcg>
I came up with the following to generate a list of strings from a to z:
<aadcg>
(loop for i from 97 to 122 collect (string (code-char i)))
<aadcg>
can you think of elegant ways to do it?
<|3b|>
using (char-code #\a) and (char-code #\z) would theoretically be more portable, and definitely more readable
skin has quit [Quit: Lost terminal]
<aadcg>
indeed
zwr has quit [Read error: Connection reset by peer]
zwr has joined #commonlisp
rkazak has joined #commonlisp
skin has joined #commonlisp
<jackdaniel>
(loop for c across "abcd..." collect (string c))
rkazak has quit [Ping timeout: 272 seconds]
<|3b|>
(coerce "abcd..." 'list) if you have the strings :)
<jackdaniel>
it is not that there is gazillion of these
<|3b|>
also probably even more portable than code-char, don't remember the spec requiring them to be in order and contiguous
deadmarshal_ has quit [*.net *.split]
luna-is-here has quit [*.net *.split]
brokkoli_origin has quit [*.net *.split]
remexre has quit [*.net *.split]
Artea has quit [*.net *.split]
fristed has quit [*.net *.split]
yacin has quit [*.net *.split]
kagevf has quit [*.net *.split]
pl has quit [*.net *.split]
gendl__ has quit [*.net *.split]
copec has quit [*.net *.split]
dcb has quit [*.net *.split]
pok has quit [*.net *.split]
famicom_guy has quit [*.net *.split]
jsatk___ has quit [*.net *.split]
<aadcg>
very good points
<|3b|>
(though i'd expect it in practice on any modern implementation)
<|3b|>
and probably even at the ascii (= unicode) values
brokkoli_origin has joined #commonlisp
luna-is-here has joined #commonlisp
remexre has joined #commonlisp
deadmarshal_ has joined #commonlisp
Artea has joined #commonlisp
yacin has joined #commonlisp
fristed has joined #commonlisp
kagevf has joined #commonlisp
copec has joined #commonlisp
pl has joined #commonlisp
gendl__ has joined #commonlisp
pok has joined #commonlisp
dcb has joined #commonlisp
jsatk___ has joined #commonlisp
famicom_guy has joined #commonlisp
Artea has quit [Max SendQ exceeded]
green_ has quit [Ping timeout: 252 seconds]
<jackdaniel>
tgere should be meancl implementation, where there is bare minimum set of characters, lowest possible values for fixnum, array limit etc and have a feature :nil as the implementation designator
<|3b|>
why would you use NIL feature? + is so much shorter :p
<|3b|>
and easier to type for that matter
triffid has quit [Ping timeout: 264 seconds]
<|3b|>
32k arrays or whatever it was would be pretty impractical though
<|3b|>
ah, 1024
<|3b|>
yeah, not doing much with that
<jackdaniel>
an random char codes, some of them bignums
<jackdaniel>
and*
Artea has joined #commonlisp
<|3b|>
only 1 float type, 17 bits
domovod has quit [Ping timeout: 246 seconds]
<|3b|>
(and not IEEE, but not in the same way clisp isn't)
<jackdaniel>
bignums signaling storage-exhausted when going above certain limit (twice big as fixnum)
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 244 seconds]
Lord_of_Life_ is now known as Lord_of_Life
<jackdaniel>
and no gc ^^ when you run out of memory -- tough luck
rkazak has joined #commonlisp
Devon has joined #commonlisp
<gilberth>
Portable to that fictive Lisp that doesn't even use ASCII: ,(loop for w from 10 below 36 collect (string (char-downcase (digit-char w 36))))
<ixelp>
(loop for w from 10 below 36 collect (string (char-downcase (digit-char w 36)))) => ("a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s" "t" "u" "v" "w" "x" "y" "z")
varjag has quit [Read error: Connection reset by peer]