rfrazier
Posts: 60
Joined: Fri Jul 25, 2014 5:14 am

go ide for pi

Wed Jul 30, 2014 12:17 am

Hi all,

I'm looking to begin learning the go language on my pi b+. I'd like a basic IDE which can do multi file edits and saves, function expand / collapse, syntax highlighting, syntax checking, accessing the help for the language, debugging, and such. Project management capabilities would be a plus. I have just enough experience with vim to be dangerous, literally. (I can create a file of a few lines and save it.) And, I understand that vim can be configured to act as an IDE. However, I'm not stuck on that idea. I prefer a graphical environment, but couldn't find gvim (which I've used on Ubuntu) in the raspbian respoitories. I'm not trying to start a flame war, just trying to find something which will work well within the limitations of the pi b+. I used to have a very cool dos editor for editing Clipper files long ago, but cannot remember it. (Long ago!) I think even gedit on ubuntu did some of what I want, but maybe not all. I think that's a gnome app, and I'm not sure if I can install a gnome app on the pi. I'm content to edit, compile, run, and debug on the pi as long as it's not too slow. If I have to, I can do that on another machine and transfer the programs over. Suggestions?

Sincerely,

Ron
(PS - If you email me and don't get a quick response, you might want to send again after a couple of weeks. I don't always see new email messages quickly.)
Ron's Tech Rant Blog: techstarship.com - Blog RSS: techstarship.com/feed/
Ron Frazier

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: go ide for pi

Wed Jul 30, 2014 1:03 am

Tried googling and looking at my favorite IDE to see if it supports it, but it is probably a better idea to learn something more suited for the pi like Python. There is a GUI IDE for that called Geany. If you want to learn go, your best bet is to do that on a desktop.
There are 10 types of people: those who understand binary and those who don't.

rfrazier
Posts: 60
Joined: Fri Jul 25, 2014 5:14 am

Re: go ide for pi

Wed Jul 30, 2014 5:54 pm

Hi Kusti,

I looked at the Geany web pages briefly. That's something I'll have to keep in mind. It looks pretty cool. Apparently it supports both Ruby and Python, but not Go.

I'm pretty biased toward Go at this point. The main reasons are, it's compiled, fast, and has it's own garbage collector.

I'm willing to learn Python if I have a need for it, but only have so much time to learn so many things. I don't know much about it. I know it's popular and has a large community. By searching for things like ruby vs python or go vs python in google, I know there are lots of libraries and scientific usage of it.

I really don't like the idea of significant white space. Not trying to start a flame war there. But, the idea that an otherwise perfect set of statements would fail to function because it's indented wrong just bugs me. No offense to any Python fans. I still have to do more research though.

One thing I want to do is to send high speed pulses, in the uS range, out of the gpio pins and have them interact with coils of wire for experimentation. I THINK Go should execute faster than Python or Ruby. I know C or assembly might be faster still, but I'm not prepared to make that intellectual leap. I specifically chose Go because I want to avoid the memory management headaches of C, for example.

Sincerely,

Ron
(PS - If you email me and don't get a quick response, you might want to send again after a couple of weeks. I don't always see new email messages quickly.)
Ron's Tech Rant Blog: techstarship.com - Blog RSS: techstarship.com/feed/
Ron Frazier

Return to “Other programming languages”