Small Rust Framework


#1

At work we spin up multi-threaded applications for collecting data from various instruments/devices such as cameras, gpu’s, servers, other sensors, etc. We have essentially built our own C++ Framework which is just a wrapper to many posix calls such as mutex’s, semaphores, thread creation, ringbuffers, tcp/ip sockets, file writing, loggers and much more.

Are there any design considerations that I might want to consider when developing a framework in Rust?

~S


#2

My main question would be: why write your own? Most of the primitives you mention are already implemented in the standard library. What’s missing is very likely to have already been implemented as a crate.


#3

I guess I was thinking there would be an advantage eventually to where you could target multiple embedded architectures with it. I see your point though as it would be redundant in cases. Thanks for the reply