RTL is heavily C++ specific

From: Dm. Arapov (darapov_at_cox.net)
Date: 02/24/04


Date: Tue, 24 Feb 2004 13:59:53 -0500


> > Could other languages call the table engine without
> > reinventing/reimplementing these operators? How does that work for
> > your suggestions? I am not really familiar with C++.

Unfortunately, no. The main reason is, that RTL manipulate schema of
DB in "compile-time" using technique named "C++ template meta-programming".
There is no similar feature in VB, Java or other languages,
except some functional languages.

Dmitriy

"Arkadiy Vertleyb" <vertleyb@hotmail.com> wrote in message
news:2f56064a.0402231952.49b2fcce@posting.google.com...
> topmind@technologist.com (Topmind) wrote in message
news:<4e705869.0402230915.c8db338@posting.google.com>...
>
> > Could other languages call the table engine without
> > reinventing/reimplementing these operators? How does that work for
> > your suggestions? I am not really familiar with C++.
>
> Unfortunately, no. This is a library, and so it's language specific.
> It is intended as an addition to standard C++ containers. In C++, one
> can use lists, vectors, (multi)sets, and (multi)maps -- each one with
> its own operations. We just provide relational tables and relational
> operations in addition to it.
>
> The reason we thought it would be interesting here is because it
> introduces the possibility to easily use the elements of relational
> approach in an otherwise OO program.
>
> Regards,
> Arkadiy



Relevant Pages

  • Re: SQL
    ... That is a language-specific feature. ... we are talking about features of languages. ... Relational only cares that the "expression engine" follow a minimum set ... linear programming and other optimization problems, ...
    (comp.object)
  • Re: Case-insensitivity considered harmful
    ... are lots where it is very hard to distinguish many lower-case letters. ... fonts use a non-traditional '0' for that reason, ... In computer languages, ... common convention was commentary in mixed case and code in upper. ...
    (comp.arch)
  • Re: C# or VB.NET?
    ... i am a part-time/casual developer. ... VBScript, and now when I'm migrating to .NET, I obviously chose VB.NET. ... The reason, of course, is the .NET Framework... ... The reason that both languages are identical is because they both target the .NET Framework. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: exponentiation operator (lack of)
    ... > of exponentiation operator. ... Those 3 languages were widely used in their heyday although ... of course were not useful for low-level system programming. ... One reason: the ability of C to interact closely with the hardware ...
    (comp.lang.c)
  • =?iso-8859-1?q?Re:_What_does_G=F6dels_Incompleteness_mean_for_the_Working_Mathematician=3F?=
    ... > Axiomatic languages do not lead to contradiction unless we have reason ... > There is no reason to believe that either is the case in Peano ... > algorithm computes an arithmetical relation R, ... theorems, theorems about dimension). ...
    (sci.math)