DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Some questions abt coders  (Read 11,556 times)

mahesh2k

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,426
    • Participated in NANY Challenge Twice
Some questions abt coders
« on: April 18, 2007, 02:23 PM »
Hi
I have some questions for you.

1) I want to know how u guys write such small utilities that are less than 1MB.Sometimes it includes even the installers.

2) Which programming language you use to develop the software or small utilities? whihc IDE?Please explain in brief.


thanks in advance.please answer my queries.

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • Participated in NANY Challenge Eight Times
    • Programming School - Deluxe Bonus Medal
    • Programming School - Stage 1 Medal
    • Coding Snacks
    • Military Service Badge - US Army
    • Writer
Re: Some questions abt coders
« Reply #1 on: April 20, 2007, 01:47 AM »
I'm not sure where you're coming from with this, but I'll give it a shot:

The overheard added to an application by wrapping it in an installation has grown smaller in recent years.  In one recent article somewhere here on the site, someone was talking about a freeware installer that claimed, if I recall correctly, to add less than 100 Kb.  I'm not sure what sort of utility programs you're referring to, but there are many, many useful programs well under 1 Mb in size even counting the installer.
Win 10 Pro running on a 3.2 GHz CPU and 12 Gb RAM
__________________________________________

Proofreading Service: http://williammillerservices.com/proofreading

db90h

  • Coding Snacks Author
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 481
    • Coding Snacks
    • Military Service Badge - US Army
    • Linux User
Re: Some questions abt coders
« Reply #2 on: April 20, 2007, 02:38 AM »
1. Developing native code in C/C++ usually results in size optimal executables. In contrast, using Visual Basic or some other high level IDE results in less efficient executables. The trade off is ease of programming (or learning to program) versus size and speed optimality.
2. Most small executables are compressed with an executable packer like PECompact or UPX. This reduces the physical size by usually 60-80%.

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • Participated in NANY Challenge Eight Times
    • Programming School - Deluxe Bonus Medal
    • Programming School - Stage 1 Medal
    • Coding Snacks
    • Military Service Badge - US Army
    • Writer
Re: Some questions abt coders
« Reply #3 on: April 20, 2007, 03:11 AM »
If you decide to try compressing your executables, I recommend PECompact for C# applications.  UPX doesn't care for .NET too well  :-\
Win 10 Pro running on a 3.2 GHz CPU and 12 Gb RAM
__________________________________________

Proofreading Service: http://williammillerservices.com/proofreading

mahesh2k

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,426
    • Participated in NANY Challenge Twice
Re: Some questions abt coders
« Reply #4 on: April 20, 2007, 08:45 AM »
Thanks for the compressions question. Do these softwares are designed in Autohotkey or something else? which IDE or compiler is used to create these softwares? How & where can i look in order to create rich small apps like one skrommel did?

Another question is there any tool that works like autohotkey and is cross paltform.
« Last Edit: April 20, 2007, 08:46 AM by mahesh2k »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Some questions abt coders
« Reply #5 on: April 20, 2007, 08:53 AM »
Quote
Another question is there any tool that works like autohotkey and is cross paltform.

now that is a good question!!

you might look into something like python.

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,888
    • Participated in NANY Challenge Six Times
    • Coding Snacks
    • Gathering Badge
    • Cody Award
    • Volunteers/Staff
Re: Some questions abt coders
« Reply #6 on: April 20, 2007, 08:55 AM »
skrommel uses autohotkey...but not all of us do.

I use Delphi...some use C/C++...some use something else.

TucknDar

  • Advanced coder of Nowt
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
Re: Some questions abt coders
« Reply #7 on: April 20, 2007, 09:03 AM »
Quote
Another question is there any tool that works like autohotkey and is cross paltform.

now that is a good question!!

you might look into something like python.
this could possibly be a place to start looking. I know it's for windows, but it's in python: pywinauto -> http://www.donationcoder.com/forum/index.php?topic=7971.0

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,888
    • Participated in NANY Challenge Six Times
    • Coding Snacks
    • Gathering Badge
    • Cody Award
    • Volunteers/Staff
Re: Some questions abt coders
« Reply #8 on: April 20, 2007, 09:05 AM »
Another question is there any tool that works like autohotkey and is cross paltform.

Might want to take a look at tcl/tk.

mahesh2k

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,426
    • Participated in NANY Challenge Twice
Re: Some questions abt coders
« Reply #9 on: May 20, 2007, 03:54 PM »
What do u think abt QT is it worth to learn it?

mitzevo

  • Control is power
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 462
    • Linux User
    • Furry Fandom Badge - Furry Fandom
Re: Some questions abt coders
« Reply #10 on: May 30, 2007, 03:56 AM »
Let me give you some direction.. (my own opinions)

Learn C/C++ for system based coding.
php for web based coding
..
and you're all set
The clock is running. Make the most of today. Time waits for no man. Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why it is called the present.

SkyIDE

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 245
    • Participated in NANY Challenge Once
Re: Some questions abt coders
« Reply #11 on: May 31, 2007, 02:05 AM »
Executable's size also depends on the type of linking you use.

Static linking where all code from external libs is compressed into the executable or dynamic linking where the code is not compressed and it requires you to include the libs in order for the program to run properly .

If you use static linking, the size of the EXE will be greater because all of the required code is compiled into the EXE itself.

If you use dynamic linking, the size of the EXE will be a lot smaller BUT you will need to make sure the end user has got the required libs installed or your program will fail to load. Dynamic linking will also make the program execute faster.

Regarding QT, I've used it before..ages ago. I used it with KDevelop. QT is just a toolkit that draws the GUI and does some processing. Personally, I find QT very easy to use. Easier than Microsoft's MFC for sure. I haven't used it since KDE 1.2 however....

If you have time to learn it then getting some extra knowledge never hurts but you must be confident in C++ first...
« Last Edit: May 31, 2007, 02:13 AM by SkyIDE »

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Some questions abt coders
« Reply #12 on: May 31, 2007, 08:39 AM »
As for small installers, check out nullsoft NSIS. It's slightly tricky to get into, but it's pretty powerful and very very small overhead. I've even seen commercial games using it for their installers.
- carpe noctem

SkyIDE

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 245
    • Participated in NANY Challenge Once
Re: Some questions abt coders
« Reply #13 on: May 31, 2007, 09:37 AM »
I haven't used this one but there is another "Inno Setup". I am not sure how small it is but I've seen a lot of programs using it.

Original address: https://www.donationcoder.com/forum/index.php?topic=8159.0