From: Michael Edgar Date: 2011-03-15T08:14:54+09:00 Subject: Re: Doubts about Ruby and JRuby --Apple-Mail-52--285447884 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Caution: .pyc files can be decompiled to realtively well-structured = Python code. The dynamicity of the language (such as access to the local variable table) makes fewer = optimizations possible at the bytecode level, so you can get surprisingly straightforward code = out of a decompilation. http://depython.net/ is one example of a service that will decompile = code compiled with Python 2.5 and lower. I would seriously recommend against treating pyc files as having more = security than raw .py files. There are also decompilers for Java bytecode, but their output often = less closely matches the input source. Also, the .jars emitted by JRuby will, when decompiled = by a Java decompiler, be quite different from the input Ruby code, so you will have some = obscurity there as well. Michael Edgar adgar@carboni.ca http://carboni.ca/ On Mar 14, 2011, at 6:37 PM, Giuseppe luigi Punzi ruiz wrote: > My main question, is, thath I readed thath is not possible to get > something equivalent to .pyc files in Python. --Apple-Mail-52--285447884--