As of 2012, your best bet was to implement your computation as a fragment shader in GLSL ES and find a way to represent the output as a RGBA (32-bit) texture.
Eben stated in this 2012 talk that OpenCL is not likely to be implemented, but that there may be an API developed in the future; the answer starts at 21:20, and Eben says "we may provide some way for ...
The answer to the question if something is legal or not, depends on the interpretation of laws in a particular jurisdiction. This answer should not be treated as a legal advice. It is based on published information by the relevant party.
Raspberry Pi Foundation made a clear statement that answers your question in the Starting a business with a Raspberry Pi ...
Not at present - there is only a framebuffer interface for display purposes. There is no OpenCL and no plans for it nor is there documentation available to create OpenCL. CUDA is Nvida only so isn't applicable. Once an OpenGL driver becomes available you may be able to engineer some calculations via the GPU but how useful that will be remains to be seen.
There is a StackOverflow question quite similar to this, Mono on Raspberry Pi. However, through my own research, I haven't been able to find anything specific to .NET, but rather just C#.
You can install the runtime using APT on a Debian distro by executing:
$ sudo apt-get install mono-runtime
You can also (assuming you have some sort of GUI such as LXDE) ...
The IDE (probably) isn't the right place to be looking at this from. The simplest solution is to work with shared filesystems of some sort.
For exporting from the Rapsberry Pi the easiest way to export to a Linux (or I think Mac) host is to use sshfs. You'll need to install that on the computer you want to work on (there are Debian/Ubuntu packages at least),...
I would recommend Tkinter, it is the standard GUI library for Python, and as a result is already installed. The IDLE IDE (which is included with the Raspbian image) not only supports Tkinter but is itself a Tkinter app. In addition most Python books will include at least a chapter on creating GUI's with Tkinter. If you prefer web resources you will want to ...
First, you'll need to install curl, git, and build-essential for your operating system. If you don't know how to install software for your system please refer to How do I install new software?.
Next you need to download and run the bash script they provide.
$ curl -L https://get.rvm.io | bash -s stable --ruby
Next you can do one of two things.
First install some packages:
apt-get install samba-common smbclient samba-common-bin smbclient cifs-utils
Then, create a local directory and mount the remote share:
mount -t cifs //server/share /mnt/abc
where server is your windows computer name (dns or netbios) and share is your windows shared directory.
Depending on the access you ...
Checking at configure/compile time for the features your code depends upon is the way to go. Checking for specific devices is problematic because avoiding false-positives is virtually impossible (someone could lie to you deliberately even with little effort) and the aim of such checks is to answer the question: "can I build here? If yes what code path should ...
I am eager to get compiling and I would like to use the latest and the best tools.
In fact, the latest and best tools do not need to be built by yourself. On the Raspberry Pi Tool GitHub Repository you will find the X86_64 and x686 toolchains for cross-compiling software.
I recommend using the x86-linux64-cross-arm-linux-hardfp toolchain, as that will ...
Oracle have now released (as of Java 7u6) a JDK with JIT that works on the Pi with full AWT / Swing support. It also supports JVMTI (cacao only has partial support.) Press release here.
I've verified it works with Greenfoot, and provides a huge speedup compared to the likes of a plain (non-JIT) OpenJDK build.
At the time of writing it doesn't support hard ...
Yes it is possible; I saw a YouTube video of the Pi reading the news using festival.
Use the following command to install festival using Debian
$ sudo apt-get install festival festival-freebsoft-utils
To make it speak simply pipe it the text or file you want it to read, like so
echo "Hello World"| festival --tts
Getting Node.js on a Raspberry Pi
You can either:
Compile Node.js yourself (as ppumkin already pointed out)—takes about 2 hours on a Raspberry Pi.
Or you can download the binary v0.8.17
I did a quick performance test (to give a rough first impression):
My Raspberry Pi is overclocked (Turbo) with default memory_split (64)
Tests were ...
The community is in the progress of making dotnet core working on ARM. Samsung recently joined the dotnet foundation to (mostly) do work for ARM.
.NET is a great technology that dramatically boosts developer
productivity. Samsung has been contributing to .NET Core on GitHub –
especially in the area of ARM support – and we are looking forward to
This is a nice guide on exactly how to setup Ruby on Rails. Obviously using the RPI.
I think it would be pointless to copy and paste the whole article here, so here is a google cached version of the above page as well. Google Cache Ruby on Rails
This one may be useful.. GPGPU python library for the raspberry pi. https://github.com/nineties/py-videocore
A general-purpose GPU (GPGPU) is a graphics processing unit (GPU) that performs non-specialized calculations that would typically be conducted by the CPU
USB is at heart just a serial communication device. How the data is communicated is standard, but what that data consists of is device dependant. Your controller manufacturer will have invented an api that consists of commands and messages of the form 'do this', or 'this is happening'
If you know this api you should be able to communicate. Two possibly ...
You could install espeak:
$ sudo apt-get install espeak # For Debian
$ sudo pacman -S espeak # For Arch Linux
To make it speak:
$ espeak "Hello World" # Replace Hello World with your text, must be enclosed by ""
$ espeak -f <file> # Read out file <file>
This depends on what libraries you wish to link your code with. If you are using the Raspbian images, the architecture is "armhf" and the compilation flags are:
If you are compiling for Debian "armel" arch, the compilation flags are different.
The FAQ states the CPU is an ARM1176JZF-S which is an ARM11 Classic processor the processor details are available here on the ARM website.
The Technical Reference Manual is available via the ARM documentation centre
Select: ARM11 Processors -> ARM1176 -> RM1176JZF-S Technical Reference Manual
(Or as a PDF from here)
The ARM Architecture Reference Manual ...
There won't be a universal answer to this as there are too many different requirements from web servers for different applications. Questions that will get more refined answers will be along the lines of: I want to host a small Ruby on Rails application on the Pi (instructions at: RPi Ruby on Rails).
The Pi will be able to host most web servers and/or ...
You can write high-level programs that run on the Pi's GPU using QPULib:
It's a programming language and compiler targeting the 12 vector processors (QPUs) inside the Pi's GPU. It aims to be easy to use and is implemented as an EDSL (Embedded Domain Specific Language) -- a lightweight alternative to a full-blown OpenCL ...
As you can see on Raspberry Pi FAQ, the real performance of the Raspberry Pi is something like 300 MHz Pentium 2. There is 256 MB RAM installated on both model A and B. Try to compare this parameters to the parameters of your computer.
The reason that Raspberry Pi could smoothly play BlueRay quality videos is in used Videocore 4 GPU which provides Open GL ...
The RPI ARM core is an ARM 1176jzf-S, the suitable flags should then be
-march=armv6zk -mcpu=arm1176jzf-s -mfloat-abi=hard -mfpu=vfp
Drop the -mfloat-abi=hard -mfpu=vfp when on a soft float distro.
These flags can be found by running gcc -mcpu=native -march=native -Q --help=target on gcc >= 4.7`
Node.JS can be used as a web server replacement on the Pi and you can create stand alone or Single Page web applications with ease.
But just for your information, in most real world applications it is recommended to use servers like the modern nginx , light weight lighttpd or the chunky but fully featured apache2! And then script node.js to ...
That may depend on your distro, but if you are using raspbian, the stock gcc includes g++, here's the version info:
me@RPi» gcc -v
Using built-in specs.
So apt-get install gcc should work if it isn't already there.
Most distros will build gcc with C++ support, so this should be true for them too. The ...
Contrary to popular belief, VB.NET compiled code runs fine on the Raspberry Pi, under Debian at least. apt-get install mono-vbnc and then run your VB exe as an argument to mono e.g. mono yourexe.exe
I haven't done any performance benchmarks as I am not writing a performance intensive app but seems fine so far.