in reply to Re: Release: JSON::SIMD
in thread Release: JSON::SIMD

That's a pity. I like to code "use JSON;"; then in POD, recommend installation of JSON::XS for the speed bonus.

It is a pity. I, OTOH, like to just use JSON::MaybeXS everywhere and then never have to worry about it. Once JSON::SIMD proves to be stable I would like to see it added into the list for JSON::MaybeXS at a higher priority than JSON::XS, which would then be the obvious fallback if jSON::SIMD isn't installed.


🦛

Replies are listed 'Best First'.
Re^3: Release: JSON::SIMD
by kcott (Archbishop) on Apr 19, 2023 at 12:51 UTC

    That's fair enough. I wasn't trying to push any particular JSON::* module; just reporting my typical usage.

    I suppose, with JSON, you could use the environment variable, $PERL_JSON_BACKEND, along these lines:

    export PERL_JSON_BACKEND=JSON::SIMD,JSON::XS,JSON::PP

    Although, I haven't tried that.

    — Ken