00:03:02 -!- leoc [~leoc.git@p5DDBB517.dip.t-dialin.net] has quit [Ping timeout: 255 seconds] 00:55:41 -!- Thra11 [~thrall@146.90.208.216] has quit [Ping timeout: 246 seconds] 01:01:59 -!- Fare [~fare@216.239.55.82] has quit [Ping timeout: 260 seconds] 01:02:42 -!- tcr1 [~tcr@84-72-21-32.dclient.hispeed.ch] has quit [Quit: Leaving.] 03:08:53 -!- rpg [~rpg@216.243.156.16.real-time.com] has quit [Ping timeout: 255 seconds] 03:16:20 rpg [~rpg@216.243.156.16.real-time.com] has joined #sbcl 03:21:26 I forgot, is SB!DISASSEM accessible from a freshly built image? 03:21:43 Qworkescence: as sb-disassem. 03:22:13 I wonder why I was using SB!DISASSEM in my code before... 03:23:00 SLIME has magic to make the translation work transparently 03:23:26 ah, that explains it. I'm not using slime. 03:25:58 hm, "REG-B" is an unknown argument type 03:26:16 for DEFINE-INSTRUCTION-FORMAT 03:26:49 the disassembler-defining machinery is left out post build. 03:27:15 how do i keep it in? 03:27:39 Oh yeah, I think last time I needed to manually (re-)load the file 03:29:57 pkhuong, do you know what the relevant file is? I forgot. 03:31:58 no. I rarely bother during development, and then suffer the build failures until I get it right; it's like a well-deserved break ;) 03:32:25 ha 03:32:26 :( 03:44:10 I have a function returning # 03:44:22 What could I be doing wrong? I want it to be a fixnum 03:45:10 I guess I might be tagging wrong 03:53:21 -!- foom [jknight@nat/google/x-lslhaxahhnquehki] has quit [Ping timeout: 245 seconds] 03:53:47 foom [jknight@nat/google/x-tfqhsdoderiewdrg] has joined #sbcl 03:56:29 what are you trying to do? 03:58:11 actually, why are you tagging yourself? 03:59:03 It's usually simpler/better to return a (un)signed-num and let representation selection choose if it should be tagged as a fixnum 04:00:21 if it really matters, you can then add a VOP that returns a pretagged value, but that's rarely the case (and mostly creates new opportunity for rep. selxn to make bad choices). 04:02:18 on current x86oids, a bitmask isn't really quicker than a constant shift... it might be able do dispatch to more execution units, but latency is equal. Might have been more of an issue on the P4. 04:11:20 pkhuong, I am just generating random fixnums 04:13:01 hardware entropy? I'd generate an unsigned-num. 04:13:55 people can logand with m-p-f if they want a fixnum. 04:15:58 pkhuong, if they LOGAND will the compiler be smart enough to keep unboxed? 04:16:32 i thought you wanted boxing? 04:16:50 by boxing i mean "don't promote to a bignum" 04:17:04 yes. 04:17:08 err, by "i don't want boxing" i mean ^ 04:18:36 that's how Python supports efficient machine arithmetic. 04:21:01 pkhuong, what is how? 04:21:22 being smart enough not to box > fixnum machine words. 04:23:45 brb 04:28:15 -!- Qworkescence [~quad@unaffiliated/quadrescence] has quit [Ping timeout: 260 seconds] 05:14:04 -!- rpg [~rpg@216.243.156.16.real-time.com] has quit [Quit: rpg] 05:20:08 -!- edgar-rft [~GOD@HSI-KBW-149-172-63-75.hsi13.kabel-badenwuerttemberg.de] has quit [Quit: no future] 05:25:25 Quadrescence [~quad@unaffiliated/quadrescence] has joined #sbcl 05:26:59 Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has joined #sbcl 05:31:46 my hobby: reading SBCL commits 05:31:57 -!- akovalen` is now known as akovalenko 05:32:37 -!- foom [jknight@nat/google/x-tfqhsdoderiewdrg] has quit [Ping timeout: 276 seconds] 05:34:49 e.g. the commit msg "some nincompoop broke the build" 05:36:36 foom [jknight@nat/google/x-mwlhanbtjyntupcs] has joined #sbcl 05:42:53 pkhuong: is there a good writeup on what Python does (assuming you mean the CMUCL compiler)? 05:44:29 brucem, have you seen the original paper(s) on cmucl/python? 05:44:44 not in a decade. time to look. 05:45:19 iirc, the last time I wanted to know something it was in an unwritten section. :) 05:50:36 http://common-lisp.net/project/cmucl/doc/CMUCL-design.pdf looks useful though for some of the questions that I have / had. 05:50:38 thanks. 06:02:12 brucem: the interesting bits in the compiler is broken up in phases. 06:02:23 main.lisp is what you want to find the ordering out, IIRC. 06:02:49 IR1 is a bit special, but after that, it's all standard 80's tech. 06:03:10 (+ representation selection) 06:04:26 would you say sbcl is still largely similar in that area? or 1990s tech or 2000s tech? 06:05:22 I think maybe LLVM and GHC are the only truly really modern compilers 06:05:26 no, no fundamental change at all. 06:05:51 especially GHC, with its fancy stuff like deforestation 06:05:54 Quadrescence: GHC's stuff is in the front end (IR1 ish). 06:08:05 There, SBCL and CMUCL are solid, and it's not like there's a lot of "modern" work in that domain. 06:09:02 oh, i'm not disputing the solidity, though i would dispute the modularity and the sophistication of some of the analyses 06:13:24 pkhuong, Quadrescence: know of any Lisp that uses NaN boxing rather than the more typical tagging? 06:14:00 why would you want to box a NaN? 06:14:41 brucem: none. 06:14:53 Quadrescence: http://wingolog.org/archives/2011/05/18/value-representation-in-javascript-implementations ... 06:15:03 I'm not sure it makes sense when we have a real numeric tower. 06:17:53 -!- easye [~user@213.33.70.157] has quit [Remote host closed the connection] 07:00:25 sdemarre [~serge@109.134.128.207] has joined #sbcl 07:37:18 -!- sdemarre [~serge@109.134.128.207] has quit [Ping timeout: 264 seconds] 07:49:47 -!- Quadrescence [~quad@unaffiliated/quadrescence] has quit [Quit: This computer has gone to sleep] 07:50:57 Quadrescence [~quad@unaffiliated/quadrescence] has joined #sbcl 08:48:03 easye [~user@213.33.70.157] has joined #sbcl 08:49:49 attila_lendvai [~attila_le@92.46.2.190] has joined #sbcl 08:49:49 -!- attila_lendvai [~attila_le@92.46.2.190] has quit [Changing host] 08:49:49 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 08:56:03 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 08:56:04 attila_lendvai1 [~attila_le@92.46.2.190] has joined #sbcl 09:21:01 stassats` [~stassats@wikipedia/stassats] has joined #sbcl 09:34:03 -!- attila_lendvai1 [~attila_le@92.46.2.190] has quit [Ping timeout: 252 seconds] 09:34:06 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 09:48:07 tcr1 [~tcr@84-72-21-32.dclient.hispeed.ch] has joined #sbcl 10:15:30 -!- Quadrescence [~quad@unaffiliated/quadrescence] has quit [Quit: This computer has gone to sleep] 10:24:18 -!- kanru [~kanru@118-163-10-190.HINET-IP.hinet.net] has quit [Ping timeout: 252 seconds] 10:27:15 leoc [~leoc.git@p5480ACB4.dip.t-dialin.net] has joined #sbcl 10:28:10 kanru [~kanru@118-163-10-190.HINET-IP.hinet.net] has joined #sbcl 10:42:06 -!- tcr1 [~tcr@84-72-21-32.dclient.hispeed.ch] has quit [Quit: Leaving.] 11:07:23 -!- hydan [~udzinari@ip-89-102-13-27.net.upcbroadband.cz] has quit [Quit: Computer has gone to sleep.] 12:18:32 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Disconnected by services] 12:18:32 attila_lendvai1 [~attila_le@92.46.22.99] has joined #sbcl 12:18:50 attila_lendvai [~attila_le@92.46.22.99] has joined #sbcl 12:18:50 -!- attila_lendvai [~attila_le@92.46.22.99] has quit [Changing host] 12:18:50 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 13:16:12 Thra11 [~thrall@249.65.125.91.dyn.plus.net] has joined #sbcl 13:23:40 rpg [~rpg@216.243.156.16.real-time.com] has joined #sbcl 13:52:56 drewc_ [~drewc@50.7.166.100] has joined #sbcl 13:54:45 -!- drewc [~drewc@50.7.166.100] has quit [Ping timeout: 240 seconds] 13:58:06 hydan [~udzinari@ip-89-102-13-27.net.upcbroadband.cz] has joined #sbcl 15:02:45 edgar-rft [~GOD@HSI-KBW-149-172-63-75.hsi13.kabel-badenwuerttemberg.de] has joined #sbcl 15:06:11 wbooze [~wbooze@xdsl-78-35-181-105.netcologne.de] has joined #sbcl 15:45:33 -!- hydan [~udzinari@ip-89-102-13-27.net.upcbroadband.cz] has quit [Quit: Computer has gone to sleep.] 15:55:25 loke [~elias@bb115-66-85-121.singnet.com.sg] has joined #sbcl 15:58:12 Guest777` [user@nat/google/x-gdcpgivfautwskaa] has joined #sbcl 16:00:26 -!- Guest77731 [user@nat/google/x-nytulyyvlqbjyrnt] has quit [Ping timeout: 245 seconds] 16:29:43 pkhuong: from the discussion in #lisp  you might look at stealing part of our (perhaps overly complicated) C-FFI  I wrote a blog post that uses part of it to deal with something you're discussing: the section "Improving upon error status codes" on http://dylanfoundry.org/2013/01/25/binding-nanomsg-with-melange/  the use of "mapped subtypes" is really useful and I didn't find a corresponding thing in the C-FFIs that I was aware of in CL-land. 16:32:00 brucem: projects tend to roll their own 10-line macro. 16:33:16 pkhuong: yeah, depending on what's up, have done that also. But sometimes a library has 2 or 3 different ways of dealing with errors (return NULL, return 0, out-param)  but just mentioning it. 16:39:14 -!- attila_lendvai1 [~attila_le@92.46.22.99] has quit [Ping timeout: 255 seconds] 16:39:42 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 264 seconds] 16:51:54 attila_lendvai [~attila_le@92.46.22.99] has joined #sbcl 16:51:54 -!- attila_lendvai [~attila_le@92.46.22.99] has quit [Changing host] 16:51:54 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 16:52:12 attila_lendvai1 [~attila_le@92.46.22.99] has joined #sbcl 16:52:12 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Disconnected by services] 16:52:37 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 17:16:01 slyrus [~chatzilla@adsl-76-254-45-27.dsl.pltn13.sbcglobal.net] has joined #sbcl 17:31:51 -!- attila_lendvai1 [~attila_le@92.46.22.99] has quit [Quit: Leaving.] 17:31:51 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 17:51:16 hydan [~udzinari@ip-89-102-13-27.net.upcbroadband.cz] has joined #sbcl 18:16:40 -!- tcr [~tcr@77-56-40-229.dclient.hispeed.ch] has quit [Quit: Leaving.] 18:33:23 -!- slyrus [~chatzilla@adsl-76-254-45-27.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 260 seconds] 19:17:13 tcr [~tcr@77-56-40-229.dclient.hispeed.ch] has joined #sbcl 19:24:53 -!- tcr [~tcr@77-56-40-229.dclient.hispeed.ch] has quit [Ping timeout: 252 seconds] 19:40:45 -!- hydan [~udzinari@ip-89-102-13-27.net.upcbroadband.cz] has quit [Quit: ...] 19:41:08 -!- rpg [~rpg@216.243.156.16.real-time.com] has quit [Ping timeout: 255 seconds] 19:41:09 hydan [~udzinari@ip-89-102-13-27.net.upcbroadband.cz] has joined #sbcl 19:47:21 -!- drewc_ is now known as drewc 19:53:29 sdemarre [~serge@109.134.155.194] has joined #sbcl 20:07:25 slyrus [~chatzilla@173-228-44-92.dsl.static.sonic.net] has joined #sbcl 20:19:16 -!- antoszka [~antoszka@unaffiliated/antoszka] has quit [Read error: Operation timed out] 20:21:46 tcr [~tcr@77-56-40-229.dclient.hispeed.ch] has joined #sbcl 20:29:40 -!- tcr [~tcr@77-56-40-229.dclient.hispeed.ch] has quit [Ping timeout: 248 seconds] 20:41:09 antoszka [~antoszka@unaffiliated/antoszka] has joined #sbcl 21:05:53 prxq [~mommer@mnhm-5f75c7ad.pool.mediaWays.net] has joined #sbcl 21:23:31 milosn_ [~milosn@user-5AF501A4.broadband.tesco.net] has joined #sbcl 21:25:46 -!- milosn [~milosn@user-5AF5079B.broadband.tesco.net] has quit [Ping timeout: 252 seconds] 21:26:29 tcr [~tcr@77-56-40-229.dclient.hispeed.ch] has joined #sbcl 21:26:39 -!- milosn_ is now known as milosn 21:30:42 -!- sdemarre [~serge@109.134.155.194] has quit [Ping timeout: 252 seconds] 21:31:11 -!- tcr [~tcr@77-56-40-229.dclient.hispeed.ch] has quit [Ping timeout: 260 seconds] 21:57:04 -!- prxq [~mommer@mnhm-5f75c7ad.pool.mediaWays.net] has quit [Quit: Leaving] 21:57:06 -!- antoszka [~antoszka@unaffiliated/antoszka] has quit [Quit: +++ killed by SIGSEGV +++] 22:27:06 tcr [~tcr@77-56-40-229.dclient.hispeed.ch] has joined #sbcl 22:30:21 Qworkescence [~quad@unaffiliated/quadrescence] has joined #sbcl 22:31:20 -!- tcr [~tcr@77-56-40-229.dclient.hispeed.ch] has quit [Ping timeout: 252 seconds] 22:38:36 -!- Thra11 [~thrall@249.65.125.91.dyn.plus.net] has quit [Ping timeout: 264 seconds] 22:39:02 -!- stassats` [~stassats@wikipedia/stassats] has quit [Ping timeout: 244 seconds] 22:49:31 tcr [~tcr@84-72-21-32.dclient.hispeed.ch] has joined #sbcl 22:50:59 -!- slyrus [~chatzilla@173-228-44-92.dsl.static.sonic.net] has quit [Ping timeout: 260 seconds] 23:04:32 akovalen` [~user@95.73.50.220] has joined #sbcl 23:05:27 -!- akovalenko [~user@95.73.50.220] has quit [Ping timeout: 260 seconds] 23:08:54 |3b|` [foobar@cpe-72-177-66-41.austin.res.rr.com] has joined #sbcl 23:10:07 -!- |3b| [foobar@cpe-72-177-66-41.austin.res.rr.com] has quit [Ping timeout: 248 seconds] 23:10:07 Dalek_Baldwin [~Adium@108-225-26-178.lightspeed.irvnca.sbcglobal.net] has joined #sbcl 23:14:08 I want install a single-threaded sbcl without replacing my existing multi-threaded implementation. can I do this with just a few special arguments to the make/install scripts? 23:22:43 -!- akovalen` [~user@95.73.50.220] has quit [Ping timeout: 248 seconds] 23:28:05 tcr1 [~tcr@77-56-40-229.dclient.hispeed.ch] has joined #sbcl 23:32:23 -!- tcr1 [~tcr@77-56-40-229.dclient.hispeed.ch] has quit [Ping timeout: 252 seconds]