Ask a Question related to PERL Miscellaneous, Design and Development.
-
Peter Cooper #1
Pure Perl SQL server
Does anyone know of a pure Perl SQL server? I have noticed the rise of 'pure
Perl' modules for things like XML parsing, and the pure Perl DBD::MySQLPP,
but have never seen anything as ambition as a pure Perl SQL server.
I am not entirely sure as to how useful such a thing would be, although it'd
make a cute part time project, as there's bound to be tons of things I'd
learn along the way. With Perl6/Parrot approaching rapidly, I believe such
pure Perl systems could come into their own, as Perl's speed rockets up the
y-axis.
This is just blustering at this point, but I'd be interested to hear what
other people think. My searches for such a project have been fruitless,
except for a post on a LUG mailing list where someone was asking for a pure
Perl SQL server, but that was four years ago, and he got no replies! :-)
I have looked at SQL::Statement which does a little parsing for DBD::CSV,
although I have yet to take a good look into DBD::CSV itself. I believe
there's potential to developing a 'reasonably' powerful SQL engine in pure
Perl, and if it's developed with Perl 6 in mind, it may become a rather
useful tool in the future.
Thoughts? Hisses? Sarky comments? Insights? :-)
Regards,
Peter Cooper
Peter Cooper Guest
-
Get Terminal Width and Height, Pure Perl
Okay, I have a terminal program I need to get the width and height for. I have a very good reason needing to do it with a base 5.8 Perl install, if... -
NameSpace for pure-perl TCP reassembly
I have a set of modules I'd like to upload to CPAN, but I'm unsure what namespace to put them in. They turn tcpdump capture files into TCP... -
pure-perl access to mySQL
Hi! Since mySQL 3.2x there have been a lot of changes. But one was the most significant to me: the new login process. This thing made Net::MySQL... -
Pure Perl PDF creation module.
Are there any Perl modules for creating PDFs that are purely Perl and don't depend on any 3rd party libs? Thanks. -
Pure Perl df
Okay, I'm at a loss and need help. A friend of mine is working with a Perl script. It has a system call to df in it, he would like to replace... -
Bob Walton #2
Re: Pure Perl SQL server
Peter Cooper wrote:
....> Does anyone know of a pure Perl SQL server? I have noticed the rise of 'pure
> Perl' modules for things like XML parsing, and the pure Perl DBD::MySQLPP,
> but have never seen anything as ambition as a pure Perl SQL server.
>
> I am not entirely sure as to how useful such a thing would be, although it'd
> make a cute part time project, as there's bound to be tons of things I'd
> learn along the way. With Perl6/Parrot approaching rapidly, I believe such
> pure Perl systems could come into their own, as Perl's speed rockets up the
> y-axis.....> I have looked at SQL::Statement which does a little parsing for DBD::CSV,
> although I have yet to take a good look into DBD::CSV itself. I believe
> there's potential to developing a 'reasonably' powerful SQL engine in pure
> Perl, and if it's developed with Perl 6 in mind, it may become a rather
> useful tool in the future.> Peter Cooper
Hmmmmm...well, if you use DBI::PurePerl in conjunction with DBD::CSV, it
looks like you probably get a pure Perl SQL database implementation.
There is also DBD::RAM, which also appears to be pure Perl. I'm not
sure just what you mean by "SQL server".
--
Bob Walton
Bob Walton Guest
-
Peter Cooper #3
Re: Pure Perl SQL server
Thanks for replying, Bob.
Good points. I wanted someone to question my idea in this way, so I can at> Hmmmmm...well, if you use DBI::PurePerl in conjunction with DBD::CSV, it
> looks like you probably get a pure Perl SQL database implementation.
> There is also DBD::RAM, which also appears to be pure Perl. I'm not
> sure just what you mean by "SQL server".
least attempt to prove/disprove its validity in my head. I didn't know about
DBD::RAM before, but I've checked that out, and it seems interesting.. I'll
have to run a few 'experiments' with it :-)
By "SQL server", I mean replicating something like MySQL entirely in Perl.
So, yeah, you'd create a DBD, and use DBI, as you would with anything else,
but the actual database /backend/ (like your MySQL, Oracle, etc) would be
Perl code.. and it wouldn't be CSV, or in RAM.. but fast binary files.
The featureset would be comparable to an early MySQL, better than
SQL::Statement can parse (and therefore better than DBD::CSV or DBD::RAM can
handle), and using binary files. It'd be no speed champion, but when Perl 6
is out and about, it could be 'reasonably' fast, thanks to Parrot, and it'd
be entirely interpreted. For people who can't even create sockets (for
security purposes), you could also make it run in a 'command line' form.
Just pipedreams, I guess, but I'll be sure to look into it further. Any
further queries or comments would be most appreciated though.
Pete
Peter Cooper Guest
-
Ted Zlatanov #4
Re: Pure Perl SQL server
On Sat, 23 Aug 2003, [email]newsfeed@boog.co.uk[/email] wrote:
That's an interesting idea, but a RDBMS is a very difficult piece of> By "SQL server", I mean replicating something like MySQL entirely in
> Perl. So, yeah, you'd create a DBD, and use DBI, as you would with
> anything else, but the actual database /backend/ (like your MySQL,
> Oracle, etc) would be Perl code.. and it wouldn't be CSV, or in
> RAM.. but fast binary files.
software to write correctly. I haven't heard about something written
in Perl. I would love to see one, though.
Ted
Ted Zlatanov Guest



Reply With Quote

