<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><span>Check this out: <a target="_blank" href="https://trac.parrot.org/parrot/browser/trunk/ext/SQLite3?rev=32882">https://trac.parrot.org/parrot/browser/trunk/ext/SQLite3?rev=32882</a></span><br><br>Finally. Some validation about the Parrot NCI calls to SQLite dynamic library.<br><br>You should find a file there named sqlite3s.c. Apparently, a SQLite wrapper was already in the works in the Parrot tree but removed for unknown reasons. From what I can tell, a pure PIR solution was attempted. Interesting. I wonder what the final disposition will be for SQLite. <br><br>T<br><div>&nbsp;</div>-- Todd Presta<br><span>-- <a target="_blank" href="http://www.asciiville.com">http://www.asciiville.com</a></span><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size:
 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Todd Presta &lt;toddpresta@sbcglobal.net&gt;<br><b><span style="font-weight: bold;">To:</span></b> perlmongers &lt;thousand-oaks-pm@mail.pm.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Saturday, July 25, 2009 12:54:41 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [Thousand-oaks-pm] P6 Hackathon - Parrot got some birdseed<br></font><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">I got the SQLite3 functionality working on Linux. There's still a few items to resolve, but Rakudo Perl 6 can create a SQLite3 db, write to it, and query it. <br>The Parrot code runs pretty fast; the Rakudo code seems to have some load time penalty though.<br><br>If you're interested, the github repo is at:<br><br><span><span>&nbsp;&nbsp; <a target="_blank" href="http://github.com/asciiville/birdseed">http://github.com/asciiville/birdseed</a></span></span><br><br>Now that there is some minimal Perl 6 database functionality, I'm going to deep dive into the NCI/PMC domains to determine how Parrot can play nice with SQLite3's Opaque structs (when returned as reference params) for the database connection handle and statement handle(?) without the need for the birdseed workaround.<br><br>Anyone have any
 architectural designs in mind?<br>And should we move the communication to the <a target="_blank" href="http://TO.pm">TO.pm</a> website instead of circulating on the TO.pm mail list?<br><br>l8rs<br><br>T<br><br><div>&nbsp;</div>-- Todd Presta<br><span><span>-- <a target="_blank" href="http://www.asciiville.com">http://www.asciiville.com</a></span></span><div><br></div></div></div></div></div></body></html>