3,608 karma · joined Jun 9, 2011 (15y ago) · 1,202 submissions
comment 10y ago · link · parent
I also suspect many academic professions fall into this trap as well: mathematician, physicist, etc.
As a developer myself, I don't think this particular aspect is unique, instead I think it's a matter of perspective and what we value in life.
For example, many individuals if they see someone reading a phone as they're walking may look unfavourably upon them thinking something like "people glued to their phones, bleargh". However, if the same individual was walking reading a paper book instead, many would simply shrug it off as "that person is a studious individual / bookworm".
comment 10y ago · link · parent
TUF also attempts to address a set of problems that some systems don't need to solve because it isn't a need they have.
With that said, I would agree that TUF provides a great model.
comment 10y ago · link · parent
That seems highly unlikely; most regulators thus far have been (unsurprisingly) unwilling to let autonomous cars on the road without some form of manual control. Given how early we are in the technological development cycle for autonomous cars, this seems prudent and logical.
comment 10y ago · link · parent
http://www.anandtech.com/show/10325/the-nvidia-geforce-gtx-1...
But it will certainly be closer; my guess is that we're still another iteration out from running Crysis 3 at 60fps at 4k.
If you're talking about the original Crysis, I suppose that's possible -- I don't have any benchmarks handy though.
comment 10y ago · link · parent
And until recently, as another example, rust didn't quite work yet on Solaris (amd64); thankfully, a community member stepped up and has been actively working on that port.
comment 10y ago · link · parent
Are you aware of markdeep?
https://casual-effects.com/markdeep/
...support for it might be a nice addition to this project.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
My understanding is that Solaris event ports were intended to offer equivalent functionality to Windows' I/O completion ports, so this should not be surprising.
Solaris also has its own native async I/O API in addition to supporting POSIX async.
comment 10y ago · link · parent
https://blogs.oracle.com/dap/entry/libevent_and_solaris_even...
https://blogs.oracle.com/praks/entry/file_events_notificatio...
And Solaris, (unlike Linux historically at least), supports async I/O on both files and sockets. Linux (historically) only supported it for sockets. I have no idea if Linux generally supports async I/O for files at this point.
comment 10y ago · link · parent
This tends to be more obvious when you start looking at packaging, interface, or documentation where different teams responsible for providing different parts of the product provide components.
comment 10y ago · link · parent
https://casual-effects.com/markdeep/
Demo:
https://casual-effects.com/markdeep/features.md.html
Yes, I know they likely provided it for compatibility, but markdeep is just too cool to not mention.
comment 10y ago · link · parent
Architecting an operating system and its packages as a psychological forcing function to improve software development is not a worthwhile tradeoff for the efficiency, security, or reliability of a system.
Who cares about 20 megs here or there if there is only one shared library instance? Who cares about bringing in a tree of 50 dependencies for this console program if the user probably has them installed already? And thus we end up with the modern Linux desktop, where nearly everything depends on a gigabyte or more of dependencies.
I find it amusing that someone is arguing for static linking as a way to make it obvious how bloated programs are, since usually the counter-argument to dynamic linking from many is "who cares about disk space!".
There are plenty of programs that are distributed essentially statically-linked today, that still have 50 dependencies or more -- there is no data that I am aware of to support the idea that dynamic vs. static linking would encourage developers to reduce their dependencies.
Whereas with static linking, you can directly see the effect that any library you use has on the binary size. This encourages library and application devs alike to be more judicious with their dependencies.
This is a dubious argument at best; you can still easily see the size of your program today even if it's dynamically linked simply by looking at top, or by using the appropriate developer tools.
I can empathize with the frustrations that some feel in dealing with some operating systems and applications, but it is not due to a technological issue -- it is due to cultural and process issues present not only in the development of the software they rely on but in the distributions that provide the software themselves.
"papering over" those issues by static linking only makes the problem worse -- not better. This a cultural and process issue that cannot be addressed solely through technological means.
Also, I want to be clear that I am not linking against static linking completely; I'm arguing for dynamic linking (or more generally, shared objects) for those dependencies shared between a sufficient number of components that have sufficiently stable interfaces to share them.
By all means, if there is a component with a sufficiently unstable interface, then by definition, it is not appropriate for sharing between components, and at that point whether you statically or dynamically-link the dependency is moot, since you can have private dynamically-linked dependencies just as easily statically-linking them into binaries.
comment 10y ago · link · parent
Most OS linkers already do efficient loading of only the relevant portions of a shared library since they typically mmap the library file.
In aggregate, static linking the same dependency for multiple programs will increase memory usage as well despite your assertions to the contrary since the pages will not generally be shared (yes, I'm aware some OS have page dedup or compression, etc., but I'm talking about the general case here).
more things to upgrade, yes more bandwidth, yes (not much if one uses binary diffs)
A binary diff of 100 programs all linking to the same library will still be larger than the diffs for a single library.
In addition, updating 100 binaries, even with diffs still takes longer than uprating a single library, which means increased downtime during system updates.
potentially increased security risks, yes. although shared libraries are bigger security risks
Code is code; how is shared linking a greater risk? Have any data to back that up?
i made an acc just to reply to this. why do people never understand static linking ?
I understand static linking quite well, since my day job is part of a commercial OS team that coincidentally pioneered dynamic linking technology in UNIX.
So let's not base our arguments on assumptions about knowledge just because we disagree.
comment 10y ago · link · parent
I don't understand what static linking vs. dynamic linking has to do with waiting for gimp to be included in your distro?
I'm plenty of memory, storage and bandwidth but not so much of time to compile it by hand.
No one is suggesting you have to do that, but someone will have to do that, and it does require resources (time, people, hardware, etc.).
I have to admit that this is just a workaround while we find a better software release and dependency management system.
If by system, you're referring to technology, then I disagree.
In other words, the technological constraints of today's package management systems are not the primary issue, rather it is how the software itself is being developed and managed and the available resources to do so.
Ultimately though, most of this all comes about because the underlying systems that applications depend upon in a typical Linux distribution are not properly release engineered. They don't properly version the shared libraries, they don't carefully avoid incompatible changes in interfaces, and they don't have sufficient regression testing.
So to me, the right answer is to fix the root of the problem, not paper over it by pretending there isn't one by essentially embedding copies of every dependency into an application.
In short, start encouraging developers to reduce their dependency chains, properly release manage their software, ensure that core system components offer stable interfaces, and provide timely updates.
comment 10y ago · link · parent
* increased storage space
* increased memory usage
* increased downtime for updates (since more files have
to be updated)
* increased bandwidth usage (total size of download
for update)
* potentially increased security risks
In short, trading off all of the above to simply avoid proper release engineering and simplified dependency management is the wrong answer.Our systems need less downtime and better security; not the opposite, which is what static linking brings.
That's why Solaris, as an example, does not provide static archives for almost any of the components that are provided, especially libc.
comment 10y ago · link · parent
Not from a distributor's perspective ;-)
xscreensaver is X11, not GPL.
Correct, but since it is distributed as part of the system, or is a component that most users will have, then, as an example, if you link your GPL'd code to Xscreensaver's API, that's ok, because it's considered a "system library".
Really, I was referring to more for the purposes of definition than anything.
Why does a C++ ABI really matter in a system distribution?
Because ABIs create a point of synchronization, and internally for that distributor, that create a flag day where a given set of components must be rebuilt at the same time.
Ideally, for a distributor, you don't rebuild the entire world every time one component changes. You only rebuild what you have to, since every delivery causes new binaries to be produced, which then in turn increases the amount of downtime for consumers that are upgrading.
As such, changing ABIs (thankfully GCC's doesn't change as much as it used to) create unnecessary churn, and if you can easily avoid them, you usually do (as a distributor).
comment 10y ago · link · parent
As someone that helps build an operating system distribution, we consider Xscreensaver to be a system component.
Also, for licensing purposes, the GPL, as an example, considers software distributed with the system to be a system component in some scenarios. For example, "GPLv3 has adjusted the definition of System Library to include software that may not come directly with the operating system, but that all users of the software can reasonably be expected to have."
comment 10y ago · link · parent
It also means that if a user had their own Xscreensaver module, it too would be required to be using the same ABI.
In short, there's no particularly compelling advantage and a lot of disadvantages for a widely used and distributed component where you want to maximize its availability on platforms.
C++ is just a tool; it's not always the right one. The maintainer has made implementation choices to maximize compatibility and portability. You have to remember that Xscreensaver is designed to be used and executed on a wide variety of platforms, some of which are relatively old.
comment 10y ago · link · parent
As one of the maintainers of the C++ ABI for an operating system, I assure you, it is best avoided for system components unless there's a compelling justification.