Fastest serialization in go

232 views
Skip to first unread message

Devashish Ghosh

unread,
Mar 7, 2016, 5:21:33 AM3/7/16
to golang-nuts
What is the fastest way to serialize in go e.g json, gob, xml, etc. ?

Alexandre Cesaro

unread,
Mar 7, 2016, 5:33:28 AM3/7/16
to golang-nuts

Damian Gryski

unread,
Mar 7, 2016, 5:38:48 AM3/7/16
to golang-nuts
Note also that there are *lots* of knobs to twiddle for trade-offs w/r/t serialization: speed is only one aspect.

Others include:
   - schema vs free-form
   - size of serialized data
   - seekable (can you find/unpack one piece or do you always need do the entire thing)
   - cross-language compatibility
   - future-proofing (for schema'd formats, how does schema evolution work?)

Damian
 
Reply all
Reply to author
Forward
0 new messages