Live data from Hacker News

Gentoo goes Binary

gentoo.org

201–210 of 285 posts

Re: Gentoo goes Binary

#201

Disclaimer: I am a die-hard Gentoo fan. The appeal of Gentoo is not compiling everything from source, it's having the freedom to install anything you want on nearly any hardware all with stellar documentation and minimal roadblocks. Want to run Enlightenment with OpenRC and NetworkManager on a laptop from 2008? Install Gentoo! Want ZFS as root on a smart refrigerator? Install Gentoo! Want a vanilla Gnome + SystemD in…

I can't install Gentoo, specifically, the part where I have to install a BIOS or UEFI grub2 bootloader. No I did not use a musl and / or clang profile. With this being my first impression, unless Gentoo or a downstream fork comes with a installer, I won't consider it.

I'm going to install Solus OS / Solus Linux soon, had a good first impression with it's package manager, which claims to be reproducible but not like nix or guix are.

Re: Gentoo goes Binary

#202

Disclaimer: I am a die-hard Gentoo fan. The appeal of Gentoo is not compiling everything from source, it's having the freedom to install anything you want on nearly any hardware all with stellar documentation and minimal roadblocks. Want to run Enlightenment with OpenRC and NetworkManager on a laptop from 2008? Install Gentoo! Want ZFS as root on a smart refrigerator? Install Gentoo! Want a vanilla Gnome + SystemD in…

I can't install Gentoo, specifically, the part where I have to install a BIOS or UEFI grub2 bootloader. No I did not use a musl and / or clang profile. With this being my first impression, unless Gentoo or a downstream fork comes with a installer, I won't consider it. I'm going to install Solus OS / Solus Linux soon, had a good first impression with it's package manager, which claims to be reproducible but not like n…

What part is failing? Do you see the grub bootloader or is it failing before that?

