Please create an account to participate in the Slashdot moderation system


Forgot your password?
For the out-of-band Slashdot experience (mostly headlines), follow us on Twitter, or Facebook. ×

Comment: Re:C++ metaprogramming is just like functional pro (Score 1) 47 47

Has no variables, only constants. Nothing is mutable.

And... this is the definition of functional programming (referential transparency). So yes - it actually really *just like* functional programming, because it *is* functional programming.

Comment: Re:Blaming their tools (Score 2) 67 67

That would be because the PS3 and PS4 use sony's proprietary graphics API that looks nothing like OpenGL.

The OpenGL API contains various features that are simply not conducive to writing either a fast implementation of the standard, or a fast application that uses it. The two main issues are:

1) That OpenGL is a state machine, draw calls are issued at arbitrary moments when in arbitrary states. This means that the implementation can't validate that the draw call was made in a valid state until you actually make the call. That doesn't sound like much, but it actually turns out to be a major headache. It means that compiling shaders can end up delayed until you actually make a call because you don't know what vertex formats it'll read, what blending modes it'll use, etc. It means that uploading data can be delayed until you make a call because you don't know what format it needs to be in. It means that blobs of data can't be placed in the right area of memory because you have no knowledge of whether the memory needs to be for fast reading only, fast read and write (only on the GPU), pulling off the GPU onto the CPU etc.
2) That lots of OpenGL operations are explicitly thread safe, and there's no way to tell OpenGL about the fact that two operations won't interfere with each other. Want to overwrite an area of a texture for the next frame while the previous frame was rendering because you have knowledge that the two won't try to read and write the same area at the same time? Nope, tough shit, can't be done. Uploading the texture will block waiting for the GPU to finish rendering with it.

Apple acknowledges that these are problems, and as a result, they've made their own graphics API (Metal) which is much more similar to how D3D and Sony's proprietary APIs work. Thankfully, the next OpenGL spec (code name Vulcan) will head towards this way of doing things, and maybe we can get back to the standard open way of doing things being reasonable.

Comment: Re:diluting the market (Score 1) 247 247

Yep, speaking to a couple of colleagues who have the same car, it seems like I managed to negotiate a very good deal. The car is in theory about $34k. There's a $7.5k federal subsidy that comes off that (and is included already in the numbers I quoted above). There's also then a $2.5k CA subsidy that appears in your taxes (and was not included in the numbers I quoted above), so basically, I'm getting a 36 month lease for around $5,700. I figure the depreciation on the vehicle alone would be more than that even if it were petrol. Given that it's electric, and the battery is likely to wear, I'm guessing the depreciation would have been closer to $15-20k.

Comment: Re:What were they thinking? (Score 2) 177 177

That sounds like an issue with the laws surrounding driving cars, not an issue with crossing the road.

Aside - while I have no stats to back it up, my bet would be that it's far less dangerous to jay walk in the UK than it is to cross at one of America's crossings attached to a huge light controlled crossroads (mostly due to right turn on red, but partly due to just the sheer number of things drivers must concentrate on). Speaking as a European living in the US, America's road designs are utterly and thoroughly fucked.

Comment: Re:Still ugly as sin (Score 1) 247 247

Things I've observed in the short term:
  For the most part it feels just like any other golf.
  When you're driving around with not many people around you, it's eerily quiet.
  On the front of quietness - people don't notice you. Expect people to step out in front of you in supermarket car parks.
  Range really suffers going up a hill - on the plus side, you get it all back as you go back down the hill.
  Range seems to be roughly as advertised (if not a little more).
  Charging seems to be substantially slower than advertised, but that's okay, it has basically a whole day to charge at the weekend.

Comment: Re:Yes (Score 2) 136 136

The problem with "SMT on top" of their current design is that their current design is SMT. They're just marketing it as true 8 cores, not SMT.

The current piledriver design doesn't have 8 separate floating point units, or 8 separate instruction decode units. It has 4 of each. They just have 8 ALUs - 2 to each decode unit. It's ALU/ALU SMT, when Intel has ALU/FP SMT.

Comment: Re:Still ugly as sin (Score 1) 247 247

There's one other - VW. The eGolf looks basically exactly like a normal golf (with the exception of the front grill being filled in to aid aerodynamics).

And yes, this is exactly the reason that I just leased a new eGolf, and not any of the other electric options.

Comment: Re:diluting the market (Score 2) 247 247

As someone who arranged the lease on a VW eGolf today, 100 or 200 miles is plenty. As a commuter vehicle that's all you need.

That said, I did still lease it, because 1) the battery will probably be getting crappy in 3 years, and 2) the tech will be *oh so much* better in 3 years time (heck, hopefully I'll be able to lease a model 3 by then).

When all else fails, read the instructions.