Linux is a popular, open source operating system kernel. Linus Torvalds started development of the kernel in 1991.

learn more… | top users | synonyms

115
votes
19answers
85k views

Is there any reason to use C++ instead of C, Perl, Python, etc.? [closed]

As a Linux (server side) developer, I don't know where and why should I use C++. When I'm going to performance, the first and last choice is C. When "performance" isn't the main issue, programming ...
97
votes
10answers
26k views

Is Ken Thompson's compiler hack still a threat?

Ken Thompson Hack (1984) Ken Thompson outlined a method for corrupting a compiler binary (and other compiled software, like a login script on a *nix system) in 1984. I was curious to know if modern ...
49
votes
16answers
7k views

moving from Windows to Linux [closed]

I need to reconcile these 2 facts: I don't feel comfortable working on Linux; I need to develop software for Linux. Some background: I have a 10+ years of programming experience on Windows (almost ...
47
votes
7answers
21k views

Difference between '\n' and '\r\n'

Yes yes, I am aware that '\n' writes a newline in UNIX while for Windows there is the two character sequence: '\r\n'. All this is very nice in theory, but my question is why? Why the carriage return ...
32
votes
9answers
62k views

Comparison of IDEs for C++ and C development on Linux: KDevelop, Eclipse, NetBeans, CodeBlocks and Anjuta [closed]

I'd like to note your experience of full scale IDEs on Linux. I personally work mostly with vim, however other programmers would like to see a real IDE. So I'd like to hear your personal opinion ...
28
votes
14answers
6k views

Should a programmer know Linux? [closed]

I'm a PHP/Python programmer learning Java and C#(.NET). My main OS is windows 7 but I've used Linux and currently dual-booting with Ubuntu. My Linux knowledge however, is pretty limited. I can work ...
27
votes
10answers
4k views

Is it worth moving from Microsoft tech to Linux, NodeJS & other open source frameworks to save money for a start-up? [closed]

I am currently getting involved in a startup, I am the only developer involved at the moment, and the other guys are leaving all the tech decisions up to me at the moment. For my day job I work at a ...
24
votes
8answers
4k views

Why don't developers make installation wizards on linux? [closed]

I'm sure it's not about laziness or anything like that but I fail to understand why developers of even mainly consumer facing apps don't make any sort of installation wizard where you go ...
22
votes
8answers
3k views

Any basic difference between Unix and Linux in design and other aspects? [closed]

I keep reading this sentence: Linux is a Unix-like system, but it is not Unix. I don't know what's the real difference between the two. I know Linux got a lot of ideas from Unix and the licenses ...
21
votes
1answer
2k views

Any experience with Mono on production servers? [closed]

I am curios to use .NET for some web applications (e.g. ASP.NET MVC 2). However my budget is limited so I would like to use Mono on Linux. I have never used Mono before, and I haven't read about any ...
17
votes
7answers
4k views

Is there a technical reason why you can't develop iOS apps on a Linux computer?

I understand why you can't develop OS X apps on a Linux computer, but is there a good technical reason why you can't develop iPhone and iPad apps on Linux? Why isn't it possible to compile iOS source ...
16
votes
12answers
5k views

Interviewing someone for general unix skills

