Please create an account to participate in the Slashdot moderation system


Forgot your password?

Comment Re:Umm no (Score 1) 336

It really depends what you're trying to do. Amdahl's law will always apply. A single fast core will always be more versatile than multiple slower cores because the fast single core can perform equally well in sequential and parallel algorithms. Of course, we will always have to compromise and make do with what we can physically make.

If each step in your algorithm depends on every single preceding step then you will probably want the fastest single core you can get your hands on within a reasonable budget in terms of money, power, etc.

If your algorithm contains lots of simple calculations that can be done in a massively parallel fashion, then you will want a huge number of simple computation units that can run in parallel at low voltage and low clock.

If your algorithm is of the former type, but you're running a large number of them at any given time then you will potentially benefit from having lots of cores running at medium voltage and clock speed.

If you don't know (or don't yet know) what your algorithm is you might benefit from programmable logic, despite its lower performance at any given algorithm.

We can hope that the market will be able to sustain multiple technologies with different trade-offs. It would be nice if we could continue for decades to come to have a line of super-fast quad-core CPU:s for workstations and gaming rigs and a line of medium speed many-core CPU chips for servers and a line of massively parallel chips (basically GPGPU:s) for other stuff and a line of high performance FPGA:s and other programmable logic.

But more than anything of all it would be... interesting... to see some frequency scaling again. I wonder what sort of design and what sort of manufacturing method one would need.

Comment Re:More like hidden bug introducer (Score 1) 123

Actually, I just gave it a try, and there is a problem with where you place your defer block.

The following program compiles and the value of the string at the end of execution is "newValue", not "newerValue" as the programmer probably intended.

var someString = "oldValue"
func deferTest() {
        someString = "newValue"
        defer {
                someString = "newerValue"

Comment Re:More like hidden bug introducer (Score 1) 123

I think the defer block will always run as the last thing that happens before its containing scope finishes. So as long as you're just writing a function that opens a resource and does not hand that resource over to anything else you should get a very predictable behaviour regardless of what you do inside that function.

The placement of the defer block itself probably doesn't matter. I suppose it would give you a compile time error if you place it before the resource is declared.

Comment Re:Pffffhahahaha (Score 1) 30

Google Glass was fundamentally flawed in that it did not have a way to block outside light, which means that it basically only worked well in low light conditions.

Ideally, an AR device should be able to filter outside light on a per-pixel basis, so that each drawn pixel on the screen can be mixed with anything from 0% to 100% of the light that comes in from the outside.

Comment Re:Be insainly great. (Score 3, Interesting) 428

The problem is that they don't seem to know where they're going.

The new MacBook should have had not one, but zero ports, because the MacBook is a home device. You're not going to use it for anything that legitimately needs a wired connection. Wired charging? That's barbarism. It should also have been water resistant, because I might want to keep it around when I have a beer which I might spill. It should have had the best webcam on the market. Pricing should have been about $900 for the lowest end model.

The 2015 MacBook Pro is the model that should have had two USB-c ports, in addition to its other ports. The MacBook Pro is power-hungry enough that it probably needs wired charging too, but that's fine sine it's often going to be wired to things in the office (or home office) anyway.

The Pencil for the iPad Pro should also have had a better charing solution. And the iPad Pro is not really a professional device, so it should have been named something else. And the lowest end model should have been at least a hundred bucks cheaper and it should have shipped with the Pencil, because optional add-ons for a device always fragment the software market for that device, which is a very bad thing.

Comment Re:Mars Colonial Transporter (Score 2) 101

This is all very impressive, but the reason why USAF wants better rockets is probably nothing to do with Mars. They probably want cheaper and better satellites and the ability to put heavy weaponry in space, such as tungsten rods with retrorockets and guidance. That old cold war idea.

The Mars trip will happen when there is a compelling reason for people to go there, like if someone other than the US tries to get there first.

Comment Re:How dangerous (Score 1) 67

A phone app can use an complicated technology to do something, which pc apps can do without any problems all the time.


An Android or iOS app can silently download a patch that will do bad things with the data that you have created using that particular app. It can also spy on you if you have previously given it permission to do so.

A PC app can silently download a patch that will do bad things with all of your data. It can also spy on you.

Comment Re:Not surprising (Score 2) 153

How do you have "advanced" mathematics ( or perhaps a better term might be "non-trivial" ) without at least a rudimentary writing system?

You can't. You can do a lot of basic arithmetic and basic geometry.

But you could for example come up with the hypothesis that stars are faraway suns, just by noticing that different stars vary in brightness and guessing that the brighter ones are closer to Earth, with the Sun being much closer than all the others. You could argue that spherical objects are more efficient than other objects because they minimise both their surface area and the distance of any surface feature to the center of themselves for a given volume, then pose the hypothesis that the universe likes to be efficient about things and then conclude that the Earth is therefore probably spherical, like the Moon and the Sun.

It does take writing and some instruments to prove beyond all doubt that these things are true, but the ideas themselves could have been dreamt up by the same people who painted lions on cave walls 30,000 years ago.

Comment Re:React (Score 2) 48

Parse is/was a service that allowed people who knew next to nothing about server programming to cobble together a backend for a mobile app (or other app that can make http requests).

So in other words it was a tremendously useful or harmful service depending on your level of cynicism. It is of course hard to monetise a solution like this, since any app that becomes highly profitable will attract developers that know how to build a proper backend and then that app will migrate away and stop paying monthly fees.

Slashdot Top Deals

The star of riches is shining upon you.