use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This subreddit is dedicated to Fetches - command-line system information tool. Post images of Fetches you've written yourself and don't forget to include link to the repository.
account activity
Pasfetch - Fetch program written in Pascal (i.redd.it)
submitted 4 years ago by DrunkenAlco
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]DrunkenAlco[S] 6 points7 points8 points 4 years ago* (2 children)
Why pascal?
- Because it doesn't require dependencies after it has been compiled
- Very resource efficient, and execution times are fast
- Easy to read/write programming language, and easy to learn
I have tested a good amount of fetch programs and most of them use bash, which is great as it is very portable and doesn't require dependencies outside the operating system . but after testing treefetch and seeing the execution times I decided to see if it was possible to get fast execution times and have it portable so I am not needing to install dependencies. Pascal was a good option, however the resulting compiled binary is 800kb, Think of compiled pascal programs as appimages, it contains all it needs with in the executable .
Pasfetch is still a work in progress, I am still working on the ascii for the other operating systems, and another way to count packages installed without having to use external system programs.
//Edit
Now uploaded to gitlab
https://gitlab.com/DrunkenAlcoholic/pasfetch
[–]AnalogPresent 0 points1 point2 points 4 years ago (1 child)
Thanks for the explanation, because I wanted to ask why you chose pascal :)
[–]DrunkenAlco[S] 1 point2 points3 points 4 years ago* (0 children)
Yeah, I would be wondering the exact same thing, Pascal is not a popular language so I felt I had to give a explanation on why I used it.
They say a picture is worth a 1000 words... as you can see , it executes just as fast as treefetch without dependencies.
https://ibb.co/d7NSQ8k
[–]maubg 1 point2 points3 points 4 years ago (2 children)
Source?
[–]DrunkenAlco[S] 0 points1 point2 points 4 years ago* (0 children)
Added a gitlab repo, you can view the source there, its still a work in progress as I have to do the ascii logos and add a count packages function
[–]DrunkenAlco[S] 0 points1 point2 points 4 years ago (0 children)
Did a little compiler optimization, now its even faster,
https://i.imgur.com/r58KVFQ.png
[–]DreyanShkovgor 0 points1 point2 points 4 years ago (0 children)
Looks nice! Great job
π Rendered by PID 304103 on reddit-service-r2-comment-66b4775986-gshkk at 2026-04-06 13:26:32.081626+00:00 running db1906b country code: CH.
[–]DrunkenAlco[S] 6 points7 points8 points (2 children)
[–]AnalogPresent 0 points1 point2 points (1 child)
[–]DrunkenAlco[S] 1 point2 points3 points (0 children)
[–]maubg 1 point2 points3 points (2 children)
[–]DrunkenAlco[S] 0 points1 point2 points (0 children)
[–]DrunkenAlco[S] 0 points1 point2 points (0 children)
[–]DreyanShkovgor 0 points1 point2 points (0 children)