Question about EXE file

Hello!

I made EXE file from my ruby script. And it take a really long time to
launch. Can anyone please tell me if there is any way to increase the
launch speed?

Thank you.

Try compiling it without compression.

Joel P. wrote in post #1185268:

Try compiling it without compression.
I am new to all this. And I don’t understand what you talking about. Can
you please give me some additional information about this?

How did you create an .exe file anyway? And what is a “really long
time”?

What I do know is that my ruby-gnome programs work on windows quite
fine,
at about the same speed as-is on linux (perhaps a tiny bit slower but
that’s about it).

It depends a lot on what the program is doing. If it is not doing much
then the start-up should happen quickly.

Robert H. wrote in post #1185278:

How did you create an .exe file anyway? And what is a “really long
time”?

What I do know is that my ruby-gnome programs work on windows quite
fine,
at about the same speed as-is on linux (perhaps a tiny bit slower but
that’s about it).

It depends a lot on what the program is doing. If it is not doing much
then the start-up should happen quickly.
Please take a look on this: https://www.ruby-forum.com/topic/6879129#new
This is Ruby script that was forced to EXE file via Ocra. It is quite
easy program I think. Ruby script contain Tk library.
Launching time of this EXE file is about 13-14 sec. That seems too much
for me.

Tk on Windows is slow. I think it’s down to the speed at which Ruby’s
I/O file reading works on Windows, and the sheer number of files it has
to load.

Joel P. wrote in post #1185286:

Tk on Windows is slow. I think it’s down to the speed at which Ruby’s
I/O file reading works on Windows, and the sheer number of files it has
to load.
Maybe you can advise something faster than Tk fo Windows?

In my experience, a better alternative for Windows GUI programs is C#.

Joel P. wrote in post #1185299:

In my experience, a better alternative for Windows GUI programs is C#.

Ok. Thank you

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs