| 00:00.56 | *** join/#brlcad Twingy (n=justin@c-69-250-236-111.hsd1.md.comcast.net) | |
| 00:35.12 | CIA-9 | BRL-CAD: 03erikgreenwald * 10brlcad/src/mged/typein.c: fixed a minor issue with the metaball interactive prompt |
| 01:49.37 | brlcad | ``Erik: that structure is a list element -- part of how libbu does list structures is by embedding the list structure as the first element as utilizing aliasing |
| 01:50.07 | brlcad | in this case, bu_list structures have a magic, which is what wdb_pipept is using since it's a list element |
| 01:50.58 | brlcad | and not a isolated structure in the case of the rt_pipe_internal (which has it's own magic as the first element more visibly) |
| 01:57.12 | brlcad | note that the bu_list trick is only used on actual list node elements, not structs that reference some list as is seen elsewhere |
| 02:03.07 | ``Erik | ohyeah... fergot about that, I knew bu_list had bu_prev and bu_next and did ugly off-sized struct casting |
| 02:03.44 | ``Erik | fergot they stored magic, too |
| 02:03.53 | ``Erik | erm, forw and back, rather |
| 02:12.28 | brlcad | yeah, it's a great C hack that just causes compiler's too much grief :) |
| 02:12.43 | brlcad | C polymorphism |
| 02:13.25 | brlcad | i though about trying to unwide it in brl-cad too so aliasing could be removed.. but that really would be an utterly massive effort |
| 02:18.22 | ``Erik | indeed... heh, I was talking to jason this morning about it |
| 02:18.39 | ``Erik | that plus the heavy macro usage in like vmath makes something like swig... intractable |
| 02:19.34 | brlcad | hrm? what does vmath have to do with swig? |
| 02:20.17 | ``Erik | vmath has lots of macros... |
| 02:20.26 | ``Erik | in order to expose something to swig, it has to be a function, not a macro |
| 02:20.38 | ``Erik | so all that crap in vmath.h cannot be exposed to the scripting language :) |
| 02:21.18 | brlcad | vmath is entirely macros |
| 02:22.04 | brlcad | there are (or at least were) actually functional equivalents of most of the macros in vmath in libbn |
| 02:22.13 | ``Erik | ayup... that's why jason brought it up as the representative problem file... the issue is with macros, not functions... :) |
| 02:22.27 | brlcad | they were just refactored away due to a very clear performance boost |
| 02:23.10 | brlcad | even with compiler inline directives, which sometime's wouldn't, though most of the code preceeds the inline directive by about a decade |
| 02:23.32 | brlcad | vmath is a fairly special case though |
| 02:23.37 | brlcad | not really representative |
| 02:24.19 | brlcad | the vast majority of the librt api isn't macros after all .. so what if scripts have to figure out how to add a vector all by themselves |
| 03:31.48 | *** join/#brlcad digitalfredy (n=digitalf@200.71.62.161) | |
| 14:45.08 | *** join/#brlcad digitalfredy (n=digitalf@200.71.62.161) | |
| 16:48.08 | *** join/#brlcad rmorse (n=rmorse@cpe-69-133-80-81.twmi.res.rr.com) | |
| 16:57.43 | *** join/#brlcad rmorse (n=rmorse@cpe-69-133-80-81.twmi.res.rr.com) | |
| 16:57.59 | *** part/#brlcad rmorse (n=rmorse@cpe-69-133-80-81.twmi.res.rr.com) | |
| 17:24.43 | *** join/#brlcad DTRemenak (n=DTRemena@c-24-23-59-104.hsd1.mn.comcast.net) | |
| 19:12.49 | *** join/#brlcad IriX64 (n=IriX64@toronto-HSE-ppp4307940.sympatico.ca) | |
| 19:14.18 | IriX64 | irssi is too cadillacy for me |
| 19:20.13 | ``Erik | so you used ircII, or telnet? |
| 19:25.03 | IriX64 | ermmff galactick communicator :) |
| 19:26.25 | IriX64 | irssi assumes all cygwin environments are the same :) |
| 19:31.33 | IriX64 | heh ``Erik -- both ;) |
| 19:35.33 | IriX64 | hate fargin projects that dont honour --prefix properly. |
| 19:36.51 | *** join/#brlcad IriX64_ (n=IriX64@toronto-HSE-ppp4307940.sympatico.ca) | |
| 19:37.04 | IriX64 | ahh it works now. |
| 19:37.59 | IriX64 | hmph no version reply. |
| 19:41.52 | IriX64 | I'm doing all right, getting good grades, futures so bright, i gotta wear shades. |
| 19:50.54 | *** join/#brlcad bjorkBSD (n=bjork@ip70-178-169-173.ks.ks.cox.net) | |
| 21:22.15 | *** join/#brlcad digitalfredy (n=digitalf@200.71.62.161) | |
| 21:37.22 | *** join/#brlcad Twingy (n=justin@c-69-250-236-111.hsd1.md.comcast.net) | |
| 22:28.36 | *** join/#brlcad Twingy (n=justin@c-69-250-236-111.hsd1.md.comcast.net) | |
| 22:36.11 | *** join/#brlcad DTRemenak (n=DTRemena@c-24-23-59-104.hsd1.ca.comcast.net) | |
| 22:36.38 | *** join/#brlcad IriX64 (n=IriX64@toronto-HSE-ppp4307940.sympatico.ca) | |
| 22:36.58 | IriX64 | rubes,dudes,dudettes,and rowdies, how's it? |
| 22:38.14 | IriX64 | bb l8r, still having system grief, anybody got a bandaid for my knuckles. :) |
| 22:40.03 | *** join/#brlcad DTRemenak (n=DTRemena@c-24-23-59-104.hsd1.ca.comcast.net) | |
| 22:42.09 | *** join/#brlcad DTRemenak (n=DTRemena@c-24-23-59-104.hsd1.ca.comcast.net) | |