Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (576)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  1.5 = death of Jython?  (Read 2212 times)
0 Members and 1 Guest are viewing this topic.
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Posted 2003-10-15 18:23:46 »

OK, so it wouldn't actually *kill* Jython per se, but is 1.5 going to remove the impetus for most Java developers / teams to use Jython? (obviously, those who *have* to interact with Python, or have a large team of python users, would be unaffected).

Y'see, AFAICS, many of the biggest advantages of Jython are being implemented in 1.5 (hallelujah!), e.g.:

  • autoboxing
  • simplified iterators (can't remember the technical term atm, sri Smiley)
  • auto-casting a la STL


Obviiously, that leaves a few features unimplemented, but when Java has those, the value seems to me to go down considerably, for most people I suspect below the point where it's worth using 2 languages instead of 1 on a project.

...and Jython still has that annoying "tabs denote scope" bug (OK, they call it a feature. But try editing Python code in an HTML form Tongue ).

malloc will be first against the wall when the revolution comes...
Offline shawnkendall

Senior Duke





« Reply #1 - Posted 2003-10-18 01:43:49 »

You don't have to compile JPython.
That makes it a great way to do "live" in-game run-time scripting and changes.

Shawn Kendall
Cosmic Interactive, LLC
http://www.facebook.com/BermudaDash
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #2 - Posted 2003-10-18 10:50:00 »

Quote
You don't have to compile JPython.
That makes it a great way to do "live" in-game run-time scripting and changes.


A good point. Although it's not that much effort to programmatically run javac, and even catch the error output and re-route to wherever your developer is editing source?

But one thing I particularly like about Jython (and others that can call java objs interactively) is that you can make a rudimentary debugger very easily, which is helpful if you have novice programmers who are trying to work out why their script isn't working.

(take the script source, execute it line by line - because it doesn't have to be compiled first, you can do this very easily).

malloc will be first against the wall when the revolution comes...
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gregorypierce

Senior Duke




I come upon thee like the blue screen of death....


« Reply #3 - Posted 2003-10-28 17:47:26 »

Jython is a much better 'scripting' language than Java, but since the Bean Scripting Framework (BSF) makes it possible to use other scripting languages (include the Java styled BeanShell) I don't see scripting languages going away with 1.5.

http://www.gregorypierce.com

She builds, she builds oh man
When she links, she links I go crazy
Cause she looks like good code but she's really a hack
I think I'll run upstairs and grab a snack!
Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #4 - Posted 2003-10-28 21:30:55 »

Interesting.. but will the real BSF please stand up:

I found an IBM version here:
http://www-124.ibm.com/developerworks/projects/bsf

And an Apache version here:
http://jakarta.apache.org/bsf/

Neither one seems to mention the other (I could have missed it), yet they seem to be exactly the same thing.

Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #5 - Posted 2003-10-29 04:51:18 »

From the FAQ:
Quote


   BSF began life in 1999 as a research project of Sanjiva Weerawarana at IBM's T.J. Watson Research Center. The initial intent had been to provide access to JavaBeans from scripting language environments (though there is nothing limiting access only to Java Beans). It was soon moved to IBM's AlphaWorks developer site, where significant interest (both internal and external to IBM) led to its being moved to IBM's developerWorks site, where BSF could operate as an open source project. During this time, significant development was done by Matt Duftler and Sam Ruby, and BSF was incorporated into both IBM products (Websphere) and Apache projects (Xalan). It was this interest on the part of the Apache Software Foundation that ultimately led to BSF's acceptance as a subproject of Jakarta in 2002.

   During the process of moving BSF to Jakarta, development continued within IBM, with further improvements to BSF's integration with Jasper being made by John Shin and the addition of debugging support for the Javascript language (a team effort, resulting from the work of IBM researchers Olivier Gruber, Jason Crawford, and John Ponzo, and IBM software developers Chuck Murcko and Victor Orlikowski).

   It is the current version, 2.3, that has been donated to Apache Software Foundation from IBM.

Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #6 - Posted 2003-10-29 15:00:57 »

Quote
From the FAQ:
...
During the process of moving BSF to Jakarta, development continued within IBM...


Ok.. so as I suspected they started out as the same thing, but I'm not sure if this means there are now two separate development streams of BSF or what...

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (46 views)
2014-10-17 03:59:02

Norakomi (37 views)
2014-10-16 15:22:06

Norakomi (29 views)
2014-10-16 15:20:20

lcass (32 views)
2014-10-15 16:18:58

TehJavaDev (62 views)
2014-10-14 00:39:48

TehJavaDev (62 views)
2014-10-14 00:35:47

TehJavaDev (52 views)
2014-10-14 00:32:37

BurntPizza (70 views)
2014-10-11 23:24:42

BurntPizza (40 views)
2014-10-11 23:10:45

BurntPizza (82 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!