Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2017-03-09

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

All times shown according to UTC.

Time Nick Message
00:56 idiosyncrat joined #marpa
01:39 ronsavage joined #marpa
03:05 kaare__ joined #marpa
03:57 idiosyncrat Back to work on R3, and another refactoring milestone --
03:59 idiosyncrat There is no Marpa data kept on the Perl/XS level any more -- all data is either under control of Libmarpa, is Lua data, or is Perl data.  None of the C language data or structures in XS belongs to Libmarpa --
04:00 idiosyncrat the XS layer is no mainly a framework for calling Lua.
04:00 idiosyncrat s/no mainly/now mainly/
04:01 idiosyncrat This means my memory management model has simplified -- I once had things like homemade "weak" references within XS, XS C structures owned by Lua, etc., etc.
04:02 idiosyncrat I'd worked this all out carefully and I'm pretty sure it was bug-free right up to the end, but it would have been very difficult for anyone else to work with ...
04:02 idiosyncrat which is something I keep in mind.
04:03 idiosyncrat At this point memory management is not simple, but all of its pieces are standard.
04:03 idiosyncrat Libmarpa's interface offers a standard reference counting mechanism.
04:04 idiosyncrat All the Libmarpa data is owned by Lua, which manages it according to its standard, documented, C API.  (Libmarpa's interface is also documented, so it's documented on both sides.)
04:05 idiosyncrat The XS code owns Lua interpreters and objects within them, again using Lua's documented C API.
04:06 idiosyncrat And the Perl code owns XS objects, using a very limited standard portion of the (again documented) XS interface.
04:06 idiosyncrat Complicated, but nothing undocumented or weird, and there used to be plenty of both. ;_)
04:07 idiosyncrat Typo: I meant to say :-)
04:08 idiosyncrat As time goes on, I hope to simplify and normalize things even further.
04:10 kaare_ joined #marpa
10:48 sirdancealot joined #marpa
19:13 sirdancealot joined #marpa
20:48 ceridwen joined #marpa
21:53 ronsavage joined #marpa
21:55 ronsavage JK: Whether or not it's documented, I sure hope /somebody/ understands it!
23:59 idiosyncrat joined #marpa

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