First WebCL Demos Arrive From Nokia and AMD 48
An anonymous reader writes "Samsung and Nokia have released initial implementations of WebCL for web browsers. Nokia's version works with Firefox 4 and AMD's App SDK on Windows Vista/7 32-bit and Samsung's version on Mac OS X 10.6.7 with Safari and Nvidia OpenCL GPUs. The implementation has little to no use for average users, but there are a couple YouTube videos that showcase the horsepower of GPUs in physics computations — inside a browser window."
Firefox 4? (Score:1)
Way to target an obsolete, unsupported browser!
Re: (Score:2)
Not a security hole at all... ;-) (Score:5, Interesting)
Take a look at ticket #1 [nokia.com] on the Nokia OpenCL plugin. Arbitrary code execution anyone? The security issues with WebGL are massively overblown, but WebCL seems to be a different matter entirely.
Re: (Score:2)
Sounds like a problem with Nokia's plugin, not WebCL itself.
Re: (Score:2)
I am not sure you can draw such a clear distinction. WebGL allows arbitrary GLSL shader code to execute on your GPU in much the same way as OpenCL.
The fact that GLSL is intended to process graphics doesn't itself provide any guarantees that is all it can be used for.
Re: (Score:2)
GLSL is a fairly restrictive language lacking things like pointers. The verified subset of it that WebGL allows is even more restrictive. OpenCL is basically C with a few minor limitations to make it more GPU friendly. Oh, and WebCL allows this code to be executed on the CPU, not just the GPU.
When I talked about arbitrary code execution, I didn't mean it in the bullshit sense the anti-WebGL articles used - I mean the traditional definition, arbitrary code execution with access to the full privileges granted
Re: (Score:2)
Re: (Score:2)
Honestly, and I hate to do this since I haven't agreed to a damned thing they have done since the sweaty monkey took over, I think MSFT may be right on BOTH WebGL and OpenCL when it comes to security and here is why:
What is the most buggy driver on the average Windows system? Why that would be the graphics driver. Which driver is the LEAST likely to be updated? Again that would be the graphics driver. Which piece of hardware gets the least security checks because it would slow it down? Which piece of hardware thanks to the unified driver arch can take down tens of thousands of machines with a single buffer overflow? I think you get the idea.
ActiveX was a seriously Forest Gump level of stupid and this? Right up there alongside it. This is an idea which will have little to NO benefit for end users, increased risks of infection, and for what? So some browser can go wobbly windows like the average Linux distro? Yeah that's worth the huge increased risk.
Thanks to DXVA and H.26x support on even the low end GPUs released today there is already a trivial way to accelerate video. All this will do is give Windows and Linux users something in common, a nice single target for malware writers. It is a DUMB idea, greatly increases risk for the end users and for what? So you can run a game in a browser? The Asian MMOs have been doing that for ages by having plug ins and a mix of native and web code, and frankly the security there isn't very great there either.
So if someone can explain how having a device with a super fast CPU of its own, at least 256Mb of super fast RAM of its own, and with the most buggy and least likely to be updated drivers access to running untested or vetted third party code off the net I'm listening. Oh and with today's firmware it would probably be pretty trivial to flash in a loader that makes sure the payload is loaded upon startup. Nice for the malware writers, not really seeing a point for my end users here.
Bull shit. That's it. Pure Bull shit. The iframe is sandboxed in WebKit. Canvas is sandboxed in WebKit. How the hell do you cite WebGL and OpenCL and somehow fail to mention OpenGL? Utter bull shit. I could careless about Windows. This concerns OS X, iOS, Linux, Android and others. Enjoy DirectX11 and it's competitors to OpenCL, WebGL and WebCL. They will lose.
Re: (Score:1)
Huh? (Score:2)
Guess I must be out of touch with the bleeding edge. What's the "new" thing here... that it works in a browser window?
Re:Huh? (Score:5, Funny)
Re: (Score:2)
Ha!~ Been a long day, thanks for the LOLz... ;-)
Bitcoin? (Score:2)
According to Nokia, WebCL can be used for Bitcoin mining - in which case WebCL is good for real world earnings of about $10 per day - at least as long as the Bitcoin currency remains intact.
Seriously Nokia, first you're trying to sell your handsets by using Windows [slashdot.org], and now Bitcoin?
Re: (Score:2)
Profit!
Re:Bitcoin? (Score:5, Insightful)
good for real world earnings of about $10 per day - at least as long as the Bitcoin currency remains intact.
Iif you create a web page which does Bitcoin mining in the background while displaying something else, you may be able to get people to do the computation for you.
Bitcoin will probably tank before WebCL gets going. Bitcoin was supposed to be a transactional currency for micropayments. Instead, it's become almost entirely a speculative market. Bigcoin fans are franticallly "mining" and trading, but no major retailer accepts Bitcoins. Bitcoins are now so volatile that pricing anything in Bitcoins is hopeless. (Today's range is $12.40 to $15.00 per Bitcoin.)
Without significant usage as a currency, it's not a currency. It's a pyramid scheme. About $100,000 worth of new Bitcoins are generated each day, and to keep the price up, the scheme needs $100,000 of new sucker money each day. Lately there's been a sucker shortage, and the price has been declining.
Re:Bitcoin? (Score:5, Insightful)
Careful, you'll have the bitcoin cultists, and federal reserve conspiracy nuts after you. And they have mod points.
Re:Bitcoin? (Score:5, Funny)
Careful, you'll have the bitcoin cultists, and federal reserve conspiracy nuts after you. And they have mod points.
Yes, but they're only fiat mod points.
Re: (Score:2)
I seriously LOLed
Re: (Score:1)
Iif you create a web page which does Bitcoin mining in the background while displaying something else, you may be able to get people to do the computation for you.
Already been done: via java http://bitcoinporn.tumblr.com/ [tumblr.com] (NSFW - as if the URL doesn't warn you)
And via WebCL, although it's closed now: http://kradminer.com/ [kradminer.com]
API style (Score:1)
The functionality is awesome. But the API is too Java-like. Someone make it more JavaScript friendly please!
Re: (Score:2)
Re: (Score:2)
Why does my browser need webCL now? (Score:2)
I know that there are people who like lots of bells and whistles, so it's nice to have javascript and all of the other nifty additions to browsers, even though I turn them all off or just use w3m.
Now openCL..sure, there's a niche for it somewhere and someone will want it. I think that this is tremendously unnecessary now, though. At which point does the trend for unnecessary bells and whistles go too far?
Will the br
Re: (Score:2)
They have to come up with all kinds of useless features so that Firefox can add the latest and greatest new feature - a "freeze" button to stop all computation on a web page.
Actually... can I have one of these please?
Re: (Score:1)
Re: (Score:2)
I don't get it (Score:2)
Folks seem to understand this when it comes to phones; as ap
Re: (Score:3)
Re: (Score:2)
It also allows them to get things done without waiting three weeks for someone from IT to respond to their requests to install the software they need, or to patch their software to current versions, or to give them access to the various directories that they require.
Re: (Score:2)
Re: (Score:1)
Not that I am saying I would like running software in a browser if mobile wasn't moving away from browsers, but it would at least make sense if things were moving in a consistent direction.
Re: (Score:2)
except Microsoft (who'd have thought!) is embracing the 'app as a mini-browser' with Windows 8 and it's html+js GUI based model.
I know a few mobile apps are practically browsers - the data seems to be pulled from the server all the time (ie plenty of 'loading...' forms are shown).
Re: (Score:2)
Re: (Score:2)
Have you browsed any books for mobile development recently at a B&N? My Andriod books are mostly devoted to HTML 5 with a few bits of java code to make it an actual applet. I think HTML 5 is going to the be the new gui framework standard whether we like it or not.
Samsung show casing MacOSX?? (Score:1)
I thought Samsung and Apple hate each other? I can see the love with their injunctions on each others products and lawsuits galore.
Re: (Score:2)
As most other big companies, they have a love/hate relationship. Keep in mind that Samsung supplies screens for all those iPads...