Go to advanced search

by kimwatson
Mon Nov 12, 2012 6:49 pm
Forum: C/C++
Topic: C vs Python for GPIO
Replies: 27
Views: 20706

Re: C vs Python for GPIO

Regarding the other languages you mention. IMO if you are going to learn a new language, you might as well pick one that's used professionally across many industries. For example, we use C++ in all high production games (consoles, pc, etc). Never touch C. If performance required (in rare cases), it'...
by kimwatson
Mon Nov 12, 2012 6:40 pm
Forum: C/C++
Topic: C vs Python for GPIO
Replies: 27
Views: 20706

Re: C vs Python for GPIO

Yeah, I wouldn't touch C unless you really need to. It's got lots of old fashioned constraints which you'll not like (easy to see with a quick google) - it's a lightyear away from that nice little warm foreach setting you mention. :) Just work with C++. It's cool, and modern. Nothing you can't do. A...
by kimwatson
Mon Nov 12, 2012 3:42 pm
Forum: C/C++
Topic: Controlling RBPi from windows PC
Replies: 8
Views: 1983

Re: Controlling RBPi from windows PC

Another option (off the top of my head). Setup Node.js on the RP and Windows. It's a simple process, and if you are familiar with Javascript - you'll be set to make the most of it. There's heaps of good libraries. WS / socket.io / Binary.js ... things like this (all on github). You can then use webs...
by kimwatson
Mon Nov 12, 2012 2:30 pm
Forum: C/C++
Topic: C vs Python for GPIO
Replies: 27
Views: 20706

Re: C vs Python for GPIO

Just use C++ (if compatible with your aims), and the standard library (optionally). I also see boost is available for the RP. This brings a whole bunch of love. If you want speed, you need to understand how the computer works. Do you really need dynamic arrays? Would a fixed size array serve your pu...

Go to advanced search