Actually that makes a lot of sense.  At the machine code level most of the
programmer "style" is winnowed out.  Even translating to Assembler code
would be "better" than going from one high level language to another.

The translator I wrote was from Databus/Datashare (Children there use to be
a network of computers back in the dark ages, (Before PC) called Datapoint -
Arc Net.) to Wang BASIC (Yes my sons, they built a line of general purpose
computers once.  Unsuccessfully I might add.) (IBM syntax).  Bad choice, but
the customer was just a little desperate.

I seem to remember, haven't done it in years, Borand's C and C++ compilers
could output Assembler source.  One could conceivably take that output and
translate it into almost any foreign CPU's native Assembler with great
efficiency I would think.

Opps!  Straying a long way from SQLite!

Fred

-----Original Message-----
From: sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org]on Behalf Of Jim Showalter
Sent: Wednesday, August 12, 2009 10:26 AM
To: General Discussion of SQLite Database
Subject: Re: [sqlite] SQLJet - pure Java implementation of SQLite


Perhaps it would be better to translate the object code.

It's also possible to translate bytecode (for example, from Java to
.NET).

----- Original Message -----
From: "Fred Williams" <f.willi...@verizon.net>
To: "General Discussion of SQLite Database" <sqlite-users@sqlite.org>
Sent: Wednesday, August 12, 2009 5:42 AM
Subject: Re: [sqlite] SQLJet - pure Java implementation of SQLite


> That's the problem any more it seems.  Everyone "assumes" unlimited
> CPU and
> memory :-)
>
> Give a guy a Cray and he'll write one hell of a "Solitaire"!
>
> -----Original Message-----
> From: sqlite-users-boun...@sqlite.org
> [mailto:sqlite-users-boun...@sqlite.org]on Behalf Of Roger Binns
> Sent: Wednesday, August 12, 2009 12:09 AM
> To: General Discussion of SQLite Database
> Subject: Re: [sqlite] SQLJet - pure Java implementation of SQLite
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Fred Williams wrote:
>> I say there is no known translation that
>> would allow the three SQLite, "Small, Fast, Reliable" adjectives to
>> translate into any regurgitated language output, with the exception
>> of
>> compiling SQLite source with a C++ compiler :-)
>
> If you read Bernstein's retrospective on qmail, one of his
> suggestions is to
> write code in a higher level language (especially more secure in the
> sense
> that C isn't such as preventing buffer & integer overflows etc) that
> is then
> transcoded to C.  (Some conspiracy theorists looking at his code
> claimed he
> actually did do this :-)
>
> So in theory given unlimited CPU and memory it should be possible to
> take
> the SQLite C code and turn it into something higher level and then
> turn that
> back into the more verbose platforms (.NET, Java).  The big
> advantage of
> this approach (after the upfront work) is that keeping up with
> SQLite
> progress is easy.
>
> Roger
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkqCTmwACgkQmOOfHg372QSCUwCeKD+V+e7yjYgbcF9e+lXhAbbE
> U9cAoIzXPblugsswnhbgnmTNYSrkdMj7
> =VYQ3
> -----END PGP SIGNATURE-----
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to