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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
linux-development × 23linux × 12
operating-systems × 4
c × 3
testing × 2
multithreading × 2
software × 2
linux-kernel × 2
design × 1
c++ × 1
python × 1
unit-testing × 1
git × 1
web-applications × 1
open-source × 1
performance × 1
tdd × 1
libraries × 1
code-reviews × 1
github × 1
deployment × 1
debugging × 1
development-environment × 1
go × 1
reactjs × 1