Re: obsolete code?

Ralf Juengling <[email protected]> Thu, 19 Jun 2008 12:40:31 -0700 (PDT)
Newsgroups gmane.lisp.lush.devel
Message-ID <[email protected]>
Thank Yann,

On Thu, 19 Jun 2008, Yann LeCun wrote:

> classify.c: the functions in that file are obsolete, but
> might still be used in some obscure library that some people
> actually use (like the neural net tools in packages/sn28 ).

The alternative is to fix up the library code (if the number
of uses is limited there). I will look into it.

>
> dz.c: the main problem with removing dz.c is that all the common
> mathematical functions, such as sin, cos, log, tan, tanh and such are
> implemented as DZ.  They would have to be re-implemented as regular
> DX. I don't think it's worth the trouble, even if the DZ compiler is
> no longer used.

I have actually done that a while ago in psu-lush.


> One thing that we should perhaps consider is reworking some of the
> math library, perhaps by relying more heavily on gsl (as in
> packages/libnum), with higher-level functions.  This may make Lush
> more convenient as a "desktop calculator" or matlab replacement.

Yes, we should look into that for special functions and
things like root finding. For linear algebra I think we
should go with LAPACK and ScaLAPACK, though. It is a
widely adopted standard and we would have to wait longer
to see multiprocessor support or improved algorithms
in GSL.

Ralf




>
>  -- Yann
>
>
> On Thursday 19 June 2008, Ralf Juengling wrote:
>> Hi all,
>>
>> I am in the process of reviewing all of the interpreter
>> code. This is a good opportunity to ask what modules have
>> become obsolete. What about the following:
>>
>> * dz.c
>> * classify.c
>>
>> dz implements a small virtual machine for interpreting
>> mathematical functions. I am not sure why we would want
>> to keep this--does it use fixed-point arithmetic?
>>
>> classify implements a number of basic statistical
>> functions for lists of numbers. In my opinion, they
>> should be retired and analogous functions that work on
>> vectors or arrays should be used instead.
>>
>> Any comments? Any other candidates for retirement?
>>
>> Ralf
>>
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> Lush-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/lush-devel
>
>
>
>
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Lush-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lush-devel
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php