Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #646

Re: Thoughts on the JVM as a compilation Target?

From torbenm@diku.dk (Torben Ægidius Mogensen)
Newsgroups comp.compilers
Subject Re: Thoughts on the JVM as a compilation Target?
Date 2012-05-24 10:34 +0200
Organization SunSITE.dk - Supporting Open source
Message-ID <12-05-017@comp.compilers> (permalink)
References <12-05-013@comp.compilers>

Show all headers | View raw


"Aaron W. Hsu" <arcfide@sacrideo.us> writes:
> What are your thoughts on JVM as a compilation target, especially with new
> languages all targeting high performance or multi-core type features?

JVM is O.K. as a target if you want to compile an object-oriented
statically-typed language, since this is what the VM assumes.  For other
languages, you will have to jump through hoops to express the semantics
of your language in terms of the JVM primitives.  Since JVM is
Turing-complete, it is, of course, possible to do so.  But it won't be
pretty and likely not very efficient.

JVM, however, has the huge advantage of being implemented on a lot of
different platforms, and when new platforms appear, it is likely that
these will soon support JVM, so you don't have to worry about porting
your language to new platforms.  There are also a large standard library
that you can use, but unless your language is an object-oriented
statically-typed language, these libraries may be hard to use
effectively from programs written in your language.

	Torben

Back to comp.compilers | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Thoughts on the JVM as a compilation Target? "Aaron W. Hsu" <arcfide@sacrideo.us> - 2012-05-22 13:33 -0400
  Re: Thoughts on the JVM as a compilation Target? glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-05-24 04:21 +0000
    Re: Thoughts on the JVM as a compilation Target? Jeremy Wright <jeremy.wright@microfocus.com> - 2012-05-24 08:30 +0000
      Re: Thoughts on the JVM as a compilation Target? BGB <cr88192@hotmail.com> - 2012-05-25 14:26 -0500
        Re: Thoughts on the JVM as a compilation Target? torbenm@diku.dk (Torben Ægidius Mogensen) - 2012-05-29 17:40 +0200
    Re: Thoughts on the JVM as a compilation Target? "Aaron W. Hsu" <arcfide@sacrideo.us> - 2012-05-24 10:05 -0400
  Re: Thoughts on the JVM as a compilation Target? torbenm@diku.dk (Torben Ægidius Mogensen) - 2012-05-24 10:34 +0200
  Re: Thoughts on the JVM as a compilation Target? "lpsantil@gmail.com" <lpsantil@gmail.com> - 2012-05-24 10:39 -0700
  Re: Thoughts on the JVM as a compilation Target? BGB <cr88192@hotmail.com> - 2012-05-24 13:06 -0500

csiph-web