upvote
Nice stuff! I'm keen to see this too.

I love programming in rust. Lots of non-rust developers think the whole point of rust is safety, but honestly, the things I like most about using it are the quality of life features like cargo. I love the idea of bringing that to C!

Relevant to this thread: I've spent the last week or so hand porting SeL4 from C to Rust, mostly so I can learn how it works (and learn OS development more generally). One of the biggest pain points I've had trying to use SeL4 is understanding the insanely complex way it uses cmake to compile the kernel and userland software. With Cargo, I can just run `cargo build` on my rust kernel project and it just works[1]. I don't even have a build.rs.

Anyway, I'd love it if we had a tool that made sel4 so easy to build. I doubt it'll be that simple, but its a lovely goal.

[1] (Well, except for one small step: You need to run objcopy to convert the 64 bit elf into a 32 bit elf to run it in qemu. But other than that!)

reply
Sounds interesting and challenging. There's something similar, although not the build part just the modular aspect of it inspired by CPAN called CCAN: https://ccodearchive.net/. Very few people know about it, I believe, and it goes way back. I'm not involved with that project, though. Good luck!
reply
Please post it here when it's ready! I'd absolutely be interested in seeing it.
reply
Good luck! Building the next uv is certainly ambitious, but I love ambitious projects :)
reply
is it already in open source? I would like to see and test it. Share it here - on HN, when you will be ready
reply
I've used Conan briefly in the past for C++ and I quite liked it.
reply
Me too! It's pretty good. Unfortunately, it depend on Python. Not that Python's that bad. It's just that it's completely bonkers to me that building C, the most fundamental language that's commonly written today, the language that every other language has an FFI for and three quarters of them either are written in or were bootstrapped with a version written in -- that this language depends on PYTHON to build!

It's crazy, and I understand why it's the case, but I know how to fix it and I'd like to have a crack at it.

reply
How is this different from bazel?
reply
bazel is large and complex. aimed at a ton more languages, not just C
reply