[ prog / sol / mona ]

prog


Systems programming

1 2022-07-24 13:39

Why are people online so obsessed with so-called ``systems programming''? From how they use it, it sounds like they just means badly re-implementing the GNU coreutils in Rust, but that does not really sound right.

2 2022-07-24 13:47

Have you read your APUE and TLPI?

3 2022-07-24 13:52

What are those?

4 2022-07-24 13:55

Aevanced Programming for the Unix Environmemt
The Linux Programming Interface

5 2022-07-24 14:31

You need to distinguish between "operating systems software" and "application software". The operating system is the software that runs the most fundamental of computing tasks. Application software is the software the primary reason for which they buy a computer. Generally speaking, people don't install an operating system for the sake of running an operating system, they install an operating system as the means to allow the application software to function on the computer hardware.

These people who are interested in implementing "systems software" (the fundamental computing software) are merely another niche within the extensive world of programming and computation.

6 2022-07-24 15:20

>>5
Isn't systems programming extensively used in userland applications too?
For example:
* a text editor will use various system calls for opening and writing files.
* a web browser will use the the operating system's sockets interface to open and close sockets.
* a clock application will use system calls to find the current time.

7 2022-07-24 17:14 *

>>6
Dude, the entire POINT of SYSTEMS PROGRAMMING is to BE USED in USER FACING PROGRAMS.
video gamu -> user plays and has fun happy!!!
video gamu engien -> user maek game for other user to play and have happy!!!

8 2022-07-24 18:55

So if video game engines are systems programming, are JavaScript frameworks too?

9 2022-07-24 21:23

>>6
I don't believe in distinguishing between kernel space applications and user space applications as such distinction holds meaning only to the professional IT expert. There's no fundamental reason why application software can't be loaded into kernel space and why many kinds of kernel software to be relocated into user space. The reason why we segregate is normally for the purpose of system administration as a kind of operating system protection.

Systems programming is indeed using within application software, but you need to consider who the target audience of the application is supposed to be. If the primary audience is for system administrators, programmers, and related experts that are going to configure and control the computer, it's probably a form of systems software. If these specific experts are not the target audience and the software's mission is to achieve any other application (e.g. download and render web pages from the network/Internet), it's probably a form of application software. Remember that these are not strictly mutually exclusive, as it's not too hard to consider the mission and target audience of the software.

10 2022-07-24 22:28

re-implementing the GNU coreutils in Rust

Rust is driven by trannies and they want to make world less transphobic by writing pronouns in twitter bio. Probably rewriting coreutils would help them in that.

11 2022-07-25 02:36

not rewriting the entire userspace in scheme

12 2022-07-25 03:40

>>10
Audible chuckle
Tranny Uprising Now!!

13 2022-07-25 08:58 *

>>10,12
Fuck off.

14 2022-07-25 09:59 *

>>13

Fuck on, you mean? Every tranny is simply a product of envy towards women for women have all the fun in gangbangs.

15 2022-07-25 10:46 *

/PitOfLunatics/ idiocy >>10,12 is not welcome on this board.

16 2022-07-25 13:20

/PitOfLunatics/

How is this translated from troon language?

Also, seems like there are 2 of us and only you on the opposite side. So we can say you are not welcome on our board, he/she soiboi.

17 2022-07-25 15:40 *

>>16
go back to 4chan, you are boring and gay

18 2022-07-25 16:17

>>17 Go back to reddit or twitter, you are too "vulnerable" for BBS.

19 2022-07-25 16:19 *

>>18
Just stop posting here. You have a thousand other imageboards where you can spam your boring shit.

20 2022-07-25 16:39

>>19 This isn't an imageboard retard.

21 2022-07-31 10:51

Did I just read "system programming" and "rust" in the same board? I think I'm going to throw up

22 2022-07-31 23:05

Good

23 2022-08-02 13:07

In my opinion, the only bad things about Rust are the "let's rewrite everything in Rust" mentality and CoCk politics.

24 2022-08-02 15:15

>>23
Then you obviously know like nothing about programming, small dip-shit!
- C compilers and other stuff is already present and C works well enough
- C is fast
- yet another programming language to learn? (even when insecting the source code - you'd have to learn it if you want to make sure you got no malware)
- I don't need my hand held
- I don't want 5 package managers, I want one and only one - the system's package manager.
- I don't want the programming language to encourage dependencies.
etc.

25 2022-08-02 15:21

>>24

Totally agree m8, but Rust is a replacement for monstrous C++, not for our lovely plain C.

And if someone is implying Rust is instead of C, they are retards and should take less estrogens.

I develop in C and Rust, don't see any issue.

26 2022-08-03 19:26 *

>>24

C isn't really that fast but
1) It's tradition
2) It's better for the style of programming where you have to keep the entire theory in your head so the solutions you create tend to be much lighter.

27 2022-08-04 12:03 *

>>26
So you must enjoy your endless examples of buffer overflowing and pointer misdirection.

28 2022-08-04 21:00 *

>>27
How about this:
It's like sailing.
No it's not fast, easy, or safe but it's fun, cheap, and works nearly everywhere and a lot of culture has built up around it. That's what programming in C is like.

29 2022-08-06 17:53

>>27

I wrote a C program last year, debugged all stuff you mention with Valgrind and that's it. This program will run for years, even decades to come.

I prefer this approach instead of endlessly fixing everbreaking dependencies, at least for my own programs, for which I don't get money for maintenance.

30 2022-08-08 15:14

endlessly fixing everbreaking dependencies

This. C makes dependencies a pain in the ass so most sane people avoid them. The results are light portable programs (for the most part, Gnome is a great example of what happens when insane people try to right C.)

31


VIP:

do not edit these