Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

Why not migrate Portage to C language?

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Post Reply
  • Print view
Advanced search
162 posts
  • Page 7 of 7
    • Jump to page:
  • Previous
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7

Would you like to see Portage rewritten in C?

Yes
78
45%
No
40
23%
Don't care
56
32%
 
Total votes: 174
Your vote has been cast.

Author
Message
Goverp
Advocate
Advocate
User avatar
Posts: 2402
Joined: Wed Mar 07, 2007 6:41 pm

  • Quote

Post by Goverp » Tue Nov 18, 2025 4:00 pm

Oh, come now, surely it's time for a Rust emerge. :-)
Greybeard
Top
dmpogo
Advocate
Advocate
Posts: 3713
Joined: Thu Sep 02, 2004 9:21 pm
Location: Canada

  • Quote

Post by dmpogo » Tue Nov 18, 2025 4:13 pm

Goverp wrote:Oh, come now, surely it's time for a Rust emerge. :-)
I was just coming to say that as long as it is not Rust ...
Top
pun_guin
Apprentice
Apprentice
Posts: 261
Joined: Tue Feb 06, 2018 8:17 am

  • Quote

Post by pun_guin » Wed Nov 19, 2025 12:45 am

I'm positive Lisp will survive Rust.
I already use the new Genthree.
Top
fpemud
Guru
Guru
Posts: 368
Joined: Wed Feb 15, 2012 7:00 am

  • Quote

Post by fpemud » Wed Nov 19, 2025 1:19 am

The portage command itself is only a frontend and doesn't need to be written in C.
The core logic should reside in a well-designed library, or a set of libraries where each implements a specific subfunction. This core could be developed in C.
This architecture naturally allows for multiple frontends (with the portage command itself being one) to be developed in any language.
Top
pjp
Administrator
Administrator
User avatar
Posts: 20668
Joined: Tue Apr 16, 2002 10:35 pm

  • Quote

Post by pjp » Wed Nov 19, 2025 5:56 am

pun_guin wrote:Common Lisp can outperform C
Is there anything meaningful written about that? I'm genuinely interested. Or is it "under certain workloads" or limited things no one does? :)
Quis separabit? Quo animo?
Top
flexibeast
l33t
l33t
Posts: 680
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Wed Nov 19, 2025 6:18 am

pjp wrote:
pun_guin wrote:Common Lisp can outperform C
Is there anything meaningful written about that? I'm genuinely interested. Or is it "under certain workloads" or limited things no one does? :)
The following is in some sense "perform comparably to" rather than "outperform", but Tim Bradshaw has just written a blog post ("The lost cause of the Lisp machines") which in passing says:
The most important thing is that we have good stock-hardware Lisp compilers today. As an example, today’s CL compilers are not far from CLANG/LLVM for floating-point code. I tested SBCL and LispWorks: it would be interesting to know how many times more work has gone into LLVM than them for such a relatively small improvement. I can’t imagine a world where these two CL compilers would not be at least comparable to LLVM if similar effort was spent on them.
and in a footnote to that says:
If anyone has good knowledge of Arm64 (specifically Apple M1) assembler and performance, and the patience to pore over a couple of assembler listings and work out performance differences, please get in touch. I have written most of a document exploring the difference in performance, but I lost the will to live at the point where it came down to understanding just what details made the LLVM code faster. All the compilers seem to do a good job of the actual float code, but perhaps things like array access or loop overhead are a little slower in Lisp. The difference between SBCL & LLVM is a factor of under 1.2.
https://wiki.gentoo.org/wiki/User:Flexibeast
My most recent wiki contributions
Top
pa4wdh
Veteran
Veteran
Posts: 1015
Joined: Fri Dec 16, 2005 6:55 pm

  • Quote

Post by pa4wdh » Wed Nov 19, 2025 8:18 am

Goverp wrote:Oh, come now, surely it's time for a Rust emerge. :-)
That would sure make me start searching for a different distro ;-) ... i mean, the command emerge rust is already bad enough, but emerge written in rust is just hell on earth in my opinion :-).

Nice joke: The feature to remove rust in Gentoo is actually called WD-40 :lol: : https://wiki.gentoo.org/wiki/WD-40
The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world

My shared code repository: https://code.pa4wdh.nl.eu.org
Music, Free as in Freedom: https://www.jamendo.com
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56083
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Nov 19, 2025 9:34 am

pa4wdh,

I've been doing it wrong all these years!
I use an angle grinder, MiG welder and sheet steel. :)
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
pun_guin
Apprentice
Apprentice
Posts: 261
Joined: Tue Feb 06, 2018 8:17 am

  • Quote

Post by pun_guin » Wed Nov 19, 2025 10:13 am

pjp wrote:Is there anything meaningful written about that? I'm genuinely interested. Or is it "under certain workloads" or limited things no one does? :)
As Debian's benchmarkgame seems to have been erased from the net, most meaningful things are code examples:
https://stackoverflow.com/questions/349 ... ler%20flag.

TL;DR: You can compile both C and Lisp with and without optimisations. (Chances are that Lisp's optimisations are more portable though, given that SBCL compiles to bytecode.)
I already use the new Genthree.
Top
pa4wdh
Veteran
Veteran
Posts: 1015
Joined: Fri Dec 16, 2005 6:55 pm

  • Quote

Post by pa4wdh » Wed Nov 19, 2025 2:22 pm

NeddySeagoon wrote:pa4wdh,

I've been doing it wrong all these years!
I use an angle grinder, MiG welder and sheet steel. :)
This makes me curious to see what those tools can do with an evil piece of software :-)
... on the other hand, we can always just print it's source code and we'll be quite sure about what they can do :wink:
The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world

My shared code repository: https://code.pa4wdh.nl.eu.org
Music, Free as in Freedom: https://www.jamendo.com
Top
Banana
Administrator
Administrator
User avatar
Posts: 2386
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Fri Jan 09, 2026 8:36 am

Splitted a discussion into introducing grpm since it diverged from the OP.
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
sam_
Developer
Developer
User avatar
Posts: 2816
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Fri Jan 09, 2026 9:07 am

Goverp wrote:Oh, come now, surely it's time for a Rust emerge. :-)
Enter pkgcraft: https://wiki.gentoo.org/wiki/Pkgcraft
Top
Post Reply
  • Print view

162 posts
  • Page 7 of 7
    • Jump to page:
  • Previous
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7

Return to “Gentoo Chat”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic