[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] sexplib v0.9.0 breakage of MirageOS unikernels (xen & solo5)

On Friday, 24 March 2017 at 18:05, Rudi Grinberg wrote:
> While it's good that a more portable alternative to sexplib is being created,
> it's a real shame we're not going to have compatibility between the types. 


> I understand that this might be necessary and have no technical objections. 
> But
> it's important to point out this unfortunate consequence.

I'm not sure exactly what your point is here. Sexpm is a generic s-expression 
codec, you can decode to and encode from whichever representation, and hence 
types you want. 

What it won't however is parse the same syntax. I don't think that adopting 
OCaml's string literal convention for your sexp strings is a good idea, 
especially in the age of Unicode. In other words, sexpm parses UTF-8 streams, 
not byte streams.



MirageOS-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.