Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Perl News

( [id://23771]=superdoc: print w/replies, xml ) Need Help??

For the latest news on what's happening in the Perl world, check out these sites:

If you have a Perl-related news item you'd like to share, you may post it in the Perl News section. Please try to avoid duplicating news; but pointers (with summaries) to important stories on other sites are acceptable here.

Perl News
Release: JSON::SIMD
5 direct replies — Read more / Contribute
by kikuchiyo
on Apr 18, 2023 at 16:10

    I hereby announce the release of a new JSON encoder/decoder module called JSON::SIMD.

    It is a fork of JSON::XS where the decoder was replaced with simdjson, a recent high-performance C++ JSON parser that uses SIMD instructions found in newer CPUs to make decoding as fast as possible.

    The module is intended to be a drop-in replacement for JSON::XS, indeed the encoder part is unmodified, and the legacy decoder is kept to support the functionality that could not be implemented with the simdjson decoder. But for the most common scenarios the simdjson decoder is the default, offering a speedup ranging from a few percents to 100+%, depending on the size and structure of the JSON document and the available instruction set. See the documentation for benchmarks.

    The interface is mostly the same as that of JSON::XS, with one notable addition: there is a new method decode_at_pointer, which leverages simdjson's ability to quickly scan through the document to return just a part of the document, without needing to decode and allocate for the rest.

    Example:

    my $large_json = '{ "ignore": "this", "don't need": ["these", "either"], "foo": ["bar", {"baz": "quux"}] }'; JSON::SIMD->new->use_simdjson->decode_at_pointer($large_json, '/foo/1' +); => {bar => 'quux'}

    I'd be interested in seeing benchmarks - if you create one, please include the output of simdjson_version as well.

    FAQ (Facetiously Anticipated Questions):

    Why a new module?

    When I came across simdjson, I've looked at the section in their documentation that listed the available ports and bindings, and noticed that one particular language was conspicuously missing. I wanted to remedy that situation.

    Why JSON::XS?

    I didn't want to start with a clean slate, because I saw value in having the encoder and decoder in the same all-in-one package, and I didn't want to rewrite the encoder part from scratch, so it was logical to start from an established module. JSON::XS was chosen as the basis for the fork because I has been using that module at $work and elsewhere without problems, so preserving compatibility with it was seen as an important goal.

Exporter::Almighty - reduce boilerplate code, overview by Toby I
No replies — Read more | Post response
by parv
on Mar 29, 2023 at 17:40
PDL::OpenCV 0.001 released
No replies — Read more | Post response
by etj
on Mar 26, 2023 at 02:59
    PDL::OpenCV 0.001 has just been released. Notable changes since never:
    • It supports modules highgui, imgcodecs, imgproc, objdetect, tracking, videoio
    • In particular, it supports just about every class and function within those modules that are supported by the Python binding
    • Where possible, all inputs and outputs are ndarrays which get wrapped into Mat, Rect, std::vector<int>, etc internally, then translated back
    • There is a simplistic translation of the Doxygen docs into POD, see on MetaCPAN: https://metacpan.org/dist/PDL-OpenCV
    • It includes a perldl demo which shows off basic image-processing stuff (demo opencv)
    Future plans, in something like intended order:
    • Support the Params classes (possibly from Perl-land as a hash-ref)
    • Support more of the modules, both in the main OpenCV distribution and the "contrib" ones

    The IRC channel (#pdl on irc.perl.org) is a great virtual place to come and ask questions, or just watch the GitHub messages flow by.

    Please give the new release a try and report problems.

PDL 2.082 released
No replies — Read more | Post response
by etj
on Mar 22, 2023 at 23:47
    PDL 2.082 has just been released. Notable changes since 2.081:
    • allow OtherPars of e.g. nsize => n to set index-size of not-otherwise-used index
    • fix [o] OtherPars to work if PMCode provided
    • fix nested loop() bug for Pars with e.g. (n,n)
    • add pp_add_typemaps
    • bug fixes: MatrixOps::det now always returns an ndarray
    • fixed the intersect bug in 11150528

    The IRC channel (#pdl on irc.perl.org) is a great virtual place to come and ask questions, or just watch the GitHub messages flow by.

    Please give the new release a try and report problems.

Community Input Requested - Future of TPRF website(s)
No replies — Read more | Post response
by choroba
on Mar 21, 2023 at 17:15
    TPRF is looking for community input on the future of the TPRF website(s).

    The full article.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
TPRC 2023 is in Toronto!
1 direct reply — Read more / Contribute
by talexb
on Mar 02, 2023 at 12:20

    I'm pretty excited to share the news that The Perl and Raku Conference will be in Toronto this year, July 11-13, 2023. You can find the TPF posting here and you can go to the cool tprc-to website here.

    The Call For Papers is now open, and the deadline is the end of March .. so if you have something you'd like to present, get that in soon! I'm looking forward to seeing lots of folks at this event.

    Alex / talexb / Toronto

    Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Enlightened Perl Organisation will close
1 direct reply — Read more / Contribute
by Discipulus
on Mar 01, 2023 at 02:51
    Sad news..

    In this post Mark Keating announces the closing down of the Enlightened Perl Organisation.

    Among other things of them I see strawberryperl

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
perl.social -- Perl fediverse/activitypub social network
3 direct replies — Read more / Contribute
by Discipulus
on Feb 14, 2023 at 07:06
Twitter-based login to MetaCPAN is being axed
2 direct replies — Read more / Contribute
by hippo
on Feb 03, 2023 at 04:47

    As per this tweet from MetaCPAN the Twitter API changes coming very soon will mean an end to using Twitter to login to MetaCPAN. If this is your only login method, now might be a good time to pick another one.

    I miss BitCard.

    Update: the full-fat twitter link is here, in case the nitter version fails.


    🦛

Perl::Dist::APPerl - Actually Portable Perl
4 direct replies — Read more / Contribute
by Anonymous Monk
on Jan 06, 2023 at 07:34
    "Actually Portable Perl (APPerl) is a distribution of Perl that runs on several x86_64 operating systems (most Unix-like and Windows) via the same binary. It builds to a single binary with perl modules packed inside of it. Cross-platform, single binary, standalone Perl applications can be made by building custom versions of APPerl, with and without compiling Perl from scratch"

  • Perl::Dist::APPerl
  • computoid.com/APPerl/
Perl advent calendar 2022 is live
1 direct reply — Read more / Contribute
by marto
on Dec 01, 2022 at 12:01
German Perl/Raku Workshop 2023 Call for Presentations
No replies — Read more | Post response
by Corion
on Nov 30, 2022 at 12:49

    The German Perl/Raku Workshop takes place from February 27 to March 1st 2023 in Frankfurt/Main, Germany.

    We are looking for your contribution in the form a talk (20 minutes or 40 minutes), a lighting talk (5 minutes) or a workshop (2-4 hours). Please submit your proposals using this online form.

    The theme in 2023 is Perl Futures - of course the two developments of Perl, Raku and Perl as well as the reference to the financial metropolis Frankfurt am Main. Presentations with these emphases are especially sought after, but all contributions on Perl, Raku and software development in general are welcome.

    Read the complete Call for Papers

PDL 2.081 released
1 direct reply — Read more / Contribute
by etj
on Oct 26, 2022 at 17:35
    PDL 2.081 has just been released. Notable changes since 2.079:
    • Most of PDL::VectorValued has now been incorporated into PDL::Primitive
    • Bugfixes including the t_rot one in 683514, and to MatrixOps::inv, conv2d and MatrixOps::identity
    • inflateN added
    • allow [o] on OtherPars, which helps towards PDL::OpenCV

    The IRC channel (#pdl on irc.perl.org) is a great virtual place to come and ask questions, or just watch the GitHub messages flow by.

    Please give the new PDL a try and report problems.

YAPC::Europe/PerlCon/KohaCon 2023-08-14..18 announcement
No replies — Read more | Post response
by Corion
on Oct 18, 2022 at 16:13
Google considers Perl a useful skill
2 direct replies — Read more / Contribute
by reisinge
on Oct 11, 2022 at 08:43

    One of the requirements for the SRE at Google:

    - Experience programming in one or more of the following languages: C, C++, Java, Python, Go, Perl, or Ruby.

    Code is read many more times than it is written. -- Dave Cheney

Add a piece of Perl News
Title:
Text:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":


  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2024-04-25 00:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found