Jump to content

Recommended Posts

Posted (edited)

Well for AutoIt 800k is the usual file size. But 800k for an Interpreter plus the script just depicts unoptimized programming (sorry *Devs). It is an unnecessary file size for a scripting language. Plus: AutoIt "executables" seem to do not meet all requirements of standard Windows PEs. UPX is atm the only packer which deals with this - no other standardized packer (like mpress, A-Pack, MEW, etc.) can compress "valid" AutoIt3 "executables" (once more in quotes :P )
 
Second: If you release a new "Stable" it needs to be stable, but you can still find major and minor bugs from previous stables and new Bugs caused by the new functions included in Beta development. BTW: The Help file is buggy, too. Some functions are missing completely.
 
Isn't ment to sound too harsh. Just my 2ct.
 
Oh and...

  Quote

If you want the smallest possible executing  programs you'll need to learn to write in binary which no one does.
If you want number 2 on the list you will have to go with assembly.


Thats just plain wrong. You can jsut use any compiled language you want, using plain assembly won't make your program magically smaller neither does it make your development easier. Just look what's possible in 64k with C++: http://www.pouet.net/prod.php?which=25774 (you can get the Sourcecode online).

Edited by minx

I will answer every single PM, and you are free to ask anything anytime.

  • Developers
Posted

  On 12/28/2013 at 6:06 PM, minx said:

Isn't ment to sound too harsh. Just my 2ct.

 

Wondering what you have contributed during its 1 year of Beta stage to improve this?

Just my 2 cents.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted (edited)

Didn't say I did. (However, I'm not an AutoIt Developer and couldn't possibly have changed anything) AutoIt's a great language.You can get more elaborate solutions in shorter time with it than in other languages (like C++ etc.), but regarding size and compatibility it has its issues  o:)

// Jus to clear that: I'm okay with the size of AutoIt - doesn't matter anymore if your HDDs are TB-sized ;)

Edited by minx

I will answer every single PM, and you are free to ask anything anytime.

  • Developers
Posted (edited)
  On 12/28/2013 at 6:28 PM, minx said:

Didn't say I did. (However, I'm not an AutoIt Developer and couldn't possibly have changed anything) AutoIt's a great language.You can get more elaborate solutions in shorter time with it than in other languages (like C++ etc.), but regarding size and compatibility it has its issues  o:)

// Jus to clear that: I'm okay with the size of AutoIt - doesn't matter anymore if your HDDs are TB-sized ;)

whatever .. The thing is that it is so damn simple to have an opinion and making statements without truly knowing what is happening and then say that you don't want to be harsh but just give your 2 cents worth.

Maybe it would have been more polite to simply STFU, but hey,  that's just my opinion ... and I even haven't done any programming for AutoIt3 so don't feel personally attacked at all.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

I still remember I have an argument with a friend about 1 year + ago, he mention a compiled script(no matter what language use) exe filesize must be smaller than 100KB+(cant remember actual figure the argument about).

But now, he doesnt even complaint when an exe filesize exceed 5mb, he now tell me its normal. 

I was like what the heck is the difference between now and 1 year ago.

Posted
  On 12/28/2013 at 6:28 PM, minx said:

 (However, I'm not an AutoIt Developer and couldn't possibly have changed anything) 

Neither do I, or AZJIO or mlipok or Melba23 or any of the MVPs or anyone actually apart from Jon, but submitting bug reports, making suggestions and just being a positive user is how you can contribute to AutoIt. Shame really.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted (edited)
Personally, I do not use UPX some time.
Mainly because the AV software need more time to check this compressed exe file.
 
EDIT:
and somehow I do not complain of lack of space, despite the fact that my program mostly after compiling reach the size of 1.8 MByte
Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)
  On 12/29/2013 at 1:45 AM, DouglasPowers said:

I'm surprised nobody is complaining it is taking up to much room on their floppies. :rolleyes:

attachicon.giffloppy 1.png

 

 

 

visual gag added.

 

I've actually stored a few of my scripts on floppies. I put all the scripts into a single UPX'd CUI, and when space is REALLY low, I'll even compress in a .zip

This saves space by:

  • Not including GUI functions - IIRC, don't hold me to this, I haven't needed to do this in about 6 months
  • Not having multiple interpreters / functions - Instead of an interpreter and all the default included functions in each compiled exe there's only one!

 

If you want to save an additional few kilobytes:

  1. Compile the script without UPX
  2. Strip out or Blank all unused resources with a resource editor (Icons {It's a CUI, why do you need icons?}, Menus {This contains the DEFAULT tray icon menu which you shouldn't need if running a CUI}, String Tables {This contains all the error messages for the interpreter, which shouldn't pop-up with proper coding}, and Icon Groups {Same reason as Icons})
  3. Compress with UPX

 

Back story on floppies:

I was working on my Grandparents machine, which apparently somehow still had some nasty malware on it before they decided to get rid of their internet access. It was an old machine too (Windows XP, 128MB RAM, Single Core) It had no working USB ports and they had broken the disk drive by using it as a cup holder. Leaving the only way to get any tools on their pc was through floppies. I spent a few hours transferring files over by floppies and since most of anti-malware tools were larger than floppies, I had to improvise with Autoit to stop the execution of many as I could.

In hindsight, I probably could have installed 7zip on their machine and just .rar'd everything over and I'm pretty sure there's still some traces of the malware somewhere in their computer.

Edited by rcmaehl

My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.

My Projects

WhyNotWin11
Cisco FinesseGithubIRC UDFWindowEx UDF

 

  • Moderators
Posted
  On 12/28/2013 at 6:28 PM, minx said:

Didn't say I did. (However, I'm not an AutoIt Developer and couldn't possibly have changed anything)

 

I'll never understand those who won't expend the effort to try to make the language better with testing or suggestions, but will expend endless amounts of energy mewling about how they don't like the end result.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted (edited)

The only thing HUGE in AutoIt, is the large community of appreciative users.

*drops the mic and walks off stage.*

Edited by guinness

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted
  On 12/29/2013 at 11:15 PM, guinness said:

The only thing HUGE in AutoIt, is the large community of appreciative users.

*drops the mike and walks off stage.*

 

It's a mic, not a mike, and they cost lots of money. If you want to reduce the size there's nothing stopping you. I also have some floppies for sale. :)

Posted

Not huge.

More UDF's are required.

Let the setup size be > 50 MB.

:sorcerer:

K L M
------------------
Real Fakenamovich
------------------
K L M
------------------
Real Fakenamovich
------------------

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...