Skip to main content
12 votes

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

You're in luck, the Linux developers agree with you, and as of Linux 5.1 it includes the io_uring subsystem. It works a bit differently from your design. It consists of a ring buffer for messages, the ...
JanKanis's user avatar
  • 451
12 votes

Would we need Docker if applications were better behaved?

A major benefit of virtual machines and containers is the way you can isolate an application from any other applications, and reason about it as being a separate entity with clear interfaces that you ...
Arseni Mourzenko's user avatar
4 votes

Feasibility of adding drivers to linux kernel

This is not a "philosophy of Linux", it's a fact of life: over time, new hardware is invented, and needs new software to interface with it. This is true of every OS, in proportion to the ...
IMSoP's user avatar
  • 5,957
4 votes
Accepted

Feasibility of adding drivers to linux kernel

I have question regarding Linux kernel, as far as I understand, to make Linux compatible with different machines and hardware, different device driver is added to the Linux That is correct, but the ...
Bart van Ingen Schenau's user avatar
4 votes

How does one reliably test core Linux software (like package managers, UNIX utils, desktop environments, kernel modules, etc.)?

You typically use a test environment that can easily be reset or rebuilt to a good state. There are different possibilities: Dedicated real machines (normally required for testing drivers), virtual ...
Hans-Martin Mosner's user avatar
3 votes

Best software architecture approach for a single core system

First, the number of cores in your system is not an issue that would change your approach. The one relevant thing I get from your story is that data is provided in some buffer that needs to be read in ...
Martin Maat's user avatar
  • 18.6k
3 votes
Accepted

Deciding between logic on the front-end or back-end

You don't have many details in your question, so I can only provide a very general answer. If the front end and backend need to agree on a list of values, then the backend should have this list, and ...
Greg Burghardt's user avatar
3 votes

Would we need Docker if applications were better behaved?

You are correct. In a perfect world, everything that Docker does (whatever that may be) would be done by the operating system. Containers are just another form of process isolation, which is a core ...
Stack Exchange Broke The Law's user avatar
3 votes

Would we need Docker if applications were better behaved?

An Operating System lets many programs run together at the same time. It can place each program in a separate directory, no problem there. So why is Docker neccessary? Is it possible that the main ...
user355880's user avatar
3 votes

How to Create an Application on Linux?

Invoking command anywhere from the terminal means that the command is available in the PATH. PATH is an environment variable containing an order list of directories. Whenever a command is called the ...
JayZ's user avatar
  • 837
3 votes

Interested in contributing to ChromiumOS: What steps should I take to prepare?

To be honest, don't bother cutting your teeth on a project you are not passionate about. That is called work. If you want to contribute to Chromium (or any project for that matter). find their ...
Kain0_0's user avatar
  • 16.6k
2 votes

Would we need Docker if applications were better behaved?

Let's take this from the top, shall we? 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 ...
Thomas Girard's user avatar
2 votes

Would we need Docker if applications were better behaved?

Your question is based on an expectation that we can unify operating systems in a way that application files are universally compatible. In other words: That's the long and short of it, really. If it ...
Flater's user avatar
  • 59.5k
1 vote

How does one reliably test core Linux software (like package managers, UNIX utils, desktop environments, kernel modules, etc.)?

The answer to the question is not really OS-dependent, but at the same time, it is. For example, on Linux, you can test the window manager, and if it breaks, you don't have to reboot, whereas on ...
coteyr's user avatar
  • 2,583
1 vote
Accepted

What makes a program load so fast?

There are a couple of things which make a program "slow" Doing lots of things. Chrome does a lot more stuff than st or your other examples Being big. Big programs have more information to ...
Ewan's user avatar
  • 84.6k
1 vote

Would we need Docker if applications were better behaved?

You said, Operating Systems abstracted Displays, File Systems, Memory so that Applications could share the same hardware. Docker and Kubernetes abstract away Machines and Networks, so that ...
Thorbjørn Ravn Andersen's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible