Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Machine > Higher Order By...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 765 of 803
Post > Topic >>

Higher Order Byte-Code Instructions

by "Christopher Diggins" <cdiggins@[EMAIL PROTECTED] > Apr 8, 2007 at 01:41 PM

I was wondering if there has been any research into adding higher-
order instruction to the Java bytecode? In other words instructions
that either push or pop instructions on the evaluation stack.

There are only a few core instructions that would be neccessary to
build others :

- constantly : pop a value, push an instruction on the stack that
returns that value
- compose : pop two instructions, push a new instruction that
evaluates the first function, then the second.
- eval : pop an instruction and evaluate

This functionality would make it easier for me to compile functional
languages to the CIL, and make them much more efficient.

We have been discussing the topic on Lambda-the-Ultimate (
http://lambda-the-ultimate.org/node/2177
). The first response from
many people is that they believe that this functionality has a huge
performance hit, and loses the effect of statically verifiable type
safety. This is untrue.

I've developed a type-system for stack-based languages with higher-
order functions and written a paper about it at :
http://www.cat-language.com/paper.html.
I believe the work to be novel, and I would be interested in
discussing it further.

Cheers,
Christopher Diggins
http://www.cdiggins.com




 5 Posts in Topic:
Higher Order Byte-Code Instructions
"Christopher Diggins  2007-04-08 13:41:11 
Re: Higher Order Byte-Code Instructions
"Chris Uppal" &  2007-04-09 12:37:06 
Re: Higher Order Byte-Code Instructions
"Christopher Diggins  2007-04-10 12:58:58 
Re: Higher Order Byte-Code Instructions
"Chris Uppal" &  2007-04-11 10:09:41 
Re: Higher Order Byte-Code Instructions
"Christopher Diggins  2007-04-11 08:56:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 13:40:41 CDT 2008.