<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hello all,<br>
<br>
I have prepared a small patch to add support for reading and writing<br>
MessagePack in LLVM, and want to propose including it in trunk.<br>
MessagePack is<br>
a binary object serialization format, with the goal of being more<br>
compact than<br>
text formats like JSON or YAML. The specification can be found at<br>
<a href="https://github.com/msgpack/msgpack/blob/master/spec.md" rel="noreferrer" target="_blank">https://github.com/msgpack/<wbr>msgpack/blob/master/spec.md</a><br>
<br>
There is no use of the code currently (outside of unit tests), but at<br>
AMD we<br>
are defining our next code object metadata format in terms of<br>
MessagePack, so<br>
patches which use the new format will be coming soon. I wanted to<br>
propose the<br>
addition now before writing dependant code, so anyone with interest can<br>
have<br>
a chance to review it.<br>
<br></blockquote><div>Hi Scott,</div><div><br></div><div>I have a work in progress patch to tty out message pack format to emit Optimization </div><div>remarks. I am using <a href="https://github.com/msgpack/msgpack-c">https://github.com/msgpack/msgpack-c</a></div><div>it is header only library available under boost license. But however if this is sufficient for my experiment I would love to use this.</div><div>- Vivek</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The API in this patch is low-level; the next step would be to define a<br>
high-level API, closer to the YAML library, to read and write whole<br>
structs.<br>
<br>
The patch is at <a href="https://reviews.llvm.org/D44429" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D44429</a><br>
<br>
Regards,<br>
Scott<br>
<br></blockquote></div></div></div>