6 ms·
If we see further fragmentation of cpu architectures it's not going to be fun for users and developers. Already the fragmentation of OS makes that cross platfor
by cm2187 9y ago
If we see further fragmentation of cpu architectures it's not going to be fun for users and developers. Already the fragmentation of OS makes that cross platform is a big challenge. It would make the equivalent of a .net/java/webassembly/posix critical.
- earenndil 9y agoPerhaps the solution is some form of interoperability across processors. Where they primarily run one ISA but have a dynamic converter that can based on some flag interpret memory as code from a different ISA? As chip fabbers and ISAs compete eventually a clear winner emerges and these compatibility layers are mere curiosities just like 16-bit mode on modern x86 CPUs. Except wait, maybe this is just my cynicism talking, but I have a feeling intel has the resources to just plough forward with x86 and prevent any competition from gaining a foothold in the markets where they hold dominance (laptop, desktop, server). ARM continues to dominate mobile and perhaps some small portion of servers. POWER and SPARC stay in their little niches. Perhaps RISC-V makes its way into a couple of embedded appliances. And that's it, for the foreseeable future.
- weego 9y agoInterop relies on a single standard as a benchmark and history tells us that people are incapable of being content with a standard that isn't exactly how they imagined it and would rather fragment and live and die on their own hill than play nice.
- mcny 9y agoI'm just amazed how we have two clipboards when I use Linux. Like we can't decide something so stupidly simple.
- andrew3726 9y agoWell, that's been fixed with Wayland, right?
- jwilk 9y agoHow?
- pjmlp 9y agoYou just have one. https://wiki.gnome.org/Initiatives/Wayland/PrimarySelection https://wiki.gnome.org/Initiatives/Wayland/PrimarySelection
- cesarb 9y agoI'm running on Wayland at this moment (Gnome 3 on Fedora), and just tested on the terminal. It has two: I can copy something with Ctrl-Shift-C, then select something else, then paste with Ctrl-Shift-V, then paste with middle-click; the selection didn't override what I had copied, and middle-click pasted what was selected. So you still have two, at least with Gnome 3 on Wayland.
- mkl 9y agoThe two different clipboards are fantastic! Select then middle click is one of the things I miss most on Windows, and it's really convenient that that preserves the copy-paste clipboard.
- mcny 9y agoReminds me of https://xkcd.com/1172/ https://xkcd.com/1172/ I am so glad to hear they are fixing this in wayland and there will be only one clipboard by default going forward.
- earenndil 9y ago> Interop relies on a single standard as a benchmark Not so! Imagine that each processor is made by their own company (to simplify it) and has its own ISA. Thus, processor A can emulate processors B and C, B can emulate A and C, and C can emulate A and B.
- Someone 9y agoThe ISA isn’t the biggest problem. The memory model (do I need to use memory fences here? How many different kinds of those are there?) can introduce hard to reproduce bugs. Also, relative strengths of the OS (if thread creation is relatively slow, it may not be worthwhile to multi-thread a short code fragment; one OS might have three kinds of spin locks, another only two; if there are many registers, you may need larger stacks per thread, and may want to limit the number of threads in memory-constrained devices) are bigger ones.
- tjoff 9y agoIt is generally much harder to target a another OS than to target a another CPU architecture.
- tathougies 9y agoAlmost all code today is written in languages that run in vms(java, .net), are interpreted (python, ruby, js), or easily compile across cpu architectures. Operating systems are a different story but changing the underlying ISA is really not a huge deal IME it’s harder to port to a new os than a new ISA.
- cm2187 9y agoIt may be, but from a user point of view, unless the developer targeted that architecture, you are out of luck using that software. And then you end up with “I need software 1 but it only works on OS A and cpu X and I also need software 2 that only runs on OS B and cpu Y”. We are back in the 80s!
- mcny 9y agoIs this something the distribution maintainers are supposed to track? Let's say package x is available on Debian and decisions is available on the raspberry pi. The package maintainers on Debian side are the people who compile and ship the binaries for raspberry pi, no? Are the authors involved in this at all? Or is it that the package maintainers take a more handsfree approach and only build on platforms that the authors have said the software works on?
- pjmlp 9y agoActually I liked the 80's and early 90's. Computers were sold with hardware and software designed to work together and provide a full stack experience. Not a puzzle of bits-and-pieces.
- adrianN 9y agoExcept today we have open source that can be recompiled without the author's explicit approval and we have a large collection of software that runs in some VM or other. There is also a variety of services as a software substitute that run on some cloud.
- IshKebab 9y agoA lot of code is, but are you really going to ignore C++, Go, Rust, etc? Most games are written in C++, as are most large desktop apps.
- mpweiher 9y ago> further fragmentation of cpu architectures "Fragmentation"?? We have a huge monoculture of Intel x86/x64 on the desktop, driven by Intel's fab advantage that smothered all alternative (and often superior) architectures. And recently, a second one has sprung up with ARM on mobile. And it hasn't really been good for the industry. Fortunately, the Windows monoculture in OSes has been broken, so much that MS wasn't able to extend it to mobile and has been driven to give away their OS updates. In terms of porting, CPU architecture is far less of a problem than you might think. Tiny NeXT managed to make its OS available for four CPU architectures: 68K, i386, SPARC and HP-PA, with apparently PPC and MC88K available in-house. Write Once, Run Anywhere™, all with native binaries, no intermediate layer needed. And these were processors with different endian-ness, RISC, CISC, sliding register windows, sparse register sets etc.
- em3rgent0rdr 9y agoISA fragmentation isn't much a worry for people who only run open source software. Debian is especially good at maintaining ports of tens of thousands of packages for 10 ISAs [1]. [1] https://www.debian.org/ports/ https://www.debian.org/ports/
- em3rgent0rdr 9y agoAnd they still have unofficial ports of 6 other outdated ISAs complete with Debian 9.0 net install ISOs [1]. [1] http://cdimage.debian.org/cdimage/ports/ http://cdimage.debian.org/cdimage/ports/
- anameaname 9y ago> And it hasn't really been good for the industry. Intel's problems over the past year aside, they have done an amazing job pushing the limits of computation over the past decades.
- tjoff 9y agoLast decade I'm not so sure. I bought the very first readily available consumer quad core CPU a decade ago (the Q6600), two years ago I upgraded and I had to pay a huge premium because I wanted more than four (I got six!) cores. And that is just starting to change today. Not that core count is everything but consumer desktop CPUs have stagnated quite a bit. Here's to hoping AMD stirs it up a bit.
- pjmlp 9y agoWhat further fragmentation? Do you have any experience how it was to target the home market before PCs and Windows took over it?