
Journal Journal: Compiling byte-code to OpenCL
Toying with speeding up an interpreter by compiling to OpenCL.
http://grrussel.bitbucket.org/CompileToOpenCL/CompileToOpenCL.html
Toying with speeding up an interpreter by compiling to OpenCL.
http://grrussel.bitbucket.org/CompileToOpenCL/CompileToOpenCL.html
ConstCPP is C++ with the const modifier on, all of the time. Except when you use mutable instead.
This is a hacked together compiler patching clang/LLVM 2.9 and is in no way actually tested, rigourously designed, or necessarily useful or usable. It is also incompatible with 99% of existing C++ code, including standard headers...
Inspired by a tweet from @tim_angus
Yes.
You are distributing the source code, as required, and therefore you are legally in the clear.
With respect to charging for the binaries, that is permitted by the license. I would however argue that this is bad form, and against the community spirit. The GPL is intended to benefit users and developers, and restrictions (e.g. a monetary charge, however nominal) on the access to binaries restricts the user community to those able or willing to pay or to rebuild. Rebuilding is a hassle, and subject to Apples $99 yearly charge at a minimum for anyone wishing to load it onto a iPhone device.
While I understand you wish to recoup the costs of porting and new feature development, I believe it is morally wrong to charge for a program that is free (in beer, and in speech) on the original platform(s) after porting it.
While the GPL permits charging for binaries, I believe it is uncommon and undesirable for free source code not to be matched by free access to the generated binaries of the program.
From the Bjarne Stroustrup/C++ Q&A article from earlier in the week, an old-timer opined something that I've also thought for a while, re: teaching computer science: "I think they should learn computer languages in the order that they evolved: assembler first, then FORTRAN,
Suburbia is where the developer bulldozes out the trees, then names the streets after them. -- Bill Vaughn