On 10 Jul 2014, at 18:13, Adrian Chadd <adr...@freebsd.org> wrote:

> ... I think this particular commit highlights our almost complete lack
> of useful data types in our C libraries.
> 
> I think it's about time we grew a similar list of basic DSAs.
> 
> I had to reimplement hash tables, trees and callwheels at work recently. Ugh.

This is important in a wider context.  For example, in the project to add 
machine-readable output to core utilities, we'd like to be able to parse these 
into the same machine-readable format.  Apple has the CoreFoundation library 
for this, which provides a load of stuff, but most importantly number, string, 
date, dictionary, and array types (i.e. the sorts of things that you'd want in 
JSON-like serialisation formats).

The simplest way of implementing this would be to just provide some C wrappers 
around the libc++ implementations, but that might not be ideal...

David

_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to