erlpack icon indicating copy to clipboard operation
erlpack copied to clipboard

High Performance Erlang Term Format Packer

Results 27 erlpack issues
Sort by recently updated
recently updated
newest added

Need a packer for larger numbers. Would have to handle in a slower path though, as I'm not sure how we'd handle it in C world.

Need to implement packing and unpacking of these types.

Current iteration of decoder is mainly a cython compile/port of the erlastic decoder. I've optimized it to meet our needs of decoding lots of unsigned 64 bit integers, but I...

>>> from websocket import create_connection >>> from erlpack import pack >>> from erlpack import unpack >>> ws = create_connection("wss://gateway.discord.gg/?encoding=json&v=9&compress=zlib-stream") >>> response = ws.recv() >>> response b'x\x9c4\xc9A\n\xc20\x10\x05\xd0\xbb\xfcu"\xa9(\xc8\\\xa5)elG\r\xa4i\x99\x8e\x8a\x84\xdc]7\xee\x1e\xbc\n\x03\x95g\xce\x0e\xfb\x1f\xeb\x06\xea\x82\xc3\x0c\xaax\x08\xab]\x85mL\xc5D_\x9cA\xa7\xeex\xfe\xfdh\xca\x93\x80z\xf4\x11w6y\xf3\xc7o:\xfb\x85S\xf1v)\xb7\x08W#\x964\xe9\xbaGP8\x846`h\xed\x0b\x00\x00\xff\xff' >>> unpack(response) Traceback (most...

The postbuild script to rebuild those packages when installing discord.js (on Node 19 for me) with: ``` ../../nan/nan_callbacks.h:55:23: error: ‘AccessorSignature’ is not a member of ‘v8’ 55 | typedef v8::Local...

Please make a rust crate for `erlpack`

Due to update of v8, you can't build erlpack on nodejs 19, because they removed v8::AccessorSignature, used by nan pre 2.17 version