OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: I would like to see some big integer examples of GMP code
From: Zooko Ozoko (zookoimp.mad-scientist.com)
Date: Wed Jul 26 2000 - 01:59:13 CDT


Greetings Bill, Peter, Coderpunks:

 Bill wrote:

> Another interesting thing to use might be Java bytecode.
> It's the object-code-like layer that Java Virtual Machines execute,
> which you normally produce by compiling Java source code.
>
> One reason it's interesting is that a scripting language called Python,
> which is roughly similar in power but lower in ugliness than Perl,
> can either be interpreted, or compiled to Java bytecode using JPython.
> I've also heard it can be compiled into C, but the FAQ suggests otherwise.
>
> Also, unlimited-precision long integers are a basic type in Python,
> though it doesn't have a modexp function, so it's less efficient
> because you need to do the exponentiation first, then modulo.

Good idea, Bill.

As a matter of detail Python "interpretation" also involves a bytecode
form, so Peter might be interested in using Python bytecode itself.

I've never heard of Python compiling to C.

Regards,

Zooko