WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Small Executables - Brian Raiter - Muppetlabs  (Read 1147 times)

Offline gadget42

  • Hero Member
  • *****
  • Posts: 789
Small Executables - Brian Raiter - Muppetlabs
« on: December 10, 2021, 03:41:09 PM »
found an interesting link while searching some old files.

http://www.muppetlabs.com/~breadbox/software/tiny/teensy.html

forum search revealed an earlier mention.

http://forum.tinycorelinux.net/index.php/topic,11335.msg59487.html#msg59487

enjoyed strolling through Brian's works via breadbox.

you can also find him on twitter(https://twitter.com/br903)

sharing is caring, ymmv.

modified: adding another link from old file(which mentioned the OP link)

http://www.phreedom.org/research/tinype/
« Last Edit: December 10, 2021, 03:52:16 PM by gadget42 »
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 801
Re: Small Executables - Brian Raiter - Muppetlabs
« Reply #1 on: December 10, 2021, 04:26:10 PM »
Hello F,

small makes sense sometimes.

What is revealing is that it can often be the case
that small apps can be "far more powerful" and sleek than counterparts at thousands
of times greater size. (bytes)  (Kilobytes)

it's quite extreme. Some recent web  browsers at near 300 to 400 megabytes....
versus web browsers i know of at 20 kilobytes.  THey literally do the exact same thing.

.......seems so

Thx
C.


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Small Executables - Brian Raiter - Muppetlabs
« Reply #2 on: December 10, 2021, 05:18:57 PM »
Hi gadget42
I'm familiar with that muppetlabs article. It is an interesting exercise in reducing a tiny program that does virtually
nothing to the smallest size possible, but that's where it ends. For the vast majority of programs, switching to
assembler is not practical. In addition, once you are dealing with a program that actually does something, its
size will make the savings from those techniques irrelevant.

Last year a thread was started on the size of executables produced by GCC and why they were getting bigger.
I created a thread that addressed that over here:
http://forum.tinycorelinux.net/index.php/topic,23623.0.html

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 801
Re: Small Executables - Brian Raiter - Muppetlabs
« Reply #3 on: December 10, 2021, 06:08:04 PM »
Hello,

Yes, techniques and such do vary.
Some operating systems (similar to Linux) are assembler
and so extremely less large.


Thx.
C.







Offline gadget42

  • Hero Member
  • *****
  • Posts: 789
Re: Small Executables - Brian Raiter - Muppetlabs
« Reply #4 on: December 11, 2021, 10:04:46 AM »
@Rich
thanks for all your wonderful efforts and insights! definitely thought-provoking!
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580