LoginSignup
4
0

More than 5 years have passed since last update.

PurePerlとは何を意味するのか?

Posted at

Perlの調べ物をしているとしばしばpureperl、ピュアPerlなどという謎単語が出てきます。
それについてのまとめ。

PurePerl

[1]XS を使わず純粋に Perl だけで書かれていることを、 pure perl といいます。
[2]XS 版と pure perl 版があるとき、前者を Hoge::XS、後者を Hoge::PP のように命名する慣習があります。
[3] PP 版は XS 版より動作速度で劣ることもありますが、 可搬性に優れ扱いやすいため好まれることがよくあります。

What defines "Pure Perl"?

Unicode::Japanese - Convert encoding of japanese text - metacpan.org

use Unicode::Japanese qw(PurePerl);
If you want to explicitly take the pure perl implementation, pass 'PurePerl' to the argument of the use statement.

4
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
0