Page 2 of 3

Re: Your opinion on ubuntu?

Posted: Fri Jan 14, 2011 11:57 am
by N64vSNES
That went wrong in translation.

I meant to say "Apart from code-blocks sucking with GCC"

You guys can't seriously like GCC?!?!

Re: Your opinion on ubuntu?

Posted: Fri Jan 14, 2011 12:09 pm
by dandymcgee
ismetteren wrote: It is like, for example a Java program, doesn't really "fit" in the system.
That doesn't bother me none. :lol:

Re: Your opinion on ubuntu?

Posted: Fri Jan 14, 2011 2:03 pm
by ismetteren
dandymcgee wrote:
ismetteren wrote: It is like, for example a Java program, doesn't really "fit" in the system.
That doesn't bother me none. :lol:
You are not using a single program running on the JVM?

Even for C++ programs I find it a mess. I searched my system for "firefox" and here is some of the directories i found files in:
/usr/bin
/usr/lib/firefox-3.6.13
/usr/share/doc
/etc
/etc/alternatives
/etc/firefox/pref
/usr/share/doc/firefox
/usr/share/applications

If i wrote a C++ program i would have no idea about how to install it besides throwing it all in to /opt and making a symlink in /usr/bin (this approach actually sounds quite reasonable to me, i just wish the directories where named and laid out so it made sense and didn't feel like a hack)

Also, not all programs come packaged for being installed on filesystems like this. Lately i have installed the go programming language, which don't come with any installers, so you have to figure it out yourself. I don't even think it is possible to split the program up in different folders like that without altering the sources(i might be wrong off course, but it is not easy). I just threw it into some folder and added /path/to/go/bin to the PATH env variable.

Re: Your opinion on ubuntu?

Posted: Fri Jan 14, 2011 2:34 pm
by Ginto8
ismetteren wrote:Also, not all programs come packaged for being installed on filesystems like this. Lately i have installed the go programming language, which don't come with any installers, so you have to figure it out yourself. I don't even think it is possible to split the program up in different folders like that without altering the sources(i might be wrong off course, but it is not easy). I just threw it into some folder and added /path/to/go/bin to the PATH env variable.
Did you even look at the (very easy and comprehensive, I might add) installation guide? Everything is said. Yes, you need to use PATH for it, but that's because Go is not intended to be normal. They designed it to work in its own little world, with its own runtime, an entirely different compiler system, and a poor and slow way of interfacing with C. It's not SUPPOSED to integrate because it's almost completely disparate from the rest of your system, which is all C or C++ based (mostly C for the core OS stuff).

Re: Your opinion on ubuntu?

Posted: Fri Jan 14, 2011 2:59 pm
by N64vSNES
I really don't know what everyone is talking about anymore, but it looks like a argument....That Gino8 is winning?

Re: Your opinion on ubuntu?

Posted: Fri Jan 14, 2011 3:51 pm
by ismetteren
Ginto8 wrote:
ismetteren wrote:Also, not all programs come packaged for being installed on filesystems like this. Lately i have installed the go programming language, which don't come with any installers, so you have to figure it out yourself. I don't even think it is possible to split the program up in different folders like that without altering the sources(i might be wrong off course, but it is not easy). I just threw it into some folder and added /path/to/go/bin to the PATH env variable.
Did you even look at the (very easy and comprehensive, I might add) installation guide? Everything is said. Yes, you need to use PATH for it, but that's because Go is not intended to be normal. They designed it to work in its own little world, with its own runtime, an entirely different compiler system, and a poor and slow way of interfacing with C. It's not SUPPOSED to integrate because it's almost completely disparate from the rest of your system, which is all C or C++ based (mostly C for the core OS stuff).
And this is exactly my problem. Why does linux have to be a C/++ environment just because it is written in it? Why are programs written in anything other than that second class citizens?

and btw, Go is written in C(maybe C++ idk).

Re: Your opinion on ubuntu?

Posted: Fri Jan 14, 2011 4:20 pm
by JaxDragon
N64vSNES wrote: You guys can't seriously like GCC?!?!
I havn't had a major problem with it.

Re: Your opinion on ubuntu?

Posted: Fri Jan 14, 2011 4:25 pm
by ismetteren
JaxDragon wrote:
N64vSNES wrote: You guys can't seriously like GCC?!?!
I havn't had a major problem with it.
Me neither, and what would the better alternatives be?

Re: Your opinion on ubuntu?

Posted: Fri Jan 14, 2011 4:45 pm
by eatcomics
ismetteren wrote:
JaxDragon wrote:
N64vSNES wrote: You guys can't seriously like GCC?!?!
I havn't had a major problem with it.
Me neither, and what would the better alternatives be?
Lol I think nico just doesn't know how to debug xD As per this whole C/Go file path thing, I'm lost as well Nico :P

Re: Your opinion on ubuntu?

Posted: Fri Jan 14, 2011 5:03 pm
by ismetteren
eatcomics wrote:As per this whole C/Go file path thing, I'm lost as well Nico :P
Go was just an example. My point is that programs that are not written in C/++ are annoying to deal with in the linux directory structure. And that even when you write C/++ programs, the files are scattered around the entire system, which means that i have no idea where i would put the different parts, even if i wrote a C/++ program, to make it fit the system.

Re: Your opinion on ubuntu?

Posted: Fri Jan 14, 2011 5:21 pm
by TheBuzzSaw
What do you hate so much about GCC? Frankly, I think it's great.

Re: Your opinion on ubuntu?

Posted: Fri Jan 14, 2011 8:17 pm
by Ginto8
ismetteren wrote:
eatcomics wrote:As per this whole C/Go file path thing, I'm lost as well Nico :P
Go was just an example. My point is that programs that are not written in C/++ are annoying to deal with in the linux directory structure. And that even when you write C/++ programs, the files are scattered around the entire system, which means that i have no idea where i would put the different parts, even if i wrote a C/++ program, to make it fit the system.
For C/++, libraries go in /usr/lib, binaries go in /usr/bin, and headers go in /usr/include.
Also, it's not that linux doesn't allow other languages to integrate well (have you seen D? That integrates almost perfectly), it's that Go simply doesn't want to. If its developers wanted to, they could have it integrate into the system by default. Hell, if you wanted to you could do it too, with some messing with compiler/linker flags and some copying or symlinks. Java, however, is another story. It's just... weird.

Re: Your opinion on ubuntu?

Posted: Fri Jan 14, 2011 9:25 pm
by dandymcgee
ismetteren wrote:
dandymcgee wrote:
ismetteren wrote: It is like, for example a Java program, doesn't really "fit" in the system.
That doesn't bother me none. :lol:
You are not using a single program running on the JVM?
That was meant mostly as a joke, I get what you're saying. Ironically enough though, a number of JVMs are indeed written in C++.

Re: Your opinion on ubuntu?

Posted: Fri Jan 14, 2011 9:28 pm
by Ginto8
dandymcgee wrote:
ismetteren wrote:
dandymcgee wrote:
ismetteren wrote: It is like, for example a Java program, doesn't really "fit" in the system.
That doesn't bother me none. :lol:
You are not using a single program running on the JVM?
That was meant mostly as a joke, I get what you're saying. Ironically enough though, a number of JVMs are indeed written in C++.
just curious, how is a JVM written in C++ ironic? It needs to be able to interpret bytecode, sometimes JIT portions, and basically run as an abstraction layer. I see no irony in the choice of C++ as an abstraction layer for the bytecode ;)

Re: Your opinion on ubuntu?

Posted: Fri Jan 14, 2011 10:01 pm
by avansc
TheBuzzSaw wrote:What do you hate so much about GCC? Frankly, I think it's great.
GCC is garbage, it does not adhere to any standard strictly, and lets you do things that are not legal per the C/++ spec, you can write code that will work fine, but run it though a decent compiler like the intel C or MS C compiler and it might just blow up..

That being said I do use it, but I assure you, as soon as LLVM get full C++ support, most likely when xcode4 is released im kicking it.