If you do systemd (which is what I'm using), then you might look at systemd.boot for UEFI. That's currently what I'm using.

I ask, because one issue I ran into was messing up the kernel config. Pulling the livecd config in and using that as the base config worked for me.

Re: Gentoo goes Binary

#203
post #167

Earlier quoted context omitted.

> Games are already optimized. Yeah, I'm calling bullshit on this one. At least, it doesn't line up with my experience. In my experience, games are optimized _just enough_ for a decent playing experience (and not always then). Games devs, as a whole, are the worst offenders of expecting their users to just throw more money (hardware) at the software to achieve usable/enjoyable experiences. There are, of course, excep…

I have heard of people recompiling the kernel to improve gaming performance (mostly to use a different scheduler or what be it), but don't recall seeing anything beyond single digit percentage improvements in performance. Which makes sense, since you can only recompile the kernel and a subset of open source libraries that the game may use. Those are going to be fairly well optimized to start with. The games themselve…

I'll be the first to admit that I'm not a game developer and my exposure to commercial games' source has been very limited. The most exposure I've had was to Civ4 due to Firaxis releasing the source for the core game DLL for modding. Civ4 also used Python for scripting and Python (undeservedly, here) gets the blame for the game being slow, especially during late-game play.

Back in the day, I spent a fair amount of time working on gutting the DLL because frankly, it was atrocious. My memory is a little fuzzy as it's been +10 years since I've looked at it, but things I remember seeing:

* over use of C/C++ preprocessor macros where an inline function would have been more appropriate to say, get the array/list of CvPlots (tiles) that needed to be iterated over all the time. * lack of hoisting loop invariants out of loops. It is common to see usages of the non-trivial macros above in the bodies of tight loops, often tight nested loops. Optimizing compilers are great, but they're not _that_ great. * the exposure of the C++ types to Python was done...poorly. It was done using Boost Python (which, while a great library for its day had a _huge_ learning curve). For every Cv type in the C++ DLL, there was a corresponding Cy type to expose it to Python. Collection types were _copied_ every call into Python code, which was quite frequent. The collections should have been done as proxies into the underlying C++ collections, instead of as copies.

Most of the changes I made were quite small, but over the course of a month of part-time hacking on it, I'd gotten late game turns down to a couple of minutes from 30-minutes and memory usage was extremely reduced; and I never did get around to fixing the Python wrapper as it would have too intrusive to fix it properly. I could have made more aggressive changes if I had full access to the source, but being constrained by DLL boundaries and C++ types being exported limited what could be done w/o breaking the ABI (had to be extremely careful about not changing object sizes, affecting vtable layout, etc).

Frankly, I doubt the developers spent very much time at all, if any, with a profiler during the course of development with the game.

Re: Gentoo goes Binary

#204
post #55

Earlier quoted context omitted.

Only on HN could any state that Gentoo was ever in be reflected upon as "just worked like a breeze" unironically and I mean that in a fond, loving way.

You could start from a later stage, I think they had a mostly binary stage 3, and emerge was generally solid, albeit slower due to the compilations. So at least once upon a time (10+ years ago) there was this option of just using it as almost another regular distribution. Slackware on the other hand... (I say this is in a bad way, and I think it's changed since; for Slackware for anything more complex you had to mana…

I have this botched up Debian desktop installation that I rarely use but never quite got around to make a clean install because I need an installation medium for that and i don’t have usb sticks anymore.

Do change root installs still work? I would probably give it a try again.

Re: Gentoo goes Binary

#206

I shudder to think how many sky high electricity bills and greenhouse gases were released to needlessly compile the same software over and over again.

Not to mention the wastefulness of general purpose CPUs. Most computer use is in the browser, why don’t we have a Firefox ASIC yet?

[dead]

Re: Gentoo goes Binary

#207
> If you use useflag combinations deviating from the profile default, then you can’t and won’t use the packages

so.. they are basically never going to be used then? It has been a while since I run Gentoo, but I remeber USE flags to be the most useful and fun features of Gentoo, giving it the power other distributions cannot hope to match. I cannot imaging running Gentoo with default USE flags, might as well switch to debian in this case.

Re: Gentoo goes Binary

#208
post #184

Earlier quoted context omitted.

I feel like the Gentoo userbase has been stolen in part by Arch these days.

The one place Arch still is fairly opinionated compared to Gentoo is being all-in on systemd. That's not to say you _can't_ remove/replace it, and obviously there are Arch-like distros that give other options, but my sense is that GP's comment about Gentoo's draw being completely agnostic to whatever configuration you want makes Arch having even a single strong opinion feel pretty different to users who care about th…

I wouldn't say systemd is the "one place" where Arch has an opinion. Quite the opposite, Arch is just as opinionated as the average distro. On Void Linux you can choose between musl and glibc, on Arch you're forced to use glibc. On Gentoo you can choose your init system, on Arch you're forced to use systems. On Debian you can have `/bin/sh` be any POSIX shell, on Arch you're forced to have it be Bash. On nixOS you can choose between rolling and normal release, on Arch there's only a rolling release. I can't really think of anything you can customize on Arch that you can't configure on most distros, but perhaps I'm missing something.

Re: Gentoo goes Binary

#209

Earlier quoted context omitted.

>while other distributions have been actively removing one's freedom to choose I think that's a bit unfair. Everyone wants to support everything, but at the end of the day if you want to guarantee security and maintenance and do the job of a distribution you have limited resources on what you can look after. Something always has to give. On any Linux distribution anyone can install what they want, but what you can ge…

Perhaps I was being overly harsh. That being said, there is a certain philosophy of non-intervention which gives Gentoo a sense of freedom that other distributions lack. It’s not only about diverse support, it’s about allowing the user to choose upfront. Arch does this as well (mostly). It’s easy to choose your own bootloader, WM/DE, audio server, and etc. I just think that Gentoo takes this philosophy one step furth…

> there is a certain philosophy of non-intervention which gives Gentoo a sense of freedom that other distributions lack.

While I was untangling update dependencies one day I had it uninstall libc. There was a big warning advising me not to do that, but it was allowed.

Everything broke immediately, of course, but I recovered the system and the dependency problem really had been fixed, too!

This gave me a permanent positive impression of Gentoo. It's better to be allowed to do things than not.

Re: Gentoo goes Binary

#210

Disclaimer: I am a die-hard Gentoo fan. The appeal of Gentoo is not compiling everything from source, it's having the freedom to install anything you want on nearly any hardware all with stellar documentation and minimal roadblocks. Want to run Enlightenment with OpenRC and NetworkManager on a laptop from 2008? Install Gentoo! Want ZFS as root on a smart refrigerator? Install Gentoo! Want a vanilla Gnome + SystemD in…

I feel like the Gentoo userbase has been stolen in part by Arch these days.

I use arch btw
Post reply on HN