RE: [iiitmk-wetec-group] byte code for scheme ???

0 views
Skip to first unread message

Nitesh

unread,
Sep 29, 2008, 4:27:06 PM9/29/08
to iiitmk-we...@googlegroups.com
Hi ganga,
as far my knowledge is concerned scheme generates platform dependent codes as it doesnt work on virtual machine as java does..as byte codes i.e. Machine indepent..are basically JVM dependent and use to perform differently on various versions of JVMs.

regards
Nitesh.

- original message -
Subject: [iiitmk-wetec-group] any byte code for scheme ???
From: "gangadhar chalapaka" <ganga...@gmail.com>
Date: 29/09/2008 7:40 am

Hi all when i am programming with scheme

I suddenly got a very big confusion...

Languages like Java will generate a architecture independent files or byte
codes (class files )

(Of course C also generates a object file but its dependant on which
platform it was compiled).

Any intermediate class or independent code generation in scheme. (at
least dependant)

if yes:

what's the form of the file and how to use those files across platforms.

Can any one help me from getting out of this...

am i going in a wrong way of understanding the semantics of the language.

--
Regards,
Gangadhar Chalapaka
pdgit-07
iiitmk.



Venkatesh Choppella

unread,
Sep 29, 2008, 7:12:53 PM9/29/08
to iiitmk-we...@googlegroups.com
Hi Nitesh,

Scheme per se does not have a standardized byte code representation.
(I consider this a major weakness of scheme.) However, that doesn't
mean that Scheme can't be compiled. There are compilers for Scheme,
but these usually generate native code. However, there is at least
one Scheme I've come across that generates Java Byte code (I think the
scheme is called SISC).

Best Wishes.
- venkatesh

--
Venkatesh Choppella, PhD.
Associate Professor
Indian Inst. of Info. Tech. & Mgmt -- Kerala
Park Centre, Technopark, Kariavottam P.O.
Trivandrum, Kerala 695 581, INDIA
home: http://www.iiitmk.ac.in/~choppell
calendar: http://www.google.com/calendar/embed?src=chop...@gmail.com

Reply all
Reply to author
Forward
0 new messages