OpenCL Wrappers: is anyone working towards this or something already exists!
[1/6] from: david::may10::ntlworld::com at: 7-Sep-2009 0:54
Hello rebolist,
as per the subject
OpenCL Wrappers: is anyone working towards this or something already exists!
it seems Python is yet again first with interesting OpenCL wrappers/Bindings
http://www.khronos.org/message_boards/viewtopic.php?f=28&t=2008
http://mathema.tician.de/software/pyopencl
with full documentation and wiki
open OpenCL C# Wrapper/bindings and C++ versions too,
But No rebol wrappers.
and thats a shame for yet another potentially missed chance to get in early
with something, indeed Anything rebol core/view related in to new
markets.
open OpenCL C# Wrapper/bindings
for all the existing up and coming mass Toolkit's
http://www.khronos.org/message_boards/viewtopic.php?f=28&t=1932
http://www.opentk.com/
The Open Toolkit
The Open Toolkit is an advanced, cross-platform wrapper for OpenGL, OpenAL and OpenCL.
Written in C#,
it runs on Windows, Linux and Mac OS X and can be used by every .Net language.
and C++
http://www.khronos.org/message_boards/viewtopic.php?f=28&t=1415
--
Best regards,
david mailto:david.may10-ntlworld.com
[2/6] from: petr:krenzelok:seznam:cz at: 9-Sep-2009 15:39
david may napsal(a):
> Hello rebolist,
> as per the subject
<<quoted lines omitted: 3>>
> wrappers/Bindings
> http://www.khronos.org/message_boards/viewtopic.php?f=28&t=2008
So the Python is YET again first, so what? Why not move to Python then,
if you need it so badly? REBOL is just a tool. Use tool best suiting
your service for the task given ...
> http://mathema.tician.de/software/pyopencl
> with full documentation and wiki
<<quoted lines omitted: 4>>
> with something, indeed Anything rebol core/view related in to new
> markets.
You have to be living on some alien planet, no? (I like Alien series
movies) :-) Why are you ignoring all the R3 development related
efforts, and the energy ppl put into it? R3 is even not in beta
(hopefully soon), and we have other issues to solve first. Noone will do
it for R2 imo, it's DLL interface is kind of limited.
OTOH - there's some potentially good news for you - R3 got first version
of its Extension (plugins) interface. There are hopefully going to be
done some small enhancements before we go to beta. Max already started
to test some OpenGL stuff, and it worked. So - stay tuned, now at least
the capable infrastructure is going to be available.
Will it mean someone will pick-up your request and link to OpenCL? I
don't know. We are quite small community, but the possibility is here.
What I am definitely interested in is ffmpeg wrapper and REBOL video
player. I might need it commercially in the future, and I might a bit
sponsor the effort. You can count on it, that the code will be BSD, if
it is sponsored by me. I am starting to learn C, but it will have to be
done by someone else, and that is always the reality. Remember the size
of the REBOL community, please.
In the past, I proposed Bounty program for REBOL. I think we could
sponsor such kind of developments this way - being it video, networking,
security, whatever. We will see what happens, once R3 goes into beta,
Host code is open-sourced, etc.
David, now just answer one question for me - would you yourself find any
usage for video related work? Because it seems to me, that you are REBOL
fan, who would just like to see such things, in order to make REBOL more
popular. But once again - with the size of the REBOL community in mind,
we don't have the luxury to waste on human resources available ...
-pekr-
[3/6] from: moliad::gmail at: 9-Sep-2009 14:23
hi David
On Wed, Sep 9, 2009 at 9:39 AM, Petr Krenzelok<petr.krenzelok-seznam.cz> wrote:
> david may napsal(a):
>> Hello rebolist,
<<quoted lines omitted: 7>>
>> http://www.khronos.org/message_boards/viewtopic.php?f=28&t=2008
>>
For REBOL 2, don't count on someone else doing it, its binary binding
is limited and tedious. And remember, even for python, most of these
things are done by people who need it, not the authors of python
itself.
You must understand that there is a reason why python seemingly always
integrates C libs first.... its quite simple... internally, the
language and its module system was designed around C/C++ in order to
make it possible for binding its binary code directly and easily. Its
the single most important feature of that language. Where I worked
before, we did it a few times and it took less than an hour to
integrate most C libs.
Now on the REBOL front, thru the years, Mr. Sassenrath realized many
of the limitations that plagued the R2 design on the platform side
(the run-time engine). The language itself was pretty close to pure,
but the engine it ran on was never meant to be open, extensible and
support large applications.
REBOL 3 addresses this first and foremost IMHO. Just about every
decision is made with the sole purpose of allowing REBOL, the
platform, to evolve, grow and exceed, by far, the capacity of the R2
engine. The goal is to be able to leverage the language in more
areas, more markets, more applications.
Finally, we will be able to use one of the most interesting
programming languages on some of the most interesting projects,
because like python, its design is intended to be open, extensible and
scalable.
As pekr noted, I did some OpenGL/GLUT tests using R3 and within a few
hours, was able to render a colored 3D cube using R3 as the host from
which the images where rendered.
(http://www.pointillistic.com/open-REBOL/moa/steel/R3-OGL.png)
The Extensions API isn't finished, its a work in progress, but it
already allows one to use C .lib and .dll binaries directly within
REBOL using an interface to these functions and its datasets to REBOL,
using REBOL native datatypes... its surprisingly easy to do and so far
its both very fast and very stable.
so, the question is... do you really need OpenCL? or is it just
something thrown in the air? cause if you really need it and you are
willing to invest a bit of your time into it, you can be the OpenCL
binding author for R3. All the docs are on the web, with plenty of
examples to get you started.
It won't take you 3 weeks to get it done... it most probably will take
you a few hours to get the basics working and then, at most, a few
days to map all of the API functions & datasets. Just download MS VC
express (free), download latest R3, OpenCL libs, and GO! ;-)
Also note that although R3 is still alpha, and some things need to be
done (adding more tcp schemes, for example), what is there is starting
to be pretty stable on my last few attempts at using R3. The GUI is
still up for an overhaul, but you can already use it, and there is
nothing stopping you or anyone else from continuing on the work
already started by the previous/current R3 GUI guys. If you get
involved, and actually put the effort, you will realize that Carl (Mr.
Sassenrath) is quite open to help and discussion...
But as they say, talk is cheap, and that is how REBOL seems to be
driven nowadays. Some kind of Meritocracy, similar to any open source
project. People who put the effort and the time, actually get to take
part in how REBOL evolves. When you can show others what works and
what doesn't, cause you've actually tried things, can show or explain
them with concrete tests and examples... people do listen... Carl
especially (it also helps to be a bit stubborn and patient too ;-).
Just noticing how Pekr and I have changed the tune to our song in the
last year is a good measure of this in fact.
This is an exciting time for REBOL, just about anyone can have a
measurable impact on the language... from people who report bugs on
Curecode, to people who rush to test the newest bits added to the core
whenever a release is done (almost twice a week for a few months
now!!) .
But its up to every one of us to participate...
Don't expect godsends to fall from the sky. Don't expect prayers to
be fulfilled.
Pitch-in, help, test, suggest, fix mezz code, post on the blogs... its
all being considered, really, it is!
Cheers!
-MAx
[4/6] from: tim-johnsons:web at: 9-Sep-2009 9:46
* Petr Krenzelok <petr.krenzelok-seznam.cz> [090909 05:56]:
> OTOH - there's some potentially good news for you - R3 got first version
> of its Extension (plugins) interface. There are hopefully going to be
> done some small enhancements before we go to beta. Max already started
> to test some OpenGL stuff, and it worked. So - stay tuned, now at least
> the capable infrastructure is going to be available.
Hi pekr -(I love saying that!) -
Could you tell us what browsers rebol3 will be available for as a
plugin?
Also, has the R3 team followed the development of google chrome
browser and google chrome OS? If so, what would be the
implications with chrome?
thanks
--
Tim
tim-johnsons-web.com
http://www.akwebsoft.com
[5/6] from: moliad:gmai:l at: 9-Sep-2009 21:46
Hi Tim,
Many of us need various versions of our rebol applications to run on
various systems and delivery methods. The browser plugin(s) is at
the top of that list for sure.
When the host code will be made available, anyone will be able to
write the browser plugins, or a version for most any other device. RT
might oversee the process, even helping out a bit, but I get the
feeling Carl wants to work on other projects once R3 goes final. I
think the browser plugin should become an open source project with
volunteers and sponsors. This will help adoption since the plugin
would be more open to scrutiny, and it will allow the plugins to
evolve much faster in order to follow the frantic pace at which
browser and web technologies are evolving.
Chrome, Safari, Firefox and IE are all standards or emerging as such.
Any browser plugin work will undoubtedly be a cross browser effort.
Note, I'm not in the inner R3 dev team, but I'm close enough to it
that I can sense the genuine feeling that R3 is finally close to where
Carl needs it to be in order to start talking about more serious use
of R3. There are several hundred less bugs in the last version than
there where barely what, a month ago?
AFAICT we must let R3 reach beta stage before thinking about adapting
the host to new systems. With R3 reaching this goal now within sight,
the time for these discussions is almost upon us... but not just yet.
There are still a few things to consider before R3 features are locked
down... so until that is really complete, I don't think anyone can
give a precise roadmap in shape or timeline.
But we are getting close... finally :-)
-MAx
On Wed, Sep 9, 2009 at 1:46 PM, Tim Johnson<tim-johnsons-web.com> wrote:
[6/6] from: petr:krenzelok:seznam:cz at: 10-Sep-2009 5:33
Tim Johnson napsal(a):
> * Petr Krenzelok <petr.krenzelok-seznam.cz> [090909 05:56]:
>> OTOH - there's some potentially good news for you - R3 got first version
<<quoted lines omitted: 10>>
> implications with chrome?
> thanks
Tim,
plugins were renamed to extensions exactly for the possible confusion
reason. R3 Extensions have nothing in common with browser-plugins.
Extensions serve the purpose to extend R3 with external capabilities. If
those can be used to create browser plugins, I don't know. Of course I
think that browser plug-ins are very strategic product.
More about R3 extensions here -
http://www.rebol.com/r3/docs/concepts/extensions.html
-pekr-
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted