msgpack-scala icon indicating copy to clipboard operation
msgpack-scala copied to clipboard

Pure Scala msgpack

Open xerial opened this issue 8 years ago • 0 comments

I'm now prototyping pure-scala implementation of msgpack for supporting Scala, Scala.js, and Scala.native: https://github.com/wvlet/airframe/pull/127

Basic ideas for the implementation is as follows:

  • Having SPI for providing interfaces for implementing MessagePack based codec (unpackXXX, packXXX). This will be useful if you need to implement MessagePack based object serizliation/deserialization code.
  • Remove performance specific optimization in msgpack-java (e.g., MessageBuffer)
  • Use simpler Value classes (e.g., Integer, Float, String, Array, Map, etc.) suited to Scala case classes. msgpack-java needed to use complex interface hierarchies to support immutable classes. I want to remove this complexity.

xerial avatar Jan 04 '18 21:01 xerial