Slashdot Mirror


User: robthebloke

robthebloke's activity in the archive.

Stories
0
Comments
990
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 990

  1. Re:When will people learn... on C/C++ Back On Top of the Programming Heap? · · Score: 1

    Parallelism and especially concurrency is notoriously hard to do correctly and verify.

    Me thinks you might be a C++ programmer. I'd like to show you a better approach:

    float add(float a, float b)
    {
    return a + b;
    }

    Now, what's so hard about that? Shading languages don't have these problems, so why are we putting up with them in C++? Job security? :p

  2. Re:When will people learn... on C/C++ Back On Top of the Programming Heap? · · Score: 1

    It's unlikely that OOP will ever die.

    I do rather hope it will. COP (container oriented programming) is a more accurate reflection on what you should be doing.....

  3. Re:When will people learn... on C/C++ Back On Top of the Programming Heap? · · Score: 1

    My bet, is that OpenCL is the only way forwards.

  4. Re:When will people learn... on C/C++ Back On Top of the Programming Heap? · · Score: 1

    Been there, done that, but the junior devs ignore them. (ok, ignore is probably the wrong word. They still prefer to think in terms of nice simple objects, rather than batches of similar data).

  5. Re:When will people learn... on C/C++ Back On Top of the Programming Heap? · · Score: 1

    I see. So a library that declare a vector3 as 3 floats is good is it? A library that advocates using a vector4 instead of a vector3, thereby increasing memory usage by 33%, whilst ensuring cache misses become more frequent, is good is it? A library that performs well in artificial benchmarks by making everything inline, but performs terribly in real world usage due to appalling instruction cache usage, is good is it?

  6. Re:When will people learn... on C/C++ Back On Top of the Programming Heap? · · Score: 5, Interesting

    Except when you write in C++ as though it is C, you get really bad C++ code.

    When you write C++ as though it were C++, you get really bad, terribly inefficient code. If you need to extract maximum performance from your code, a C-with-classes approach to SIMD & multi-core optimisations tends to lead to better results imho. It's very difficult to adhere to what most people refer to 'good C++', because 'good C++' implies nicely encapsulated objects. This doesn't really work so well when you have 256bit wide SIMD registers. Suddenly you find your C++ classes are actually maintaining the state of 8+ objects, and then some of the idioms start unravelling. OOP is currently being stabbed to death by concurrency & parallelism, and there is nothing anyone can do to save it.

  7. Re:hmm on University of Florida Eliminates Computer Science Department · · Score: 1

    Nice idea in theory, but you have things like liability insurance that will put pay to using 5 year old PCs. Most universities will dispose of PC's after 4 years, 5 years at the very most. The inability to empty the computer labs of computers between lectures, means that in teaching resource terms, it's actually extremely expensive resource (compared to a lecture theatre re-used by 20 different lectures from 20 different courses over a week). It's this reason, combined with extremely uncompetitive pricing of computer equipment within universities (i.e. you'd go through Dell/HP due to quantity), that makes CS expensive to teach.

  8. Re:As a computer science graduate on University of Florida Eliminates Computer Science Department · · Score: 1

    If you're a fan of watching grass grow, playing in sand pits, and mowing lawns, then there's a BSc designed just for you.... golf course management!

  9. Re: Five million copies sold... on Sinclair ZX Spectrum 30th Anniversary · · Score: 1

    1. Sell your company to sir Alan Sugar.
    2. Re-house the spectrum internals inside a new box.
    3. Make the new box look identical to the CPC-464.
    4....
    5. Go bankrupt?

  10. Re:Inspiration to younger users - thing of the pas on Sinclair ZX Spectrum 30th Anniversary · · Score: 3, Insightful

    Most Spectrum owners never programmed them, they just put cassette tapes in the player and typed LOAD"".

    That's 7 characters (including the space) more code than kids type these days.

  11. Re:My first computer on Sinclair ZX Spectrum 30th Anniversary · · Score: 1

    Unlikely.

    So in a nutshell:

    * 8Bit computers stored a tokenising program (a few hundred bytes maybe?).
    * The spectrum didn't need a tokeniser (a single keycode maps directly to the BASIC instructions).

    That tokeniser is not free - it uses up memory.

  12. Re:So when it comes to 3 strikes.... on EU Commissioner: We Cannot Allow ISP Disconnects · · Score: 2

    The whole point of Sport is to stupefy the population. Ever heard the term "Bread and Circuses"?

    F1 in Bahrain? It seems to be having the opposite effect on the local population.....

  13. Re:Another on Posting Photos of Olympics Could Land You In Court · · Score: 1

    What's so special about boycotting on facebook only? Why on earth would doing anything on facebook make advertisers think they need to change? Hey Steve! Have you seen this facebook group of disenchanted 18-30 year olds, wanting a boycott of the Olympics? How can we monetise this? I'm not actually on facebook, so I guess I won't be able to join in with your boycott.....

  14. Re:It's the Sun wot won it on Sun Advice Columnist Advised MPs On UK Porn-Block Plans · · Score: 2

    The Sun has content? Are you referring to the one line political commentary courtesy of Mandy, aged 19, from Bolton?

  15. Re:The earliest "digital" mass service on Millions of Brits Lose Ceefax News Service · · Score: 1

    Ceefax (see-facts) was the BBC service, Teletext is the protocol. Interactive teletext came later.....

  16. Re:London bias on Millions of Brits Lose Ceefax News Service · · Score: 1

    The M25 (a popular beauty spot) is the most popular destination with UK citizens, and of course there is the hill, and the pub. All 3 are worth a visit.

  17. Re:I started on one of those on The Apple II Turns 35 Today · · Score: 1

    The Amiga had a graphics accelerator (for hardware blitting), but it's a big stretch to call it a 'processing unit'. The difference between a GA and a GPU is that the latter is turing complete. The GA in the amiga couldn't do much beyond 2D parallax and sprite effects, although it was very good at syncing with NTSC/PAL signals, which meant it could act as an extremely good framebuffer (it was a hell of lot cheaper than buying a pronto!)

    The GA in the amiga could not be re-programmed in any way, so it could *not* be made to handle 3D! Any 3D images created on an amiga without a video toaster, would have been rendered (very slowly!) on it's CPU. All raytracing examples from that time, were created on the amiga's CPU (remember all those glass spheres over the chequerboard floors?). Even now, raytracing is rarely used for production work because it's far too expensive computationally (although you might use trace() within a raster based shader).

    It was the video toaster, specifically the VT screamer (and later models), that was used to render 3D graphics. Those were 150Mhz MIPS CPU + 64Mb of ram (The older ones were mainly used for video editing). At the time, it was the next best thing to an SGI machine (~200Mhz Mips). The VT did not do ray-tracing. From 1994 onwards (after commodore was officially dead), you might still be using a video toaster, but you'd have been using it with a windows PC rather than an Amiga running at 10% the speed. The examples you have been citing as examples of the Amiga graphics are all sadly examples of the Video Toaster + Pentiums (or later). Earlier work (1990 -> 1993) would probably have been using the Amiga. The amiga was a fantastic machine, but once commodore destroyed itself, it's use in FilmFX work pretty much ceased..... By 1999 or thereabouts, consumer grade PC's were outperforming SGI machines, which relegated most VT's and SGI machines to the skip :(

  18. Re:Paywalls on Print Your Own Labware, Catalysts Included · · Score: 3, Interesting

    I remember a few years ago, I started getting really annoyed that every new computer graphics paper, was simply a 20 year old paper appended with "on the GPU!". Those kind of papers never struck me as research, they always seemed more akin to an army of people screeching "the GPU is faster than the CPU for graphics!", which should be bloody obvious.....

    It would now appear that the current fashion is to write papers about inanimate objects, and append "made on a 3d printer" to the title. At least this paper has some element of novel thinking to it, i.e. replace colour pigments with chemicals you want to react, but I don't think that makes it worth paying $32 for.....

  19. Re:build children's education around needs, not te on OLPC Australia Pushes Boundaries of Education · · Score: 1

    It just comes down to how you wrote the hex-loader

    10 DATA "ED5B60EA"

    Decimal wasn't a requirement.... ;)

  20. Re:Bye-bye Instagram... on Facebook To Buy Instagram For $1 Billion · · Score: 1

    Pentax was sold to Rioch a few months ago for £77million. It's a company that actually makes things, turns a real profit, and has a mountain of IP stretching back to the 1930's. In twenty years time, I'm fairly certain that Pentax will still be around. Can anyone really say the same for Instagram?

  21. Re:Wonderful, but... on How James Cameron Pumped Volume Into Titanic · · Score: 1

    London also has the BFI southbank. The screenings and film festival are well worth checking out..... (They're often accompanied with talks from the directors, and it's not always just films..... I managed to meet Bagpuss and a few Clangers at one screening! )

  22. Re:Wonderful, but... on How James Cameron Pumped Volume Into Titanic · · Score: 1

    Would a re-release of the original movie be a big hit?

    Does leonardo still shoot first? I heard that he meets jabba before boarding, and apparently the police officers all have walkie talkies! How could it possibly fail?

  23. Re:Anti-Gay? on EA Defends Itself Against Thousands of Anti-Gay Letters · · Score: 2

    Does this make me anti-gay?

    Yes, very much so.

    We are all children of God.

    No, we really are not.

  24. Re:Woo! First! Suck on that! on Arizona Attempts To Make Trolling Illegal · · Score: 1

    Yup, and I think we all know the reasons why. As a wise submitter once said, this did indeed management to pass...

  25. Re:Duh on Nokia Lumia 900 Reviews · · Score: 3, Funny

    Not sure what Microsoft would do with it beyond the patent portfolio

    Give us all a good laugh when they release the Zunegage?