The Gnu Compiler Collection (GCC) is the main C compiler for Linux development and runs on many other platforms. If you want to learn programming on very inexpensive equipement, the Raspberry Pi is really excellent. The Raspberry Pi is a great learning environment. We’ve now run the same program in Python, Scratch, Fortran and C. In this article we’ll re-implement in C our flashing LED program that I introduced here. Admittedly I do all my programming these days in Python, but sometimes Python is frustratingly slow and then I miss C. I think there are a lot of productivity benefits to languages like Java and C# which take away the most dangerous features of C (like memory pointers and memory allocation/deallocation), I still find C to be very efficient and often a quick way to get things done. But I think at heart I still have a soft spot for C and enjoy the fun things you can do with pointers. I’ve done a lot of programming in the object oriented extensions to C including C++, Java, C# and Objective-C. I’ve been a C programmer for much of my professional career starting at DREA and then later on various flavours of Unix at Epic Data and then doing Windows programming at a number of companies including Computer Associates / Accpac International / Sage. In this article I want to get back to C programming on the Raspberry Pi. I installed the Code::Blocks IDE to do some C programming, but when I saw the Fortran support I took a bit of a side trip. I blogged on programming Fortran a few articles ago, this was really a tangent.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |