2017-05-28T00:01:30Z nyef: I'm tired enough that I'm not seeing it? 2017-05-28T00:01:49Z stassats`: documentation x doc-type => documentation and Argument Precedence Order: doc-type, object 2017-05-28T00:01:52Z stassats`: x vs object 2017-05-28T00:02:19Z nyef: Right, good catch. 2017-05-28T00:03:13Z stassats`: the original misnamer for "slotd" probably thought "this is all too confusing, i'll just go and use something completely unrelated" 2017-05-28T00:04:08Z nyef: It wouldn't surprise me if we inherited it from CMUCL. 2017-05-28T00:04:28Z stassats`: i'm fairly certain that it was 2017-05-28T00:05:27Z stassats`: it may have actually been PCL 2017-05-28T00:05:55Z nyef: Probably was PCL, yeah. 2017-05-28T00:08:04Z stassats`: sep92 PCL has it 2017-05-28T00:08:42Z stassats`: jul92 is (defgeneric documentation (object &optional doc-type)) 2017-05-28T00:09:43Z stassats`: from https://www.cs.cmu.edu/Groups/AI/lang/lisp/oop/clos/pcl/ 2017-05-28T00:10:45Z nyef: CLtL1 has it as SYMBOL. 2017-05-28T00:11:05Z stassats`: cltl1 has clos? 2017-05-28T00:11:22Z nyef: No, but it has #'DOCUMENTATION. 2017-05-28T00:12:06Z stassats`: https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node229.html 2017-05-28T00:12:16Z stassats`: cltl2 too 2017-05-28T00:12:20Z stassats`: and it was different 2017-05-28T00:13:47Z stassats`: and the clos chapter has it as documentation x &optional doc-type , that's where the &optional in PCL comes from 2017-05-28T00:16:18Z nyef: Yeah, it seems that they made it required fairly late in the process? 2017-05-28T00:38:32Z rumbler31 joined #sbcl 2017-05-28T02:43:08Z gko_ joined #sbcl 2017-05-28T02:58:01Z fiddlerwoaroof: j 2017-05-28T03:15:05Z Bicyclidine quit (Ping timeout: 240 seconds) 2017-05-28T03:30:56Z attila_lendvai joined #sbcl 2017-05-28T03:46:02Z fiddlerwoaroof: Hi, I've been experimenting with generic functions, trying to figure out how things work under the hood 2017-05-28T03:46:51Z fiddlerwoaroof: I'm getting a memory fault from trying to call the method-function of a slot accessor in a way that works with normal generic functions 2017-05-28T03:47:14Z fiddlerwoaroof: Any ideas about why this is happening? I suspect there is some kind of optimization going on that I'm unaware of. 2017-05-28T03:47:23Z fiddlerwoaroof: http://paste.lisp.org/display/347622 2017-05-28T04:12:24Z Bicyclidine joined #sbcl 2017-05-28T05:01:16Z jack_rabbit joined #sbcl 2017-05-28T05:02:37Z knobo joined #sbcl 2017-05-28T05:22:36Z DGASAU quit (Read error: Connection reset by peer) 2017-05-28T05:23:16Z DGASAU joined #sbcl 2017-05-28T05:24:33Z slyrus joined #sbcl 2017-05-28T05:37:38Z slyrus_ joined #sbcl 2017-05-28T05:58:44Z slyrus_ quit (Ping timeout: 245 seconds) 2017-05-28T06:03:58Z Bicyclidine quit (Ping timeout: 240 seconds) 2017-05-28T06:08:01Z angavrilov joined #sbcl 2017-05-28T06:19:23Z attila_lendvai quit (Ping timeout: 246 seconds) 2017-05-28T06:28:35Z knobo quit (Ping timeout: 240 seconds) 2017-05-28T06:41:38Z knobo joined #sbcl 2017-05-28T07:27:07Z oleo joined #sbcl 2017-05-28T07:44:42Z igajsin1 joined #sbcl 2017-05-28T08:05:57Z knobo quit (Ping timeout: 240 seconds) 2017-05-28T08:32:35Z gingerale joined #sbcl 2017-05-28T08:39:07Z shka joined #sbcl 2017-05-28T09:33:51Z knobo joined #sbcl 2017-05-28T09:35:41Z knobo quit (Client Quit) 2017-05-28T09:36:00Z knobo joined #sbcl 2017-05-28T10:40:45Z blackwolf quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-05-28T10:46:26Z stassats` quit (Ping timeout: 246 seconds) 2017-05-28T10:51:33Z stassats joined #sbcl 2017-05-28T10:54:18Z stassats: fiddlerwoaroof: you are not calling it correctly 2017-05-28T11:07:12Z oleo quit (Quit: irc client terminated!) 2017-05-28T11:10:54Z oleo joined #sbcl 2017-05-28T11:10:59Z oleo quit (Changing host) 2017-05-28T11:10:59Z oleo joined #sbcl 2017-05-28T11:18:42Z oleo quit (Quit: irc client terminated!) 2017-05-28T11:21:05Z stassats: even though there's no correct way to call it 2017-05-28T11:21:08Z stassats: so, don't call it! 2017-05-28T11:28:17Z stassats: and nothing calls it, so, yeah, it's approximately completely broken 2017-05-28T11:32:19Z knobo quit (Ping timeout: 255 seconds) 2017-05-28T11:39:12Z knobo joined #sbcl 2017-05-28T11:39:59Z blackwolf joined #sbcl 2017-05-28T11:57:03Z oleo joined #sbcl 2017-05-28T11:59:14Z knobo quit (Ping timeout: 246 seconds) 2017-05-28T12:11:37Z oleo quit (Read error: Connection reset by peer) 2017-05-28T12:14:07Z oleo joined #sbcl 2017-05-28T12:15:57Z oleo quit (Client Quit) 2017-05-28T13:11:52Z attila_lendvai joined #sbcl 2017-05-28T13:55:47Z karswell quit (Ping timeout: 246 seconds) 2017-05-28T14:09:13Z Bicyclidine joined #sbcl 2017-05-28T14:16:13Z oleo joined #sbcl 2017-05-28T14:17:05Z oleo quit (Client Quit) 2017-05-28T14:21:08Z mrottenkolber joined #sbcl 2017-05-28T14:27:55Z mrottenkolber: I get a lot of "note: doing unsigned word to integer coercion (cost 20)", apparently because my struct slots are (unsigned-byte 64). Any hints of avoiding this (i.e. inlining slot accessors)? 2017-05-28T14:28:15Z mrottenkolber: (I get this exclusively due to struct writes I think) 2017-05-28T14:34:58Z oleo joined #sbcl 2017-05-28T14:39:49Z |3b|: does the compiler know the value you are writing fits in the slot? 2017-05-28T14:40:31Z |3b|: if not, giving it more information (and/or making sure yourself) might help 2017-05-28T14:45:30Z knobo joined #sbcl 2017-05-28T14:47:04Z stassats: mrottenkolber: they are inlined 2017-05-28T14:47:11Z stassats: but you are escaping the values 2017-05-28T14:55:49Z mrottenkolber: escaping? 2017-05-28T15:05:25Z knobo quit (Ping timeout: 245 seconds) 2017-05-28T15:10:36Z fiddlerwoaroof: stassats: interesting, is this a bug? 2017-05-28T15:13:35Z blackwol` joined #sbcl 2017-05-28T15:17:27Z blackwolf quit (Ping timeout: 240 seconds) 2017-05-28T15:44:25Z jack_rabbit quit (Ping timeout: 246 seconds) 2017-05-28T15:52:20Z Bicyclidine: i think that means that the problem is that the function returns one of those typed values, which means they have to be boxed (coerced) 2017-05-28T15:56:05Z mrottenkolber quit (Ping timeout: 240 seconds) 2017-05-28T15:57:34Z knobo joined #sbcl 2017-05-28T16:27:57Z knobo quit (Ping timeout: 240 seconds) 2017-05-28T18:10:44Z Bicyclidine quit (Remote host closed the connection) 2017-05-28T18:12:12Z Bicyclidine joined #sbcl 2017-05-28T18:14:17Z stassats: fiddlerwoaroof: probably, but not something i would consider fixing, especially that this is the spaghetti PCL 2017-05-28T18:18:37Z akkad left #sbcl 2017-05-28T18:26:31Z knobo joined #sbcl 2017-05-28T18:33:20Z gko_ quit (Ping timeout: 246 seconds) 2017-05-28T18:42:09Z atgreen quit (Quit: Leaving) 2017-05-28T19:24:17Z mrottenkolber joined #sbcl 2017-05-28T20:34:24Z gingerale quit (Remote host closed the connection) 2017-05-28T21:12:51Z oleo quit (Read error: Connection reset by peer) 2017-05-28T21:15:36Z mrottenkolber left #sbcl 2017-05-28T21:21:43Z angavrilov quit (Remote host closed the connection) 2017-05-28T21:22:57Z igajsin1 quit (Ping timeout: 240 seconds) 2017-05-28T21:28:39Z aeth quit (Ping timeout: 268 seconds) 2017-05-28T21:30:05Z aeth joined #sbcl 2017-05-28T21:46:15Z knobo quit (Ping timeout: 245 seconds) 2017-05-28T21:58:43Z Bicyclidine quit (Ping timeout: 260 seconds) 2017-05-28T22:05:17Z attila_lendvai quit (Quit: Leaving.) 2017-05-28T22:05:22Z attila_lendvai1 joined #sbcl 2017-05-28T22:05:22Z attila_lendvai1 is now known as attila_lendvai 2017-05-28T22:05:22Z attila_lendvai quit (Changing host) 2017-05-28T22:05:22Z attila_lendvai joined #sbcl 2017-05-28T22:07:24Z Bicyclidine joined #sbcl 2017-05-28T22:12:55Z shka quit (Ping timeout: 245 seconds) 2017-05-28T22:35:50Z rumbler31 quit (Remote host closed the connection) 2017-05-28T22:39:44Z oleo joined #sbcl 2017-05-28T22:50:34Z edgar-rft quit (Quit: edgar-rft) 2017-05-28T22:58:48Z blackwol` quit (Ping timeout: 260 seconds) 2017-05-28T23:53:14Z attila_lendvai quit (Ping timeout: 246 seconds)