News for hackers. Stuff that matters.
Re:What's your favorite text editor/IDE? by bigiain on Monday March 21, 2011 @05:21AM (#2348996)
The greybeards all say "unix is an ide".

I think I first heard that from Tom Christiansen when he was heavily involved in the Perl community back in the mid '90s.

Even today, some of the most productive programmers I know only use X/Gnome/KDE(/OSX) as a means of organising terminals on modern hardware.

Re:What's your favorite text editor/IDE? by dexen on Monday March 21, 2011 @06:43AM (#2349133)
Unix was taken one step further with Plan 9. On P9, the two common editors are Sam [1] and Acme [2]. While not IDEs per se, Acme yields very well to scripting. A bunch of scripts tailored to the current project really makes my day.

Acme has that neat feature of interpreting text as potential hypertext -- each of several addressing formats [3], when clicked, opens indicated file or resource, at the indicated point. Click on compiler error message and you get there. Prepare a command, click on it and you execute it. Etc., etc.

Also, unlike the mainstream IDEs and editors, those two work surprisingly well over network.

----

[1] http://en.wikipedia.org/wiki/Sam_(text_editor)

[2] http://en.wikipedia.org/wiki/Acme_(text_editor)

[3] implemented via http://en.wikipedia.org/wiki/Plumber_(program)

Re:What's your favorite text editor/IDE? by nikuda on Monday March 21, 2011 @09:05AM (#2349458)
What is the latest news with Plan 9? I thought the development stopped?
Re:What's your favorite text editor/IDE? by dexen on Monday March 21, 2011 @11:45AM (#2350204)
Best check with 9fans mailing list [1] and cat-v.org [2]; both are quite active.

There are two main branches of Plan 9: the official, Bell Labs one [3], which is somewhat conservative (nonetheless the install iso is updated frequently), and 9atom [4], maintained by Erik Quanstrom, which has some more experimental features.

The core of the OS seems to be mostly established; both the 9P protocol (current version called `9P2000') that binds everything, several important fileservers and baseline libraries.

Probably the best is to look through contrib [5], which is where the userspace stuff is brewing.

Aside of the P9 proper, there is plan9port [6] maintained by Russ Cox -- collection of most of P9 utilities ported to generic POSIX environment (Linux, MacOS X etc.) [[and that's what I am using daily]] and 9vx [7] -- P9 ported to run in vx32 virtual machine.

In general, both classics like LaTeX and the newest, like Google's Go are ported to Plan 9 -- either natively, or, in some cases, through APE.

----

[1] http://9fans.net/archive/

[2] http://cat-v.org/

[3] http://plan9.bell-labs.com/plan9/

[4] http://www.quanstro.net/plan9/9atom/

[5] http://plan9.bell-labs.com/wiki/plan9/Contrib/index.html and http://plan9.bell-labs.com/wiki/plan9/Contrib_index/index.ht...

[6] http://swtch.com/plan9port/

[7] http://swtch.com/9vx/

Re:What's your favorite text editor/IDE? by nikuda on Tuesday March 22, 2011 @01:21AM (#2353236)
Thank you for the detailed reply. Good to hear that there is still activity there.
Re:What's your favorite text editor/IDE? by beza1e1 on Tuesday March 22, 2011 @03:20AM (#2353474)
Unix is a "DE", without the "I". This is a good thing. The "I" would mean that the parts would not be reusable in other contexts. While you can use "sed" for many things, you cannot do that with Eclipse's search-and-replace dialog.
Re:What's your favorite text editor/IDE? by jasonkester on Monday March 21, 2011 @06:45AM (#2349139)
That's probably because they're mistaken as to what an IDE is.

In my mind, if it's not background compiling your code as you type, it's not an IDE in the modern sense.

Re:What's your favorite text editor/IDE? by bigiain on Monday March 21, 2011 @06:35PM (#2351970)
Out of curiosity, what's the biggest software project you've worked on? (maybe measured by something stupid like KLOC or possibly "total time to compile")

I doubt Linus thinks "compile while you type" is a good idea, I'm not sure how much further down you need to scale until it does become a useful feature.

Re:What's your favorite text editor/IDE? by mooism2 on Tuesday March 22, 2011 @06:38AM (#2353771)
In terms of feedback from compile errors, the important size is the size of the source file you're working on, not the overall size of the project.
Re:What's your favorite text editor/IDE? by wisty on Monday March 21, 2011 @07:09AM (#2349190)
inotify? You can get the OS to respond to filesystem events, for example, compiling as you type.

Scripting languages don't need this though.

Re:What's your favorite text editor/IDE? by jasonkester on Monday March 21, 2011 @07:23AM (#2349224)
Scripting languages don't need this though.

Did you miss the reason why we're compiling while you type? It's so that our IDE knows your codebase and can help you. It'll autosuggest things based on context rather than simply matching strings. It'll inspect your object model and stick in the right include directives for you. It'll let you rename things without having to search&replace&hope.

So yes, scripting languages do need this. At least if we're talking about things that your development environment needs to do to be considered a modern IDE.

Re:What's your favorite text editor/IDE? by jcw on Monday March 21, 2011 @09:35AM (#2349553)
I'm surprised no one has suggested a vim or emacs plugin that does this yet. Anyone?

I don't think this would be too difficult to write in vim, which has built-in auto-complete functions.

Re:What's your favorite text editor/IDE? by mooism2 on Tuesday March 22, 2011 @06:32AM (#2353760)
I find running tests automatically when I save is quite helpful, for interpreted languages as well as compiled languages.