Questions tagged [linux-development]

21 questions
24
votes
3 answers

Why isn't there generic batching syscall in Linux/BSD?

Background: System call overhead is much larger than function call overhead (estimates range from 20-100x) mostly due to context switching from user space to kernel space and back. It is common to inline functions to save function call overhead and…
technosaurus
  • 343
  • 2
  • 6
15
votes
4 answers

What is a zombie process or thread?

What is a zombie process or thread, and what creates them? Do I just kill them, or can I do something to get diagnostics about how they died?
DeveloperDon
  • 4,958
  • 1
  • 26
  • 53
8
votes
9 answers

Would we need Docker if applications were better behaved?

A well-written program will be configurable. It will have a configuration file or database which specifies where to look for files, which network ports to open etc. An Operating System lets many programs run together at the same time. It can…
7
votes
1 answer

How is the Linux repository administrated?

I am amazed by the Linux project and I would like to learn how they administrate the code, given the huge number of developers. I found the Linux repository on GitHub, but I do not understand how it is administrated. For example the following…
David
  • 4,449
  • 6
  • 35
  • 48
7
votes
1 answer

Linux OS developers : do they unit test their code?

Linux OS developers : do they unit test their code ? If yes : since this OS is coded in C, how do they manage to write effectively unit tests in this language ? what are the "zones" in OS where unit testing is easier to write ? where is it harder…
mathieu
  • 197
  • 1
  • 6
4
votes
4 answers

Developing for a wide variety of Linux Desktops

I haven't developed any production applications for the Linux OS. There are a couple of things that bother me: As I understand different distros have different set of libraries Debian vs RPM packages Different UI - Gnome vs KDE What do people do…
Victor Ronin
  • 629
  • 1
  • 5
  • 14
4
votes
2 answers

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 decent programmer, mainly in c++ and objective c.…
Samuli Lehtonen
  • 627
  • 1
  • 5
  • 8
3
votes
1 answer

What development tools would you recommend for developing .NET apps in Mono that would give me the same productivity boost as Resharper?

Aside from using IDEs such as MonoDevelop, what combination of tools do you use in Mono development to give you the same productivity boost that one would normally gain by using R# in VS2010? EDIT: I'm trying to kick the R# habit and switch to Mono…
plaureano
  • 1,231
  • 1
  • 11
  • 13
2
votes
2 answers

No TDD For Linux?

I'm a long-time Java developer who's trying to make up his own mind about TDD. I've used JUnit since I first discovered it in 1998. I use it regularly, but I don't subscribe to "write the test first". My coverage will range from 60-90%; I'm not…
duffymo
  • 3,032
  • 16
  • 23
2
votes
2 answers

How to make custom libraries accessible?

I am trying to compile and install every custom module under it's own designated folder. (ex: /myApps/myLinux/compiled_app) I had luck with Python so far, where my Python is compiled from source and lives in: /myApps/myLinux/python2.5 and…
mbilyanov
  • 129
  • 1
  • 4
2
votes
1 answer

Which Linux distro to pick for volunteering?

The number of Linux distributions is large. Someone wanting to volunteer with one of them might have a hard time picking between them, because it's hard to sense the culture, environment, and level of community and esprit de corp. Also, some might…
maxpolk
  • 433
  • 3
  • 10
1
vote
1 answer

Process monitoring in Linux environment?

I'm trying to write a multi threaded/processes application and it need to know how to monitor a process from another process all the time. So here is what I have, I have a 2 processes, each with multiple threads that handle the network part, then…
poly
  • 407
  • 5
  • 18
0
votes
1 answer

Best software architecture approach for a single core system

Objective: Designing a data intensive application(myApp) C++ on Linux/RTOS which runs on a single core cpu, there are also 150 other applications share the same core with high priority than myApp. How the system looks: more than 150 C++ applications…
uss
  • 141
  • 5
0
votes
2 answers

What makes a program load so fast?

What makes programs like st, zathura, sxiv, and feh load instantly and what makes programs like VS Code and Google Chrome load so slowly in low-spec computers? For example, I have a low-spec laptop running Linux Mint. And when I execute st, it…
Wade Wayne
  • 21
  • 1
0
votes
1 answer

What is the best way to deploy commercial programs on Linux?

Due to the diversity of Linux distributions, it is quite common for programs to be distributed in source format together with scripts in order to assist the configure, make, make install sequence. When it comes to commercial programs, however,…
Gigi
  • 175
  • 7
1
2