🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: perl.dbi2.dev
Article #1

Re: Looking to get Involved

#1
From: Darren Duncan
Date: Mon, 16 Feb 2009 08:20
56 lines
4219 bytes
Jonathan Leffler wrote:
> On Sat, Feb 14, 2009 at 12:15 PM, Steven Lembark <lembark@wrkhors.com>wrote:
>> Jonathan Leffler wrote:
>>
>> It depends, in part, on Perl 6 stabilizing.
>>
>> How stable?
>>
>> Rakudo more-or-less works -- at least enough to start
>> serious planning based on the spec.
> 
> Beware - you have to 'Reply-All' to get messages to the mailing list.
> 
> Dunno - but more stable than it was in 2006 (which it undoubtedly is).
> 
> I'm not sure how well the extension interfaces are defined.  How do you do
> the analogue of XS in Perl 6?  Or, how do you get at C code form Perl 6?
> 
> I've forgotten how Perl 6 relates to Parrot, or Rakudo, or ... any of the
> myriad other code names lurking around.  So, what does "Rakudo more-or-less
> works" mean?
> 
> I'm not the leader...I'm just a pleb DBD developer aiming to keep abreast of
> what happens.  So anything I say should be taken with a pinch of salt and
> treated as non-definitive.

I'm not deeply involved at the moment but keep abreast in various Perl 6 things.

Basically, Perl 6 is a language that has multiple implementations, for example 
Pugs is an implementation over Haskell and Rakudo is the name of the 
implementation over Parrot; if you want to ignore any non-Parrot stacks, then 
just say that Rakudo is the name of the program you compile Perl 6 code with.

Now, last I recall from the roadmaps, Parrot is planning to hit version 1.0 
around March 2009 or sometime; the significance of Parrot 1.0 being that the 
Parrot VM should then be a feature complete relatively stable target for writers 
of compilers, such as Rakudo, to target.  This doesn't mean Rakudo will be at 
1.0 though; that would probably take a lot longer, perhaps until after the Perl 
6 auxiliary synopsis are all written.

To answer your XS analogy question, Parrot has something called NCI (native call 
interface), which essentially lets you invoke C library APIs directly without 
needing any library specific glue code like XS is; so essentially you don't need 
XS anymore.  Now I don't recall it actually being in a synopsis document, but 
what was discussed in the past is that Perl 6 does have a native facility for 
just invoking routines and other entities of foreign languages directly without 
glue code, basically just by way of a special Perl namespace prefix.

And so, presumably any DBI for Parrot or Perl 6 won't need any components 
written in C in general, and you could probably just write it all in Perl 6. 
Which also means in general that any Perl 6 DBI with similar functionality to 
the Perl 5 DBI will require a much smaller codebase.

That is what I understand.

-- Darren Duncan
Technical Details
Message-ID: <499921B1.6030606@darrenduncan.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-perl.dbi2.dev.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed101.telia.com!nf02.dk.telia.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.news2me.com!headwall.stanford.edu!newsfeed.stanford.edu!nntp.perl.org
References: <003e01c98ec3$5f41bb40$1dc531c0$@id.au> <844b8e1c0902141150y4c6a6dbag1b88559d3221c470@mail.gmail.com> <4997267E.1070605@wrkhors.com> <844b8e1c0902152355q61abd66u9a43181f4fcdeeb@mail.gmail.com>

Show Full Headers
Complete Article Headers
Message-ID: <499921B1.6030606@darrenduncan.net>
Subject: Re: Looking to get Involved
Date: Mon, 16 Feb 2009 00:20:01 -0800
From: darren@darrenduncan.net (Darren Duncan)
References: <003e01c98ec3$5f41bb40$1dc531c0$@id.au> <844b8e1c0902141150y4c6a6dbag1b88559d3221c470@mail.gmail.com> <4997267E.1070605@wrkhors.com> <844b8e1c0902152355q61abd66u9a43181f4fcdeeb@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-perl.dbi2.dev.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed101.telia.com!nf02.dk.telia.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.news2me.com!headwall.stanford.edu!newsfeed.stanford.edu!nntp.perl.org
Newsgroups: perl.dbi2.dev
Return-Path: <darren@darrenduncan.net>
Mailing-List: contact dbi2-dev-help@perl.org; run by ezmlm
Delivered-To: mailing list dbi2-dev@perl.org
Delivered-To: dbi2-dev@perl.org
X-Spam-Status: No, hits=-1.0 required=8.0
 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: la.mx.develooper.com
User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209)
MIME-Version: 1.0
To: DBI Version 2 Developers <dbi2-dev@perl.org>
In-Reply-To: <844b8e1c0902152355q61abd66u9a43181f4fcdeeb@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.36
Approved: news@nntp.perl.org
Lines: 56