News for hackers. Stuff that matters.
Re:The PC is not dead, we just don't need new ones by fiatmoney on Thursday October 24, 2013 @12:49PM (#6606308)
"For what" is the obvious question. Web development with a remote testing environment, office applications, email, web browsing - sure, a Core 2 Duo is more than good enough if your software environment is kept in order. Audio / video / photoshop, gaming, developing software that does math, data analysis - you can never get fast enough.

The limiting factor is if your computer's feedback loop is tighter than your brain's perception loop. If you can type a letter and the letter appears, your computer is fast enough for word processing. But, if you can run a data analysis job and it's done before you release the "enter" key, it just means you should really be doing better analyses over more data. Certain use cases grow like goldfish to the limits of their environment.

Re:The PC is not dead, we just don't need new ones by georgemcbay on Thursday October 24, 2013 @01:53PM (#6606737)
Even with gaming there isn't as much of a push as there used to be to constantly be on the cutting edge. This is mostly do to the fact that the industry as a whole focuses primarily on consoles first now and thus consoles tend to be the gating "LCD" target. If your PC is at least as good or a little bit better than a console released in 2005 or 2007 you're set. Of course, there will soon be a bump forward here with the next gen Xbox and Sony systems coming out in a month.

I fit into a lot of the special cases here: Developer, gamer, amateur photographer with many gigabytes of RAW files and even I don't feel the need to upgrade systems like I used to. Now it is about an every 3-4 year thing whereas previously it was yearly or more.

Re:The PC is not dead, we just don't need new ones by carterschonwald on Thursday October 24, 2013 @01:00PM (#6606394)
Emphatic agreement. I wind up helping folks a lot with writing high performance software, and it's very easy to get to the point where the time to run a model is totally determined by how fast the CPU and IO are. I'm talking problems where naively written C would take an hour, but if I'm careful and use some blend of very clever c or Haskell, the computation is done in 2-5 minutes
Re:The PC is not dead, we just don't need new ones by x0x0 on Thursday October 24, 2013 @03:45PM (#6607450)
in machine learning, as soon as you stop using linear models which are normally quite fast to compute, models will be as slow as you can tolerate.

for example: random forest, gradient boosting, gam, etc -- you will typically do parameter searches and the models you get are as good as your willingness to wait. Good software will run at a significant fraction of memory bus speed and the faster that bus goes the better your models will be.

Re:The PC is not dead, we just don't need new ones by carterschonwald on Thursday October 24, 2013 @04:50PM (#6607862)
exactly! This winds up being a memory locality / layout problem often times!

eg: most CPU memory traffic is in "cachelines" size chunks so you're best off trying to organize information so you can use all bandwidth! I've a few ideas on this i'm trying to bake into an array/matrix library i hope to release soon. :)

Re:The PC is not dead, we just don't need new ones by awef on Thursday October 24, 2013 @01:41PM (#6606663)
What kind of problems are those? I would love to find problems, ultimately examples, where smart Haskell and c blends are superior to pure c.
Re:The PC is not dead, we just don't need new ones by dikei on Thursday October 24, 2013 @02:15PM (#6606883)
It's not neccesarily which language is faster, but the which algorithm is faster. He said naively written C, which mean the algorithm may be entirely different and run in O(n2) and much slower than a Haskell version which use a different algorithm and run in O(nlogn).
Re:The PC is not dead, we just don't need new ones by carterschonwald on Thursday October 24, 2013 @04:19PM (#6607684)
actually in the specific example I'm thinking about, i'm talking about memory locality being the performance difference (and in this case, array layout for matrix multiplication).

The naive obvious "dot product" matrix mult of two Row Major matrices is 100-1000x slower than somewhat fancier layouts, or even simply transposing the right hand matrix can make a significant difference, let alone more fancy things.

Often the biggest throughput bottleneck for CPU bound algorithms in a numerical setting is the quality of the memory locality (because the CPU can chew through data faster than you can feed it). Its actually really really hard to get C / C++ to help you write code with suitably fancy layouts that are easy to use.

Amusingly, I also think most auto vectorization approaches to SIMD actually miss the best way to use SIMD registers! I've actually some cute small matrix kernels where by using the AVX SIMD registers as a "L0" cache, I get a 1.5x perf boost!

