Path: news.mathworks.com!not-for-mail
From: "John D'Errico" <woodchips@rochester.rr.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Submission of p-code
Date: Tue, 26 Feb 2008 13:08:01 +0000 (UTC)
Organization: John D'Errico (1-3LEW5R)
Lines: 35
Message-ID: <fq12vh$alf$1@fred.mathworks.com>
References: <24497039.1202489169219.JavaMail.jakarta@nitrogen.mathforum.org> <fq014c$ejo$1@fred.mathworks.com> <fq06pl$8sl$1@fred.mathworks.com>
Reply-To: "John D'Errico" <woodchips@rochester.rr.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1204031281 10927 172.30.248.37 (26 Feb 2008 13:08:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 26 Feb 2008 13:08:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 869215
Xref: news.mathworks.com comp.soft-sys.matlab:453719


"James Tursa" <aclassyguywithaknotac@hotmail.com> wrote in message 
<fq06pl$8sl$1@fred.mathworks.com>...
> "Bill " <william.nospam.a.cobb@gm.com> wrote in message
> <fq014c$ejo$1@fred.mathworks.com>...
> > And just when you thought it was safe to outside, consider 
> > this:  I won't use one piece of code that is p-, mex- dll, 
> > Active-X or any non-m sourced material.  
> 
> By "mex-dll" I presume you mean compiled mex files without
> the Fortran or C/C++ source code. I consider mex source code
> to be open as much as m-code is. The user can see everything
> in a Fortran or C/C++ source file and examine it before
> compiling and running it. All of my FEX submissions so far
> have been mex source code (no dll), either to be compiled by
> the user into useful (I hope) functions to be called by
> anyone (even non-mex programmers), or as examples for other
> mex programmers to use.
> 
> James Tursa
 

Yes. mex, when accompanied by the source, is
fine for anyone. Although I won't look at those
submissions because I don't do C. I heard a
rumor once that it causes cancer in laboratory
rats. 8-)  Of course, I may have been the one
who started that rumor, but have you ever seen
a laboratory rat who programmed in C and
survived?

Without the source code its no longer portable,
a big problem for someone on a different OS
than you.

John