From: Timothy J. H. <tim...@ma...> - 2004-05-20 22:57:32
|
On May 20, 2004, at 4:53 PM, Toby Allsopp wrote: > On Wed, May 19, 2004 at 10:29:57PM -0400, Timothy John Hickey wrote: >>> Some days, i just miss Common Lisp. >> >> Some day, I think a descendant of LISP and Java will be the dominant >> programming language (and maybe Jscheme will play a role in that >> evolution....) > > I must say that after discovering Lisp it's painful to have to write > Java. I agree, though I actually like the JVM and all of the Java libraries and applications. With the new jscheme.JScheme class, I think we can easily wrap Jscheme code in a Java class in such a way that noone need know it is written in Scheme. You just create a static JScheme instance "js" as a private static variable, load in the code, and then use js to provide functionality to all of the methods and initializers of the class.... It might be nice to create a JScheme->Java compiler that produced reasonable looking Java code, that would remove some of the "management impediments" to using JScheme in the workplace. > I don't have a lot of faith that the software industry will adopt > the features that make Lisp great any time soon though. Not soon, but I think the movement toward many of the Scheme features is inevitable (closures, higher order functions, simplicity in syntax and semantics). > Instead people > fritter away their time on stuff like Groovy :-( I was blissfully unaware of Groovy..... > >>>> P.S. Thanks for accepting my changes, it really makes my life a >>>> lot easier! >> >> What applications are you working on that require (or call for....) >> these changes? > > I want to be able to run arbitrary code inside an EJB that is deployed > on a running server without having to go through the whole > compile-deploy cycle. Yes! Great idea. I use Scheme to write webapps that have that same flavor. When a browser selects a file with the .servlet suffix, the scheme webapp reads the scheme code in that servlet, evaluates it in an environment containing the request, response, and httpservlet parameters and returns the result. It makes it very easy to develop servlets, just change the scheme code in the .servlet files.... debugging is pretty easy as well as we can send the error messages to the browser when in debug mode.... > The big idea is to make our J2EE application > scriptable, but the actual application that I'm using it for is unit > testing. Please keep us posted. Its nice to have interesting examples to help drive development.... > > The requirement to have multiple threads executing independent Scheme > programs comes from the possibility that multiple client programs could > connect to our application and ask to run Scheme code simultaneously > and > it would be bad if they interfered with each other. I understand, and I think there will be many other benefits of this extension (such as the ability to wrap Scheme code in Java classes as discussed above). ---Tim--- > > Toby. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle > 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Jscheme-user mailing list > Jsc...@li... > https://lists.sourceforge.net/lists/listinfo/jscheme-user |