News for hackers. Stuff that matters.
Re:Native C/C++ Like Performance For Java Object Serialisation by throwaway54-762 on Thursday July 05, 2012 @03:40PM (#4204609)
Is the unsafe version doing bounds-checking? I imagine de-serializing is much faster without branching, although probably not a great idea.

Hadoop's IPC protocol does something similar to what this article describes. They roll their own serialization format[0] and write to a wrapped ByteArrayOutputStream[1].

[0]: Example of a serialized object: https://github.com/apache/hadoop-common/blob/fdf697eebc95cbb...

[1]: https://github.com/apache/hadoop-common/blob/fdf697eebc95cbb...

Re:Native C/C++ Like Performance For Java Object Serialisation by pron on Thursday July 05, 2012 @05:09PM (#4204981)
No. No bounds checking.