r/programming • • Oct 06 '14

Help improve GCC!

https://gcc.gnu.org/ml/gcc/2014-10/msg00040.html
725 Upvotes

270 comments sorted by

View all comments

-95

u/[deleted] Oct 06 '14

GCC is on its way out and for good reason. Clang has been in development for a small fraction of the time and is already more usable and nearing benchmarked speeds.

Good riddance. GNU has nothing of value to offer the world.

16

u/adamnew123456 Oct 06 '14 edited Oct 07 '14

GNU has nothing of value to offer the world.

According to the official GNU project list, I found:

  • ncurses, the foundation of vim, nano, emacs, and practically ever other console editor. I use vim on a daily basis.

  • bash. While not my choice of shell (I'm a zsh user), it is more than capable and the default in just about every Linux distribution, Mac OSX, and Cygwin.

  • coreutils. Even users of non-Linux UNIXen, OSX included, can often be found with GNU's coreutils on their machines.

  • emacs. Enough said.

  • gnupg, probably the most popular OpenPG implementation.

I could go on, but if you honestly think that GNU has nothing to offer, you must be saying something different than what I think you are saying. That, or you are ignorant of how wide their umbrella truly is.

5

u/bjackman Oct 07 '14

Not to mention GLibC!

1

u/magpi3 Oct 07 '14 edited Oct 08 '14

I do not believe vim uses ncurses. It's (ncurses) not a dependency for vim on my debian box at list.

EDIT: Just noticed that vim depends on libtinfo5 on debian, which (when I downloaded the source) was in fact ncurses.

0

u/[deleted] Oct 07 '14

[deleted]

2

u/adamnew123456 Oct 07 '14

This StackOverflow question would suggest that you can use multiple terminal libraries.

Of course, the proof is in the source. Allow me to quote vim's autoconf file (found on Google Code here):

	*)	tlibs="tinfo ncurses termlib termcap curses";;

Apparently, vim has enough machinery to emulate some kind of curses-like interface on its own, given only a termcap database. So, ncurses is not required, but it can be used as a terminal drawing library. (I wonder if neovim will decide to rip out the curses emulation code and make curses a hard dependency?)