Live data from Hacker News

Someone’s Been Messing with My Subnormals

moyix.blogspot.com

1–10 of 132 posts

Re: Someone’s Been Messing with My Subnormals

#3
I ran Gentoo back in the good old days. The biggest draw was that after about a week of compiling my system ran a lot faster because of all the compiler optimisations one could enable because it only had to work on your CPU.

I might be misremembering, but I think fastmath was one of the flags explicitly warned against in the Gentoo manual.

Re: Someone’s Been Messing with My Subnormals

#7

Dynamic linking is the root of all kinds of evil, enough said.

What is the alternative here? To provide a python.so file with all possible binary Python packages statically linked into it? You'd need to update it every hour to include all the bugfixes in every native library yanked in! To recompile Python itself every time you install a package? Even with a compiler cache you'd have the Gentoo experience of waiting for ages every time you try to use the package manager.

Dynamic linking solves a real problem, especially in this space. It comes with new problems of its own but so does the alternative.

Re: Someone’s Been Messing with My Subnormals

#8
post #7

Dynamic linking is the root of all kinds of evil, enough said.

What is the alternative here? To provide a python.so file with all possible binary Python packages statically linked into it? You'd need to update it every hour to include all the bugfixes in every native library yanked in! To recompile Python itself every time you install a package? Even with a compiler cache you'd have the Gentoo experience of waiting for ages every time you try to use the package manager. Dynamic…

[deleted]

Re: Someone’s Been Messing with My Subnormals

#9

Dynamic linking is the root of all kinds of evil, enough said.

As a default (particularly an effectively mandatory default, looking at you glibc) it is indeed insane.

But for something like a Python extension it’s what we’ve got.

Which has the ancillary benefit of surfacing stuff like this.

Post reply on HN