Perl 6 - the future is here, just unevenly distributed

IRC log for #native, 2015-08-05

| Channels | #native index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
19:04 plicease sivoais: in Alien::Leptonica you bundle a ::Install::Files
19:05 plicease sivoais: I presume this was before we added support for ::Install::Files in AB?
19:05 plicease or is it doing something special?
19:06 plicease I noticed it has a "sub deps" that the one we generate in AB::MB doesn't have
19:06 plicease but I don't really know enough about this feature to understand if it should
19:07 sivoais plicease: it must have been before. I've had this issue open where I intend fix it <https://github.com/EntropyOrg/p5-Alien-Leptonica/issues/7>
19:08 sivoais it was probably the first try that mohawk and I had with getting ExtUtils::Depends tested
19:10 sivoais deps was all so that ExtUtils::Depends could get the flags for any dependencies that need to also be compiled in
19:10 sivoais which isn't applicable with Alien::Leptonica
19:14 plicease hrm.  It's interesting, because in the AB version we don't use import.  Which you don't need if you are using static lib.
19:14 plicease https://github.com/plicease/Alien-Base/blob/master/lib/Alien/Base/ModuleBuild.pm#L290
19:15 plicease (or the system lib of course)
19:15 plicease is there anything that actually uses this feature?  via the Install::Files that is installed by AB?
19:15 plicease I'd feel better if I could test it :)
19:17 sivoais I don't think so :-P I often just use Inline with => qw(My::Module) directly, so it never calls the ::Install::Files code
19:17 sivoais it is more meant to be for when you expose a C API
19:18 sivoais and I haven't seen that outside of Gimp and PDL
19:18 plicease actually I just checked and there are tests in t/inline.t and t/inline_cpp.t that use "with" with Acme::Alien::DontPanic
19:19 plicease I like to test these things with real libs though otherwise it seems vaguely theoretical
19:20 sivoais hmm, yeah. I know of a way I can do that possibly with run4flat's C::Blocks and Leptonica, but I'll need to look into it
19:20 sivoais There's one part of Leptonica that does C code generation (for something called image morphology operators)
19:21 sivoais that requires that C::Blocks know the flags. Which is where ExtUtils::Depends might help
19:26 sivoais for more info <http://tpgit.github.io/Leptonica/fmorphauto_8c.html#_details>
19:33 sivoais added an issue <https://github.com/run4flat/C-Blocks/issues/1>
19:34 plicease cool i subscribed to the issue so i will be in the know
20:30 sivoais thanks for the changes, plicease. I'll look at them in a couple hours once I get to my desktop
20:31 plicease np.  there is no rush :)
20:56 sivoais btw, run4flat's mention of random access latency reminded me of cache-oblivious algorithms. Might be worth looking into.
23:48 frew joined #native

| Channels | #native index | Today | | Search | Google Search | Plain-Text | summary