libera/#commonlisp - IRC Chatlog
Search
4:09:36
phantomics
Interesting thing I just discovered in LispWorks: (expt 10.0d0 10) gives 1.000000000000004D10, the 4 is not there in other CLs. Causes problems when taking the ceiling of the result
4:11:35
Nilby
hayley: just don't sell out to intel, or if you do make sure to get a big ask like qpx
4:13:47
hayley
Not quite as "feature"ful, given that I have to generate a DFA from everything, but it's pretty fast in return, even without SIMD.
4:14:41
phantomics
Cool, I'll have tackle SIMD at some point for April, I take it the SIMD is using define-vop and only works with SBCL?
4:16:46
semz
phantomics: A program that relies on this exact behavior sounds misdesigned to me, the same way a program using exact FP comparisons would.
4:18:11
phantomics
It also has a tendency to lock up a lot during intensive April computations, maybe it's a problem with the multithreading
4:22:12
phantomics
ECL sometimes locks up once or twice when doing the intensive demo test suite, but LW locks up a dozen times or so needing manual restarts. SBCL, CCL, and ABCL get through it fine.
4:23:24
beach
I think you should report it to LispWorks. I am sure they will appreciate the feedback.
4:27:15
beach
I don't think so. Martin Simmons seems like a very reasonable person. At least when we have diner together at ELS. :)
6:31:36
White_Flame
phantomics: CLHS says that "a floating point approximation might result" for anything but (expt <rational> <integer>)
7:49:56
jackdaniel
n.b I'm not "a fan of stable things" - most notably I'm not that cool (a pun towards the word "fan"), but changing stable apis breaks existing code - mind that no common lisp implementation changed nth argument order to match elt, even if someone could have thought that it is a good idea :)
7:51:03
jackdaniel
or that changing the interface of with-output-to-presentation in a non-backward compatible way would break many preexisting clim applications
8:06:03
beach
jackdaniel: It would be much easier to parse what you wrote if you would capitalize NTH, ELT, API, and CLIM.
11:25:08
pjb
jackdaniel: beach: would I suggest to use instead 𝐧𝐭𝐡, 𝐞𝐥𝐭, 𝐀𝐏𝐈, 𝐂𝐋𝐈𝐌, given the flame you can get when using upper case?
13:16:29
pdietz
phantomics: in SBCL, expt will sometimes give different results on the same arguments depending on whether they appear as variables or constants in the form.
15:10:45
AndrewYu
Hey there- I'm here to ask: How feasible would it be to create a Lisp dialect that's as powerful as common lisp, but slightly more elegant (like towards Scheme). An example would be cleaning up the eq equal = eql mess. I'm pretty new, so I'm not sure how many of those pragmatic/syntax comprimises there are. I'd appreciate somehow a list of those weird comprimises. Thanks!
15:13:36
jackdaniel
AndrewYu: equality is a hard problem :) regarding question of how to make something as powerful as common lisp but more elegant (i.e more tailored for your taste), create a separate package that doesn't USE the package CL and define your own abstractions
15:14:48
frgo
I do have a question myself. Anybody have a readily running c2ffi (from https://github.com/rpav/c2ffi) on macOS Monterey? (I'm having issues with building it on Monterey and, well, yak shaving ...)
15:15:45
jackdaniel
AndrewYu: if you look for a different lisp somewhere between scheme and common lisp take a look at eulisp, afaik it has around three implementations, perhaps they even build
15:45:40
pjb
AndrewYu: it wouldn't be too difficult: it's already done. It's called ISO Lisp. There are several implementations. http://christian.jullien.free.fr http://www.islisp.org https://github.com/sasagawa888/eisl etc.
15:49:25
jcowan
"ISLISP" means "IS LISP". There never has been, and by McCarthy's will never will be, a standard or implementation called just "Lisp" (the Scheme community extends that to "Scheme")
15:53:54
jcowan
But that doesn't change the public world. It is no secret that many U.S. diplomats abroad are spies. But for the U.S. Government to announce "Many of our diplomats abroad are spies" would change the public world hugely. See also the jealous husbands who all shoot their wives on day N after a newcomer arrives, where N = number of jealous husbands.
15:57:30
jcowan
With every day that passes and no wife shot (that never happens without proof), public knowledge grows, and eventually each husband knows that his wife (and all others) have been adulterous, so they are all shot on the same day
15:58:13
jackdaniel
I don't understand, but I have a strong suspiction that it is (pick at least one) 1) nonsense, 2) offtopic