While emitting machine code to nouns would be a demanding task, there is a simpler feature that can benefit from dynamic generation: interface tables, which could be used in conjunction with Pointer Call proposal:
http://www.jsoftware.com/jwiki/System/Beta/Pointer_Call --- Eric Iverson <[EMAIL PROTECTED]> wrote: > It is quite straightforward to use the assembler on any host to generate > a shared library suitable for use with cd. There is no need or benefit > to add the considerable complicaton of having the binary in the J data > space as nouns. > > ----- Original Message ----- > From: "Miller, Raul D" <[EMAIL PROTECTED]> > To: "Programming forum" <[email protected]>; "Programming forum" > <[email protected]> > Sent: Sunday, September 03, 2006 9:04 PM > Subject: RE: [Jprogramming] Symmetric inner and outer products > > > > Henry Rich wrote: > >> For arithmetic operations in general, it would also be > >> a much better use of coding time to take advantage of > >> the SSE3 instructions. > > > > Since SSE3 would fail on all CPU lines released before 2004 (and many > > released before 2005), this seems to mean that you are suggesting that > > J's arithmetic core be doubled -- with a side-by-side implementation > > of > > SSE3 support and non-SSE3 support? > > > > Perhaps more useful would be some documentation on how to construct > > and call user-defined machine language code from within J. (I'm > > thinking > > something different from cd here -- I'm thinking: let's generate a > > sequence > > of literals in J which are the machine code -- how do you call such a > > thing > > as a function from within J?) > > > > -- > > Raul __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
