Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Virtual Machine / November 2003

Tip: Looking for answers? Try searching our database.

JVM in perl

Thread view: 
Mc Kiernan, Daniel Kian - 11 Nov 2003 10:31 GMT
I'm planning an implementation of the JVM in perl. (I can begin work in
early 2004.) Has anyone else been doing or planning something along these
lines?
Tad McClellan - 11 Nov 2003 15:06 GMT
> I'm planning an implementation of the JVM in perl.

Why are you planning an implementation of the JVM in perl?

(I think you meant "Perl" rather than "perl" ? )

What do you hope to gain by adding another level of virtual machine
(ie. adding perl's VM (byte codes) in addition to Java's byte codes).

It will be boatloads slower than one written in a compliled language,
so what advantage do you hope to gain by your efforts?

Signature

   Tad McClellan                          SGML consulting
   tadmc@augustmail.com                   Perl programming
   Fort Worth, Texas

chris - 12 Nov 2003 11:56 GMT
> I'm planning an implementation of the JVM in perl. (I can begin work in
> early 2004.) Has anyone else been doing or planning something along these
> lines?

I know of open-source projects in C, C++, Oberon, and .NET - but not Perl.

Go for it! Perl has one big thing against it (an extra layer of translation
via bytecode) and one big thing for it (associative arrays - a VM spends a
lot of time doing various kinds of table lookups). My two eurocents worth
of advice would be:
 - go for a compile-and-execute approach rather than an interpreter; i.e.
compile the Java bytecode to Perl and throw that at the Perl engine. That
largely overcomes the "two layers of bytecode" problem.
 - use the Classpath libraries for your Java runtime. You'll probably need
to do your own implementation of java.lang.String, java.lang.Class, and a
couple of others, but for the rest you can build on the fine work that's
already been done - and maybe contribute as well ...

See you at the next open-source Java implementors' BOF ...

Signature

Chris Gray      chris@kiffer.eunet.be

Philip Lau - 14 Nov 2003 11:12 GMT
On 11-Nov-2003, "Mc Kiernan, Daniel Kian"
<Mc-Kiernan@bogus-subdomain.worldnet.att.net> wrote:

> I'm planning an implementation of the JVM in perl. (I can begin work in
> early 2004.) Has anyone else been doing or planning something along these
> lines?

Great!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.