this post was submitted on 16 Mar 2026
11 points (92.3% liked)

Programming

26072 readers
137 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

I wrote a minimalist fetch tool for Linux with Python programming language. Have a look: mlzfetch

you are viewing a single comment's thread
view the rest of the comments
[–] org@lemmy.org 1 points 3 hours ago (1 children)
[–] thingsiplay@lemmy.ml 1 points 2 hours ago (2 children)

neofetch is dead since years. I recommend fastfetch instead neofetch. Besides that, its not really minimalistic as this one. Also because it is written in Python and minimalistic, its easier to make changes for lot of people.

[–] org@lemmy.org 1 points 1 hour ago (1 children)

Fair, but the runtime dependency is Python.

[–] thingsiplay@lemmy.ml 1 points 1 hour ago (1 children)

As it is for Linux, I don't think that's a problem. Python is pre installed on basically all Linux operating systems.

[–] org@lemmy.org 1 points 1 hour ago (2 children)

Bash would be more efficient at this point. But you clearly like this for some reason, which is fine.

[–] TehPers@beehaw.org 1 points 52 seconds ago

Rust would be more efficient. Hand written assembly woulf be more efficient. Using butterflies to manually flip bits in the memory would be more efficient.

OP wanted to use Python. It's not a very large program. It really doesn't matter.

[–] thingsiplay@lemmy.ml 0 points 1 hour ago (1 children)

I don't believe that. In fact, neofetch is written in Bash and is known to be slow (that is why I looked at faster options). Python is not really slow. It is just a little bit slower on the starting the interpreter, but then it does not matter how fast it is. Because the thing which Python is slow is mostly math and that does not matter much for system query like this.

Did you test neofetch and this program in Python? Because you would be surprised at how fast it can be.

[–] org@lemmy.org 1 points 1 hour ago (1 children)

Did you test this program re-written as a script vs running it in Python?

[–] thingsiplay@lemmy.ml 0 points 1 hour ago (1 children)

No, but I was not the one claiming that the Bash version would be more performant. As said this is querying the system information, in which Python does basically the same job as Bash. I mean we are not comparing math.

[–] org@lemmy.org 0 points 1 hour ago (1 children)

But you’re claiming Python would be more performant. So…

[–] thingsiplay@lemmy.ml 2 points 43 minutes ago (1 children)

Dude you started this whole nonsense of Bash being more performant. I say without testing you can't make such statements. Besides that, neofetch is very slow. And do you have any Python script doing this kind of work that is slower than neofetch or do you repeat what people say without testing? I do lot of Python stuff and you would be surprised how fast it can be.

[–] org@lemmy.org 1 points 13 minutes ago (1 children)

You’d be surprised how fast not using Python can be. You say without testing too. I don’t know why you keep replying.

[–] thingsiplay@lemmy.ml 1 points 1 minute ago

my goodness welcome to the block list. so you are just trolling after all.

[–] tafabey@programming.dev 1 points 2 hours ago

Thanks for your answer.