uJSON, PyPy, Crossbar 10.4 Issues

#1

Please see this blog post:
http://www.pynut.com/?p=90

Can anyone point me in the right direction getting ujson to install with pypy so crossbar can use it as a JSON codec?

0 Likes

#2

no clue, but ujson on PyPy will be slower than json from stdlib, which is the reason that Crossbar.io does not install it as a dependency:

https://github.com/crossbario/crossbar/blob/master/setup.py#L100
https://github.com/tavendo/AutobahnPython/blob/master/setup.py#L115

···

Am 16.04.2015 um 00:06 schrieb Dave Thomas:

Please see this blog post:
http://www.pynut.com/?p=90

Can anyone point me in the right direction getting ujson to install with
pypy so crossbar can use it as a JSON codec?

0 Likes

#3

Thank you Tobias!

···

On Apr 15, 2015 7:44 PM, “Tobias Oberstein” tobias.o...@gmail.com wrote:

Am 16.04.2015 um 00:06 schrieb Dave Thomas:

Please see this blog post:

http://www.pynut.com/?p=90

Can anyone point me in the right direction getting ujson to install with

pypy so crossbar can use it as a JSON codec?

no clue, but ujson on PyPy will be slower than json from stdlib, which is the reason that Crossbar.io does not install it as a dependency:

https://github.com/crossbario/crossbar/blob/master/setup.py#L100

https://github.com/tavendo/AutobahnPython/blob/master/setup.py#L115

You received this message because you are subscribed to a topic in the Google Groups “Crossbar” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/crossbario/vg0GjQ20tok/unsubscribe.

To unsubscribe from this group and all its topics, send an email to crossbario+unsubscribe@googlegroups.com.

To post to this group, send email to cross...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/crossbario/552EF7DC.6020705%40gmail.com.

For more options, visit https://groups.google.com/d/optout.

0 Likes