Announcement
Collapse
No announcement yet.
GNU Shepherd 0.6 Released - Adds Support For One-Shot Services
Collapse
X
-
Originally posted by wswartzendruber View Post
I just did an experiment writing the shortest program that returns 1, in both C and Rust. I used level 2 optimizations.
C (GCC): 18 KB
Rust: 255 KB
The following page lists, what you can do to get smaller binaries:
🦀 How to minimize Rust binary size 📦. Contribute to johnthagen/min-sized-rust development by creating an account on GitHub.
His minimal example, which only prints "Hello World!" is 8 kiB large.
- Likes 4
Leave a comment:
-
Originally posted by Vistaus View Post
So migrate to Shepherd then.
Leave a comment:
-
Originally posted by F.Ultra View Post(and there is nothing stopping anyone from writing a similar tool for systemd).
Leave a comment:
-
Originally posted by uid313 View PostI think it was just one command.
Leave a comment:
-
Originally posted by uid313 View Post
Oh, that sucks. This systemd isn't so good. I don't like having to create files and stuff.
I think it was much easier back in the days of Upstart, I think it was just one command.
Leave a comment:
-
Originally posted by starshipeleven View Postno.
if you want to run it on system boot you have to write the 2 text files from the other link https://www.linux.com/blog/end-road-...s-socket-units
I think it was much easier back in the days of Upstart, I think it was just one command.
Leave a comment:
-
Originally posted by uid313 View PostBut it is configured to always run on start.
if you want to run it on system boot you have to write the 2 text files from the other link https://www.linux.com/blog/end-road-...s-socket-units
Leave a comment:
-
Originally posted by starshipeleven View Post
Leave a comment:
Leave a comment: