Grant Report: Inline::C(PP) - October 2014
Mon, 27-Oct-2014 by
Mark A Jensen
edit post
Ingy and David report on their Inline:C(PP) grant progress in their "joint blog":http://inline.ouistreet.com/page/inline-grant-weekly-report-1.html. Some exciting highlights:
* All work being done publicly:
** David and Ingy code in remote PairUpâ„¢ session (tmux)
** All realtime communication in IRC (irc.perl.org#inline)
** Tmux to be termcasted soon (live terminal in a browser)
** Fork 'em on "GitHub":https://github.com/ingydotnet/inline-module-pm
* Figured out a decent Inline Module API strategy
** Authors do 3 simple new things to ship Inline code to CPAN
** No end-user dependency on Inline for these modules
** End result is essentially same as hand written XS
* Created specification document: http://inline.ouistreet.com/node/v3e7.html
* Released two new CPAN modules:
** " Inline::Module":https://metacpan.org/pod/Inline::Module (The majority of the grant coding)
** "Acme::Math::XS":https://metacpan.org/release/Acme-Math-XS (first test module using Inline::C)
* Created a "new blog site":http://inline.ouistreet.com/ to document the Inline Grant Project
("A new site using some of our other loved technologies: Cog, Coffee, make, Swim, Jemplate, gh-pages, BootStrap")
Looks pretty cool. Here is Acme::Math::XS in its totality:
bq. use strict; use warnings;
package Acme::Math::XS;
our $VERSION = '0.0.2';
use Exporter 'import';
our @EXPORT = qw(
add
subtract
);
use Acme::Math::XS::Inline C => <<'...';
long add(long a, long b) {
return a + b;
}
long subtract(long a, long b) {
return a - b;
}
1;
MAJ
Category:
(none)
Comments (0)