Re: [Tutor] Slightly OT - Python/Java

2005-01-10 Thread Alan Gauld
> I just wanted to let everyone know a detail about Jython. It is not > in > fact an interpreter written in Java it is a dynamic Python to > JavaByteCode compiler. Its several things, it includes jythonc (note the last letter) which is a JVM compiler. But jython is also a full implementation of

Re: [Tutor] Slightly OT - Python/Java

2005-01-10 Thread Jacob S.
> *sigh* I have no net at home at moment, which is very frustrating when > I want to d/l documentation & editors. For the mo, it's all Notepad. > Ick. Call me stupid or whatever, but how do you send and receive mail to this list? Maybe someone on the list could send you Eclipse as an attachment ma

Re: [Tutor] Slightly OT - Python/Java

2005-01-10 Thread Kent Johnson
Chad Crabtree wrote: I just wanted to let everyone know a detail about Jython. It is not in fact an interpreter written in Java it is a dynamic Python to JavaByteCode compiler. At least that's how I understand this document. http://www.jython.org/applets/issues.html I found this interesting a

Re: [Tutor] Slightly OT - Python/Java

2005-01-10 Thread Danny Yoo
On Tue, 11 Jan 2005, Liam Clarke wrote: > > > (Why can't a non-static method comparison be called from a static > > > reference? What does that mean anyway? > > > > Er... What was your code like? (before and after correcting > > the error) Hi Liam, It's actually easier to see the reas

Fwd: [Tutor] Slightly OT - Python/Java

2005-01-10 Thread Max Noel
(*bangs head on keyboard* gah, I clicked Reply instead of Reply to All again -- sorry!) Begin forwarded message: From: Max Noel <[EMAIL PROTECTED]> Date: January 11, 2005 00:09:11 GMT To: "Alan Gauld" <[EMAIL PROTECTED]> Subject: Re: [Tutor] Slightly OT - Python/Java On

Re: [Tutor] Slightly OT - Python/Java

2005-01-10 Thread Liam Clarke
On Mon, 10 Jan 2005 01:33:39 +, Max Noel <[EMAIL PROTECTED]> wrote: > > > (Also very frustrating is having lists that can be comprised only of > > one variable type.) > > First things first: don't use lists/arrays. Use Collections instead > (classes like ArrayList, HashMap, etc.). The

Re: [Tutor] Slightly OT - Python/Java

2005-01-10 Thread Alan Gauld
> ...on Java ... > quite like, much superior to C++, although it does lack the elegance of > Python and Ruby. Superior is a relative term. Java has lots of huge restrictions compared to C++ - the lack of operator overloading being maybe the biggest, since it prevents true sub typing of builtins an

Re: [Tutor] Slightly OT - Python/Java

2005-01-10 Thread Chad Crabtree
I just wanted to let everyone know a detail about Jython. It is not in fact an interpreter written in Java it is a dynamic Python to JavaByteCode compiler. At least that's how I understand this document. http://www.jython.org/applets/issues.html I found this interesting and I thought you all

Re: [Tutor] Slightly OT - Python/Java

2005-01-10 Thread Alan Gauld
> Actually, I have the Intel assembler manuals at home, haven't even > looked at 'em. If we're going for speed... Actually modern C compilers usually mean that well written C can outperform even assembler, to write good assembler is just so hard that very few people can outsmart a good comiler..

Re: [Tutor] Slightly OT - Python/Java

2005-01-10 Thread Kent Johnson
Liam Clarke wrote: No, its allegedly for reliability reasons - if it compiles then you should never get a runtime eror due to the wrong kind of object being passed. I used to believe passionately in that principle, now, after using Python I'm not so convinced it matters as much as I thought. THe ty

Re: [Tutor] Slightly OT - Python/Java

2005-01-10 Thread Max Noel
On Jan 10, 2005, at 00:18, Liam Clarke wrote: Hi all, I've been forcing myself to learn Java, and I was wondering if anyone's used Jython. To clarify - Jython generates Java bytecode? I've also learnt Java in roughly 1 week last autumn, because that's what's used at the University of Leeds. All i

Re: [Tutor] Slightly OT - Python/Java

2005-01-09 Thread Liam Clarke
> > > Personally, I should've learnt Java first (although my success at that > > without my Python experiences would've been limited.) > > I don;t know why you think that would help? > Or do you mean Java before Jython? If so it depends > what you intend using Jython for! I meant learning Java p

Re: [Tutor] Slightly OT - Python/Java

2005-01-09 Thread David Rock
* Kent Johnson <[EMAIL PROTECTED]> [2005-01-09 20:27]: > Liam Clarke wrote: > >Hi all, > > > >I've been forcing myself to learn Java, and I was wondering if > >anyone's used Jython. For anyone in the Chicago, IL area, the Chicago Python Users Group, ChiPy, is going to have a speaker on Jython this

Re: [Tutor] Slightly OT - Python/Java

2005-01-09 Thread Alan Gauld
> I've been forcing myself to learn Java, and I was wondering if > anyone's used Jython. > To clarify - Jython generates Java bytecode? I'm learning its vagaries as a way of testing objects being written by my develoment teams in Java. > Personally, I should've learnt Java first (although my succ

Re: [Tutor] Slightly OT - Python/Java

2005-01-09 Thread Kent Johnson
Liam Clarke wrote: Hi all, I've been forcing myself to learn Java, and I was wondering if anyone's used Jython. Yes, quite a bit. To clarify - Jython generates Java bytecode? Yes. Jython is a Python compiler and runtime written in Java. It integrates very well with Java libraries. Personally, I s

[Tutor] Slightly OT - Python/Java

2005-01-09 Thread Liam Clarke
Hi all, I've been forcing myself to learn Java, and I was wondering if anyone's used Jython. To clarify - Jython generates Java bytecode? Personally, I should've learnt Java first (although my success at that without my Python experiences would've been limited.) I find it's real nasty forcing my