Linux Containers From Scratch in C

learnbyexample@programming.dev to Linux@lemmy.ml – 155 points –
barco: Linux Containers From Scratch in C.
lucavall.in
9

Looks like a cool project ! But uuhg, i’m already struggling with native docker sometimes, and having hard times with bash scripts...

Makes me feel sad... learning something like C must make you feel like a super hero! but totally out of my league !

If only I had read the books my father bought back then... rather than playing counter-strike 1.5 xD

There is really no reason to implement extensively audited runC in C, but the Dev only has the journey, no goals.

I just found myself that C is the worst programming language as many people say, but the security and simplicity is more than any language in security. Thank you so much for this!

Nobody:

C: "Lemme just accept anything the user gives me, write beyond the input buffer, glitch out, and start executing whatever the fuck the user injects in there."

Still a decent language though, but like an oxy-acetylene torch, it's powerful tool, but you better know what you're doing.

How is C more secure than Rust? Doesn't it lack features such as safe memory handling?

In that talk he called C “the worst language” and said he chose it to troll the industry. How does that support your point?

He also said that you should choose “least privilege” whenever possible. That is precisely the value that Rust brings over C. So how does that talk support the idea that C is more secure than Rust?

I think you misunderstood or.. don't get the point "worst language" part from what he said. My point come from his point who's more expert. If you think like that, what can I say? and I'm not trying convience you to understand too..

Back to your knowledge and understanding. But at least for me, I agree with him that rust is 'hype-like' or 'pop culture' thing. Like cyrpto (he said in ask session), but from technical perspective, that I personally understand. I just lost the source to explain this, but it's up to you..