Hi,

I know several people who develop personal projects in Ruby/Rails. But they can
not convince their managers to use rails for precisely this reason: It is
necessary that the source code is available on the application server?
I believe that if the Rubinius offers this feature, many companies would
spend to use it to develop its projects in Ruby/Rails.
And I'm talking about big institutions with whom I have contact.
The question they ask is always the same: There is already some way to build
applications in Ruby/Rails where the source code no longer need to be
available on the server?

Regards,

Rodrigo.

2011/1/24 Matthew Winter <[email protected]>

> Hi,
>
> Indeed you can decompile the Java class file. However because the Ruby has
> been compiled into Java byte code with all the required JRuby wrappings, the
> code output from the decompilation is very much obfuscated for you. I am not
> saying it is impossible to understand, but you would need to have a degree
> of understanding of the internals of JRuby.
>
> Because Rubinius makes use of LLVM I see no reason why it could not output
> a binary executable, but would need to statically link the Rubinius library
> or provide a shared library binary for use, so the final size could be quite
> large. After all if Mono can provide this function via LLVM, then I am sure
> Rubinius could do it. ;-)
>
> I agree with your sentiment about whether it is really worth the effort.
> However the more Ruby, Rails, etc are used in the enterprise the more this
> kind of question will be asked.
>
> Regards
> Matthew Winter
>
>
> On 24/01/2011, at 8:42 AM, Eero Saynatkari wrote:
>
> > On 2011-01-23, at 21:51:05, Matthew Winter wrote:
> >> I know that you can achieve this with JRuby + Warbler. It basically
> compiles the Ruby source code and produces Java .class files which are then
> packaged as a WAR or JAR file, depending on what you trying to achieve. No
> source has to be present.
> >
> > At the risk of stating the obvious, even WARs are
> > easily disassembled. In fact, so is the Delphi code
> > although I think the tools for that are a little less
> > fancy.
> >
> > It's certainly possible to to add a comparable
> > degree of obscurity – not security – to Rubinius
> > and I think it's been discussed as a goal but is
> > not implemented as yet.
> >
> > Personally I'm not convinced it's worth the effort
> > but, then, I don't really have anything to do with
> > those decisions.
> >
> > Off the topic, is it not possible to implement the
> > application/whatever in a manner that doesn't
> > require obfuscation?
> >
> >
> > E
> > --
> > Sent from my rotary phone using an enormous number of revolutions.
> >
> > --
> > --- !ruby/object:MailingList
> > name: rubinius-dev
> > view: http://groups.google.com/group/rubinius-dev?hl=en
> > post: [email protected]
> > unsubscribe: [email protected]
>
> --
> --- !ruby/object:MailingList
> name: rubinius-dev
> view: http://groups.google.com/group/rubinius-dev?hl=en
> post: [email protected]
> unsubscribe: [email protected]
>



-- 
<http://www.vivver.com.br/> *Rodrigo Mendonça**
Diretor de Tecnologia
Tel: 31 3025 3550 / Cel: 31 8489 3119
[email protected] / [email protected]*

-- 
--- !ruby/object:MailingList
name: rubinius-dev
view: http://groups.google.com/group/rubinius-dev?hl=en
post: [email protected]
unsubscribe: [email protected]

Reply via email to