How would you test a developer that claims to have *nix shell experience (just to be clear, we don't want to test if someone can develop on *nix, only that they know their way around the command ...
15
votes
7answers
2k views

Is it possible to effectively develop PHP applications on Windows that will be deployed on servers running Linux?

Is it fine to code PHP on Windows and host it later on a server running Linux? Can there be any problems in the migration of such a project? I would think that there really can't be any problems, ...
14
votes
10answers
8k views

Should we choose Java over C# for a new project? [duplicate]

We have a team of .NET developers (C#) with a range of experience from 2 to 6 years. Over the last few years we have been developing Silverlight, ASP.NET MVC, and WPF applications. However, there is a ...
14
votes
6answers
4k views

Git-friendly spreadsheet format? [closed]

We're trying to move our project documentation process from Google Documents to a set of self-hosted Git repositories. Text documents are Git-friendly enough, since we usually do not need any fancy ...
14
votes
5answers
2k views

What's the best way to move to linux from windows for web development? [closed]

I am primarily a programmer developing on windows based OS using C# as my primary language. I am evaluating Ubuntu Linux as an alternate platform and would like to know the best stack for doing web ...
13
votes
9answers
2k views

How to tackle massive Linux/makefile projects effectively?

I have been developing Windows applications in C++ for like 10 years now. And recently I've started digging into some Linux projects, and I can't stand how unproductive I am... I'm a fast learner, ...
12
votes
9answers
3k views

Is Cygwin or Windows Command Prompt preferable for getting a consistent terminal experience for development?

The question: Which is better, installing cygwin or one of its cousins on all my windows machines to have a consistent terminal experience across all my development machines, or becoming well trained ...
12
votes
7answers
3k views

How much does a web developer need to know about Linux? [closed]

I was just wondering if a typical PHP developers needs to be very familiar with Linux. I am studying Linux right now and I believe some of linux knowledge is not required for a PHP developer job (not ...
11
votes
7answers
2k views

Emacs and “self-reinforcing performance”

In short, my question for you hardcore Emacs users is this: have you achieved this "self-reinforcing performance" Steve Yegge talks about? Emacs is self-hosting: writing things in it makes the ...
11
votes
5answers
1k views

Starting Linux Programming

I am a long time .NET developer and I have worked with Mono but I now want to start programming for Linux, what would be a good source to start native Linux development?
10
votes
9answers
3k views

What is a dedicated Linux box used for?

So this is probably a very basic and obvious question for most people, but my google-fu is failing me and it just seems something is going over my head. I've heard numerous people refer to having a ...
10
votes
7answers
4k views

How to get started in opensource projects and programs [duplicate]

I am interested in starting to learn how to contribute to open source projects and Linux in general. I am a first year B.Sc. Computer Science student this year and we use c++ as our main programming ...
10
votes
8answers
1k views

free as in free beer

Some years ago (more precisely in 1998) the confusion english-speaking people start making with the term free when applied to software led some members of the free software foundation to create a new ...
10
votes
3answers
2k views

What are some interesting but not too difficult projects for a beginner kernel hacker?

Having taken a course in Operating Systems I'm interested in expanding my knowledge of the Linux kernel and practice working with a big system. What are some interesting but not overly difficult ...
10
votes
1answer
3k views

Embedded Linux vs Windows Embedded Standard 7

Ok looking for some really subjective answers. My company has traditionally been a Linux shop, we manufacture and sell purpose built boxes for video security. We recently decided to build an ...
9
votes
3answers
3k views

Can I use Linux/Mono instead of Windows/Visual Studio without any problem?

I have more than 6 years of experience with .Net (C#/ASP.NET) and Visual Studio. But recently I'm tempted to switch to Linux/Mono. It comes up with some questions: Can I run my old Visual Studio ...
9
votes
3answers
981 views

Lock-free IPC in Linux for multi-core processors

I'm trying to find a way to write an application with lock-free IPC on Linux, in C, with multi-core processors. Let's assume I have process 1 and process 2 that write to a FIFO or shared memory. Then ...
8
votes
5answers
4k views

What advantages does Linux give me when developing in PHP for the web? [closed]

I'm about to begin a big PHP project with a friend. It's my first time using PHP and I've been wondering wether I should try developing on Linux since it's so popular. I've had some past experience ...
8
votes
3answers
387 views

New to programming. How do I meet people to expand my programming knowledge and discourse? [closed]

I've been a tinkerer of tech and programming, but books and online resources only go so far. I want a community to engage in discussions about programming to take me beyond what books can give (also, ...
7
votes
9answers
3k views

What is the difference between being an IT in investment bank and a professional IT company? [closed]

Suppose there are two positions: IT in investment bank: developer for the infrastructure or the platform a famous IT company: embedded developer, linux As far as I understand, since in the ...
7
votes
3answers
1k views

How was Git designed?

My workplace recently switched to Git and I've been loving (and hating!) it. I really do love it, and it is extremely powerful. The only part I hate is that sometimes it's too powerful (and maybe a ...
7
votes
9answers
1k views

What is the way to understand someone else's giant uncommented spaghetti code? [duplicate]

Possible Duplicate: I’ve inherited 200K lines of spaghetti code — what now? I have been recently handled a giant multithreaded program with no comments and have been asked to understand ...
7
votes
1answer
934 views

“Read” a file without using a file pointer

I was asked this question in an interview. I'm somehow supposed to "read" a file into my C program as input without using a file pointer (including "f" functions, e.g. fgets, fscanf etc.). I'm also ...
7
votes
3answers
3k views

What is the relationship between OpenGL, GLX, DRI, and Mesa3D?

I am starting out doing some low-level 3D programming in Linux. I have a lot of experience using the higher level graphics API OpenInventor. I know it is not strictly necessary to be aware of how ...
7
votes
7answers
2k views

How can I make my PHP development environment more efficient?

I want to start a home-brew pet project in PHP. I've spent some time in my life developing in PHP and I've always felt it was hard to organize the development environment efficiently. In my ...
6
votes
2answers
4k views

How are the size of the stack and heap limited by the OS?

Note: if you need to consider a specific OS to be able to answer, please consider Linux. Whenever I run a program, it will be given a virtual memory space to run in, with an area for its stack and ...
6
votes
5answers
5k views

Is there a way to publish IOS app from windows/Linux?

I have been using Linux (especially, Ubuntu) and Windows 7 for a long time. I want to publish iOS apps, but I don't have a Mac or an iPhone. I don't have anyone near me who will lend me a Mac, and I ...
6
votes
1answer
507 views

Does change the license under which Linux is released need the permission of all the copyright holders?

As far as I know Linus holds the copyright to Linux. While looking around in the kernel sources, I see that almost every file has it's own copyright holders. For example the file module.c in the ...
5
votes
3answers
2k views

Lowercase in Linux file names

As I find that UpperCase are really readable for first letter word separation in long complex names, I tend to give some of my Linux files names with some UpperCase. Mostly executables, some ...
5
votes
5answers
989 views

Is it necessary to learn Makefiles when you have an IDE?

I have recently began studying Makefiles in Linux. I have ample experience developing applications with advanced IDEs, such as Visual Studio. My first impression and query after reading a few ...
5
votes
2answers
522 views

Programming your own linux distribution?

So, during the couple of days I've been thinking what it takes to make your own linux distribution. Where should I actually start? I'd like to have some very basic tips for this. I consider myself a ...
5
votes
4answers
770 views

Is it possible to create a 2d game for both linux and windows with next to no changes?

I'm starting a project with friends which would preferably reach both audiences of windows and linux. The only problem is that none of us have any experience of linux porting or linux coding any way. ...
5
votes
2answers
2k views

Why are all desktop environments but KDE using GTK? [closed]

I recently did some hacking with Qt, and found it quite pleasant. Then I switched distributions on my laptop a couple of time, and noted that only KDE is using Qt, all the others are using the Gnu ...
5
votes
7answers
2k views

Linux distro for software development support?

I've spent too much time on setup & maintain a development server, which contains following tools: Common services like SSH, BIND, rsync, etc. Subversion, Git. Apache server, which runs CGit, ...
5
votes
3answers
595 views

Is there much difference between X86 Assembly language on Windows and Linux?

I'm a complete beginner at Assembly, and my aim is to learn as much as I can to do with Assembly to one day I can reach expert level (I know I'm way off right now, but you never know). My only problem ...
5
votes
3answers
496 views

Unit Testing For Different Environments

How does one do unit testing for multiple environments that behave differently? Here is my problem. I have a PHP class for which I'd like to create unit tests. The class provides shortcuts for ...
5
votes
5answers
1k views

How do I learn linking compiling, makefile quickly? Any book recommendations? [closed]

I'm very good at programming in C++ but when it gets to linking and the other important stuffs I feel very ignorant. I want to learn allegro without wasting time. So please suggest a book or a ...
5
votes
1answer
691 views

Embedded systems learning: next step [closed]

I am a newbie trying to learn embedded systems programming on ubuntu. I've tried the below link: http://www.linuxfordevices.com/c/a/Linux-For-Devices-Articles/Tutorial-A-simple-embedded-Linux-system/ ...
5
votes
4answers
864 views

Using Windows tools to edit Linux project files [closed]

In the spirit of getting new people on the project up to speed and leveraging their familiarity with existing Windows tools, what are possible options for cross-platform editing/development? Of ...