4 ms·
see also, "things that turbo pascal is smaller than" by james hague: https://prog21.dadgum.com/116.html https://prog21.dadgum.com/116.html
by 5- 3y ago
see also, "things that turbo pascal is smaller than" by james hague: https://prog21.dadgum.com/116.html https://prog21.dadgum.com/116.html
- jodrellblank 3y ago> "The entire Turbo Pascal 3.02 executable--the compiler and IDE--was 39,731 bytes" On my computer now, it's smaller than: - License.txt which comes with "TurboPascal (with DOSBox)" (42,044 bytes) - sqlanywhere.vim, syntax highlighting file for the SQL dialect of SQL Anywhere (41,929 bytes) - parse.py, the URL parser in Python's urllib (42,057 bytes) - doc_testing.html the Rust By Example section on writing tests in comments (42,059 bytes) - pwd.exe (print working directory) in GitHub Desktop (42,296 bytes) - WindowsExplorer.admx the XML policy file describing the available settings in Windows Explorer (42,461 bytes)
- JNRowe 3y agoI was about to say there are a good few tools smaller than that on my system, but I was one hundred percent wrong. # zsh glob for regular files that are smaller print -l /usr/bin/*(.L-39731) # Some ~500 results # Not interpreted or using system libraries file /usr/bin/*(.L-39731) | egrep -v '(script|dynamically)' # 0 results Turns out there are only smaller things if you accept big caveats.
- jasomill 3y agoAlso smaller than half the binaries in /usr/bin on my x86_64 Fedora 39 system[1] and less than half the size of every binary executable in /bin and /usr/bin on my x86_64 Mac[2] in spite of the fact that all the Linux and Mac binaries are dynamically linked to at least libc / libSystem. It's also less than half the size of Xcode's PNG-compressed Retina application icon (83,056 bytes). [1] This includes such gems as cat (40,848 bytes), tac (40,808 bytes), and tee (40,968 bytes). [2] Where even /usr/bin/true weighs in at an astonishing 100,512 bytes, despite its entire text section disassembling to pushq %rbp movq %rsp, %rbp xorl %eax, %eax popq %rbp retq
- corysama 3y agoAlso an rant on how it was so fast https://prog21.dadgum.com/47.html https://prog21.dadgum.com/47.html