23 Apr 2021 14:16:22 UTC
- Module version: 0.10
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (4)
- Testers (2 / 0 / 0)
- KwaliteeBus factor: 3
- % Coverage
- License: unknown
- Activity24 month
- Download (70KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- INSTALLING V8
- SEE ALSO
- COPYRIGHT AND LICENSE
v8's interface and behaviour changes a lot. Updating this module to support newer versions of v8 is a big job. The module currently supports v8 6.2.
The dramatic API changes mean that backward compatibility with the current API will be effectively impossible. The likelihood of security holes in a library as large, complex and high-profile as V8 means means it will be necessary to keep up with the current version, rather than with the one that this module supports.
Therefore, the next steps will be to use the excellent Alien::Build to make an "alien" module that builds and makes available v8. The current Alien::V8 is not suitable, since its last release was from 2011.
Contributions of effort will be welcome. Please open an RT, or just
irc.perl.orgto get involved.
Google maintains a public document describing v8's API changes: https://docs.google.com/document/d/1g8JFi8T_oAE_7uAri7Njtig7fKaPDfotU6huOa1alds/edit#
Please note that v8 needs around 2MB of VSZ memory. See https://rt.cpan.org/Ticket/Display.html?id=78512 for more information.
See https://v8.dev/docs/build for how. Be warned, the source repo alone is over 800MB.
On OS X I've successfully used Homebrew, install Homebrew then:
brew install v8
On Ubuntu 18.04 (and possibly Debian), the library and header files can be installed by running:
sudo aptitude install libv8-3.14.5 libv8-3.14-dev
Similar packages may be available for other distributions (adjust the package names accordingly).
Pawel Murias <pawelmurias at gmail dot com> David Leadbeater <firstname.lastname@example.org> Paul Driver <frodwith at gmail dot com> Igor Zaytsev <email@example.com>
Copyright (c) 2009-2010 Paweł Murias Copyright (c) 2011 David Leadbeater Copyright (c) 2011 Igor Zaytsev
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
- Claes Jakobsson <claesjac at cpan dot org>
- Brian Hammond <brain @ fictorial dot com>
For salvaging the code of V8.pm from a message board (which I took some code and the idea from)
- The hacker who wrote V8.pm and posted it on the message board
- All the fine people at #firstname.lastname@example.org for helping me write this module
Module Install Instructions
For more information on module installation, please visit the detailed CPAN module installation guide.