← Back to team overview

modred team mailing list archive

Re: Include headers

 

Uh...why do we need to reimplement the C/C++ standard library? The math 
functions, at least, in standard C are totally fine for a base. 

I don't see why modred headers would need anything except the stuff directly 
relevant to the cluster's operation.

On Sunday 03 January 2010 15:14:45 Scott Lawrence wrote:
> I've started working on the headers that C programs can access. We
> should create the POSIX headers after creating native modred headers,
> since they'll likely have several includes (like including the math
> libraries).
> 
> The headers are in /include/c of the repo. An explanation is in README
> there. Try to maintain good documentation, generated with doxygen.
> 
> Question: what stuff should our math headers support, and what other
> general (non-memoryalloc, i/o type stuff) headers should we have?  I
> guess data structures, but what else? What sorts of algorithms are
> there that could possibly be of use? (Yes, by the way, I'm
> deliberately implementing stuff that's generally implemented in the
> STL in C. I think that's appropriate, and should have been done long
> ago?)
> 
> It'd be nice if the functionality our headers/libraries had was
> significantly superior to the standard UNIX equivalents.
> 



Follow ups

References