Is there an implementation of strings in a safe language like rust available? I would love to see a suite of tools like strings, objdump, and ldd written in a language I trust to parse hostile binaries.
Could write them in Haskell safely without much trouble, I’m pretty sure. With the bytestring library and streaming IO and it should perform well too.
Outside of work, I’m working on my Rust kernel project, Rustic - porting it to the Rasberry Pi and BeagleBoard, and turning it into more of a framework to build embedded applications for these kind of targets rather than a raw “operating system” project. Enabling people to implement their crazy ideas and run them on the raw hardware, without needing to write stacks of assembly and boring low-level support code, essentially :)
Most of this week’s work on that will probably center around figuring out how to provide Rust’s concurrency primitives (eg, green threads, locking, etc) in code that can’t use libstd.
Sounds awesome! I looked at Rustic before but skipped over it because I was trying to find something with ARM support. I’d like to help you with the porting if possible. I have a Cortex A9 board I could run it on. I’m a complete Rust noob, though, so I might take me a while to ramp up.
Yup, it wasn’t very exciting as just a pure x86 kernel that didn’t do much :-) I wrote Rustic to learn Rust.
Once the new code goes into the public repo, I’m definitely happy to accept PRs to add support for other boards and architectures.
In the least, once the public repo is updated, having other people try and use the build system helps find chances to improve the build documentation and the build system itself :-)
I almost wrote “There’s been three SSL bugs in one week. Three.” in a previous comment. Now I’m glad (?) I didn’t.
http://ideasandcode.blogspot.com
I’d love to blog more, but have had a lot of other things happening. Isn’t that always the case for blogs? :-)