Live data from Hacker News

Memory safety for the world’s largest software project

memorysafety.org

11–20 of 62 posts

Re: Memory safety for the world’s largest software project

#11
post #9

Can we talk about “world’s largest”? This seems extremely unlikely by any measure.

kinda feel like the title is earned. Linux (to my knowledge) is the most used operating system in the world and runs on all of the top 500 fastest super computers.

Re: Memory safety for the world’s largest software project

#12
post #9

Can we talk about “world’s largest”? This seems extremely unlikely by any measure.

What do you think is a larger software project? Could argue for SQLite being deployed more widely. But it's hardly even 1% of the overall code surface of the Linux kernel.

Re: Memory safety for the world’s largest software project

#13
post #10
post #5

Earlier quoted context omitted.

With the caveat that, naturally, these APIs can only expose concepts that C can understand, so you're a bit limited. No generics, for example.

Also, no memory safety...

Well its the C coding calling the Rust that has no memory safety, the rust code exposed as the C binary will (assuming no unsafe block) be memory safe, despite appearing to C like other C code.

Re: Memory safety for the world’s largest software project

#14
post #8

I’m so excited for this project. I feel like this is going to bring in a new generation of programmers to kernel development.

When GCC support [0] lands it's going to be a complete game-changer.

[0] https://github.com/rust-lang/rustc_codegen_gcc

Re: Memory safety for the world’s largest software project

#15
post #9

Can we talk about “world’s largest”? This seems extremely unlikely by any measure.

Going by lines of code, Linux is probably not the largest: https://www.informationisbeautiful.net/visualizations/millio...

Linux currently has around 30 million lines of code I believe.

Re: Memory safety for the world’s largest software project

#17
post #9

Can we talk about “world’s largest”? This seems extremely unlikely by any measure.

What do you think is a larger software project? Could argue for SQLite being deployed more widely. But it's hardly even 1% of the overall code surface of the Linux kernel.

Android? They need to develop "repo" tool to use git. Similarly, Windows should be bigger (though it's closed source) so they develop VFSforGit tool.

Re: Memory safety for the world’s largest software project

#18
post #17

Earlier quoted context omitted.

What do you think is a larger software project? Could argue for SQLite being deployed more widely. But it's hardly even 1% of the overall code surface of the Linux kernel.

Android? They need to develop "repo" tool to use git. Similarly, Windows should be bigger (though it's closed source) so they develop VFSforGit tool.

Android runs a linux kernel under the hood, so it seems hard to make the argument that it is a bigger software project.

As for windows, I'm fairly certain that more devices run the linux kernel than Windows as well.

Re: Memory safety for the world’s largest software project

#20
post #15
post #9

Can we talk about “world’s largest”? This seems extremely unlikely by any measure.

Going by lines of code, Linux is probably not the largest: https://www.informationisbeautiful.net/visualizations/millio... Linux currently has around 30 million lines of code I believe.

Possibly the largest open source software project? I know it says Open Office is bigger but it seems like Linux has grown since then.
Post reply on HN