Re:The PC is not dead, we just don't need new ones by dikei on Friday October 25, 2013 @04:10AM (#6610355)
This is like replacing the compiler optimizer algorithm with your own, similar to the method of writing critical function in Assembly, right?

Still I don't see the connection to Haskell, can you elaborate ?

Re:The PC is not dead, we just don't need new ones by carterschonwald on Saturday October 26, 2013 @03:33AM (#6616696)
oh, thats just me rambling about why i don't trust compiler autovectorization :)

well: 1) i've been slowly working on a numerical computing / data analysis substrate for haskell for over a year now.

2) the haskell c ffi is probably the nicest c ffi you'll ever see. Also pretty fast, basically just a known jump/funcall! And no marshaling overhead too!

3) theres a lot of current and pending over the next year work to make it easy to write HPC grade code using haskell. Some approaches involve interesting libs for runtime code gen (the llvm-general lib for haskell is AMAZING).

Theres also a number of ways where ghc haskell will likely get some great performance improvements for numerical code over the next 1-2 years! (i've a few ideas for improving the native code gen / SIMD support over the next year that I hope to experiment with as time permits)

Re:The PC is not dead, we just don't need new ones by awef on Thursday October 24, 2013 @02:26PM (#6606960)
Right, I read 'naively' as 'natively'. Carry on!
Re:The PC is not dead, we just don't need new ones by carterschonwald on Friday October 25, 2013 @12:44AM (#6609805)
to answer your question

just plain ole mathematical modeling / machine learning, and associated duct taping the tubes.

I am also going to be releasing the start of a "Numerical Haskell" tool chain sometime (hopefully this fall, but life happens and all that jazz)

Re:The PC is not dead, we just don't need new ones by shocks on Thursday October 24, 2013 @01:57PM (#6606767)
Your problems sound interesting. Could you elaborate?
Re:The PC is not dead, we just don't need new ones by carterschonwald on Friday October 25, 2013 @12:43AM (#6609804)
just plain ole mathematical modeling / machine learning, and associated duct taping the tubes.

I am also going to be releasing the start of a "Numerical Haskell" tool chain sometime (hopefully this fall, but life happens and all that jazz)

Re:The PC is not dead, we just don't need new ones by JVIDEL on Thursday October 24, 2013 @01:04PM (#6606429)
In what planet? I'm not even going to use myself as an example because I do other heavy stuff with my PC, I'm going to use my non-tech friends: one of them got a new laptop with 8GB of RAM, why? because she was complaining about webapps using too much memory and slowing down her previous system.

Regular users don't know or care about memory management, they don't even close old windows or tabs, its about convenience. That's not a problem in mobile where the need is the mother of invention so mem management is automatic and chrome reopens the tabs you had by itself, but in a desktop environment (specially windows) one wrong click and the session restore in chrome wipes your previous session.

But it was cheap, cheaper than an unlocked iphone and it gets the job done so its ok for her.

Re:The PC is not dead, we just don't need new ones by asveikau on Thursday October 24, 2013 @01:31PM (#6606601)
> one of them got a new laptop with 8GB of RAM, why? because she was complaining about webapps using too much memory and slowing down her previous system.

I suspect a few people on HN will be reluctant to see their role in this arrangement. ducks

Re:The PC is not dead, we just don't need new ones by B-Con on Thursday October 24, 2013 @02:53PM (#6607131)
Don't duck, it's the truth.

We built really powerful computers and decided the best way to use them was to run web apps consisting of a poor performance scripting language with a poor performance visual-rendering language and half the people who build with it seem to think that anything done in a web browser is free.

"Modern" CSS for even a simple site is pretty silly. So many horribly inefficient rules, sometimes dozens of levels of overwriting properties, etc. And gobs upon gobs of Javascript that does very little but is constantly running, checking input boxes, animating every tiny little detail, doing things that can be done without Javascript, etc.

I have better system performance when running a Windows 7 VM, a semi-bulky image editor, or compiling the kernel than I do with a few bulky webapps in Firefox. And this is on a desktop built just 4 years ago.

I have a light-weight Linux setup that uses 80MB of RAM after logging in. It has 1GB of RAM. I can't run GMail and Facebook Firefox and browse the Internet at the same time with minimal open tabs. It's sad.

Re:The PC is not dead, we just don't need new ones by asveikau on Thursday October 24, 2013 @03:04PM (#6607196)
It's not like it's constrained to the web either. I had a bit of an epiphany about the state of desktop Windows a few years ago when for a hobby project I wrote a UI using only Win32 and C and no external dependencies. Maybe it took longer to write than it should have but I was really shocked at how the thing ran so much faster and smoother than just about any UI I was using on that machine. It dawned on me that all those layers of MFC, WinForms, WPF, Silverlight, WinRT and whatever else they'll come up with in the name of developer productivity are no match for a set of APIs designed to run at 25MHz with 8MB of RAM.
Re:The PC is not dead, we just don't need new ones by mwcampbell on Thursday October 24, 2013 @07:43PM (#6608856)
This is believable, but I'd like to dig a little deeper. Do you remember which Windows apps you were comparing yours against? And on what version of Windows?
Re:The PC is not dead, we just don't need new ones by asveikau on Thursday October 24, 2013 @09:31PM (#6609231)
This was Windows 7, I am pretty sure with dwm disabled, and it was comparing (albeit informally) against every Windows app I used at the time.

I know that some newer frameworks take advantage of GPU features (actually I used to work as a dev in the Windows org) but guess what, GDI is still faster.

Re:The PC is not dead, we just don't need new ones by ProNihilist on Friday October 25, 2013 @04:57AM (#6610474)
This is why I still use Winamp, nothing else comes close to dealing with playlists of thousands of items while also being fairly customisable.
Re:The PC is not dead, we just don't need new ones by FedRegister on Friday October 25, 2013 @09:45AM (#6611520)
Let us also not forget it's power to literally punish ungulates as well.
Re:The PC is not dead, we just don't need new ones by hcarvalhoalves on Thursday October 24, 2013 @03:11PM (#6607234)
I can pop-up Activity Monitor any time in the day, with multiple apps open, and it's guaranteed the app using the most memory is a browser (any browser).

As a data point: Safari is using 600+MB now with just HN and GitHub open. It's using more memory than all the other apps (editor, terminal, mail, Rdio, Skype) combined. 600MB is not much by today's standards, but comparatively, is ridiculously wasteful. It's a damn CD.

Hope the Mavericks update improves this a bit since I'm short on RAM on this machine (4GB).

Re:The PC is not dead, we just don't need new ones by madvoid on Thursday October 24, 2013 @03:20PM (#6607280)
Mavericks does amazing things to memory usage. My machine has 4GB as well, and safari went from 1GB+ memory usage to 200MB memory usage for the same amount of tabs. Under ML, I was swapping constantly; now, no swap at all.
Re:The PC is not dead, we just don't need new ones by X-Istence on Saturday October 26, 2013 @05:42AM (#6616851)
Did you count up all of the individual processes? Webkit is now finally on par with Chrome in that each tab is it's own running process.
Re:The PC is not dead, we just don't need new ones by hcarvalhoalves on Friday October 25, 2013 @08:47PM (#6615710)
Did update today, and it's certainly much snappier, it rarely hits the disk now.
Re:The PC is not dead, we just don't need new ones by MaysonL on Friday October 25, 2013 @04:44AM (#6610441)
I have 16MB, and usually have dozens of windows/tabs open in Safari, Xcode, Textmate2, and a few miscellaneous apps. Currently, Activity Monitor shows 15.9x MB used, 10.87 App, 1.26 File cache, 1.91 Wired, and 1.94 Compressed. Swap used 0 bytes, virtual memory 20.12 GB. No noticeable hesitations attributable to compressing/uncompressing when switching windows/apps.
Re:The PC is not dead, we just don't need new ones by gohrt on Thursday October 24, 2013 @01:41PM (#6606659)
4GB is plenty of RAM for a web browser with many tabs, especially with an SSD for backing virtual memory. If it isn't there is a memory leak, and if there is a leak, 8GB is as bad as 12GB.

My MBA has 4GB and I constantly forget, because it is enough, and I am constantly surprised that it doesn't have 8GB.

All modern web browsers save and restore sessions across restarts.

Re:The PC is not dead, we just don't need new ones by B-Con on Thursday October 24, 2013 @02:37PM (#6607041)
> 4GB is plenty of RAM for a web browser with many tabs,

I always up-to-date Firefox, so hopefully the memory leaks are minimal. I reboot my Linux machine every month-ish and don't exit Firefox unless necessary. I always keep a few "app" tabs pinned, only a couple of them are heavy. I have 4GB of RAM and turned swap off for an experiment. Sure enough, after a couple weeks of browsing and keeping about 25 tabs open, Firefox's memory consumption would creep up and up and eventually it would crash.

I can only guess/hope that there are memory leaks involved.

Re:The PC is not dead, we just don't need new ones by r00fus on Thursday October 24, 2013 @06:01PM (#6608314)
Re: MBA/MBP - with Mavericks 4GB is doable given how it aggressively manages memory: http://arstechnica.com/apple/2013/10/os-x-10-9/17/#compresse...
Re:The PC is not dead, we just don't need new ones by colanderman on Thursday October 24, 2013 @02:28PM (#6606979)
Regular users don't know or care about memory management, they don't even close old windows or tabs, its about convenience.

Why should they? If a tab's "dormant", the browser can just quiesce JS timeouts and let the tab's memory get swapped out. Not a problem anymore.

That most (all?) web browsers don't do this currently isn't the user's fault.

Re:The PC is not dead, we just don't need new ones by Touche on Thursday October 24, 2013 @02:44PM (#6607088)
That's not interesting idea, but I'm not sure any browser is designed to be able to fully restore the state of a tab that it's swapped out.
Re:The PC is not dead, we just don't need new ones by csense on Thursday October 24, 2013 @03:45PM (#6607447)
Do you even know what swapping is? The whole idea of swapping is that the OS pages out memory without the application being aware of what's happening!
Re:The PC is not dead, we just don't need new ones by Semaphor on Thursday October 24, 2013 @02:13PM (#6606873)
A bit over a year ago RAM was cheap enough you could just stock up. I have 16GB of RAM and paid 80€ or something for it. I keep stuff in tabs or windows now I used to stick in bookmarks. Right now I have Visual Studio open after work as I want to do a deployment in ~3h. No need to close and re-open the rather big project later.
Re:The PC is not dead, we just don't need new ones by RussianCow on Thursday October 24, 2013 @12:58PM (#6606379)
Very true, but the vast majority of computer users aren't pushing the limits of their systems, and I think that's what the author is getting at. If you look at the market as a whole, the need for more powerful computers isn't nearly as big as it used to be.
Re:The PC is not dead, we just don't need new ones by roc on Thursday October 24, 2013 @02:24PM (#6606950)
And those users are overwhelmingly the ones that tablets suit just fine.

That's the problem in this type of "PCs are fine, people just don't have to upgrade" argument. (And I've made it myself, before I really worked it through and took stock of just how far tablets have already come.)

The use cases satisfied by an old PC could all be satisfied just as well by today's tablets. Yes, the software support for keyboards, external displays and server-type services isn't quite there. But that's solely a software limitation. Not a limitation of the hardware platform. It will be addressed and more PC sales will disappear.

And the actual remaining PC-justifying use cases are precisely those where an old core2duo isn't "good enough" and simply buying some more RAM or even an SSD isn't going to obviate the need for new hardware for 5+ years.

So inasmuch as people still need PCs, they have to show up in the sales charts. And inasmuch as we don't, mobile devices are going to eat that market as the software evolves.

There's really no way around it.

Frankly, I think android and/or iOS are one good upgrade-cycle away from decimating laptop sales. If either or both really focus on the 'docked' use case -- better support for external displays and keyboard support to facilitate top-flight bulk text entry/editing -- laptops are dead to the general public.

If a student can so much as use a keyboard case and tablet to write a term paper or code up some homework as easily as on a laptop, it's over. And there's no hardware preventing that. It's software. If Microsoft wasn't so inept, they'd have been way out ahead on this.

And, frankly, between the potential of the docked use case and "BYOD" policies, mobile devices could seriously eat into the enterprise desktop market as well.

You build a device cradle, that connects to an external display, power and a keyboard/trackpad, and enables the OS and apps to automatically sense that connection and shift their interfaces accordingly and you'll see how few people truly need a PC anymore.

Re:The PC is not dead, we just don't need new ones by RussianCow on Thursday October 24, 2013 @03:44PM (#6607439)
I completely agree. I wasn't trying to say that PCs aren't dying, I was just trying to contend the notion that power users make up a significant portion of the market we're talking about. In fact, I think tablets directly show that the vast majority of consumers don't need powerful hardware, because tablets aren't very powerful machines at all.
Re:The PC is not dead, we just don't need new ones by roc on Thursday October 24, 2013 @04:18PM (#6607677)
Oh I was absolutely agreeing with you and just expanding and making explicit how this totally contradicted the article's argument.
Re:The PC is not dead, we just don't need new ones by nlawalker on Thursday October 24, 2013 @09:55PM (#6609319)
I love the idea of device docks and I would very much like to see things go that way.

I think docks have some hurdles to jump in the consumer market, though. They're unsexy - I think most people associate them with boring enterprise computers and boring enterprise work, and they tend to be big and ugly. They're expensive too, considering that most people view them as nothing but plastic with a few connectors and wires inside.

If someone can figure out how to jump those hurdles, though, and make docks sexy to the consumer market, beige-box sales will plummet. Make them smaller, easier, cheaper. Make them less proprietary - at the very least, a Company XYZ consumer dock should be compatible with all/most of of Company XYZ's portable offerings. Make them wireless and automatic (OK, I realize this conflicts with "cheaper")! Let me drop my Win8 tablet on my desk and immediately have it display to my dual monitors and let me use it with my mouse, keyboard, printer, big external drive and wired network connection. Let me press a button and have it display to my TV or play to my big speakers. Have your cake and eat it too.

I mention Win8 specifically because the whole idea of it is that it's a tablet and a desktop OS in one. Why on earth is there no Microsoft-produced drop-in docking solution for the Surface so it can actually be both?! The consumer potential is crazy - got a crusty old desktop PC laying around? Toss it, keep the peripherals, buy a Surface+dock and you've got a new tablet/laptop and desktop. You can "dock" a Surface as-is with two cables (a micro HDMI and a USB hub with all your desktop peripherals wired in), but that leaves out wired network (maybe important), certain peripherals like speakers (maybe important), and power (critical), and even two cables is two too many.

Most people who say they need a PC don't need a beige box, they need a keyboard, mouse and monitors on a desk where they can work. The form factor of the box that the CPU, disk and memory come in doesn't matter when you're at the desk, so it might as well take the form of something you can take with you and use when you're not at the desk: a laptop, tablet or phone.

Re:The PC is not dead, we just don't need new ones by PeterisP on Saturday October 26, 2013 @08:55PM (#6620227)
Docks will take off when you can make them wireless.

My tablet can connect to my wifi when I come home and sit at my desk. There's no reason at all why it can't connect to my mouse+keyboard at the same moment; so someone needs to solve the technical problems of it being able to connect to my large monitor wirelessly, and we're set.

Re:The PC is not dead, we just don't need new ones by djrogers on Thursday October 24, 2013 @01:31PM (#6606599)
None of those use cases are going to grow the PC market. The things you're describing have always been a niche (remember Workstation Class PCs?) that may add a few $$ to the bottom line, but they are not going to drive growth.

The PC market has relied on end users - consumers and business users - for it's growth engine for decades, and that appears to be drying up. One of the reasons for that is outlined in the article, for most use cases we don't need faster.

Re:The PC is not dead, we just don't need new ones by rallison on Thursday October 24, 2013 @01:24PM (#6606535)
Indeed. I work with RAW photographs fairly often, and simply exporting an album with a few hundred RAW files to JPEG takes a surprising amount of time with fast, modern hardware.
Re:The PC is not dead, we just don't need new ones by nsxwolf on Thursday October 24, 2013 @01:13PM (#6606488)
Nothing is ever good enough for a development box when you use an IDE and work with larger and larger projects.

Faster CPUs, more memory, and faster storage are always welcome. I look forward to the day when Eclipse and other IDEs really start taking advantage of GPU stream processors for indexing and validation.