On 23 July 2022, Rootconf held a Birds of Feather discussion on whether Rust language is ready for adoption in enteprises at India FOSS 2.0 conference. The discussion showed that the question must be inverted - are Indian startups and enteprises ready for adopting Rust language? This Mini Conference will look at the following problem statements:
- “We want to build with Rust, what do we need to know” - for businesses and developers who will want to use Rust to develop solutions for specific use cases, what should they want to be aware of before they commit to this journey?
- “Designing things with Rust language” - exploring components and technical details of Rust language with a focus on building things. For e.g. connected mesh of internet of things, integrating Rust with other languages, monitoring dashboards, search engines, embedded systems, distributed systems and WASM.
- “Wait up! What about security and all the related topics” - evaluating software supply chain security, project stewardship, evolution of the language, tools and documentation, speed/memory related shaping and benchmarking, support for libraries.
- “Where are the Rust language jobs around us” - addressing the topic of growing the community to create a viable and long-term talent pool for businesses to acquire confidence while investing on their Rust language journey.
The Call for Proposals (CfP) is open. Talks will be curated by the conference editor, Rajasekharan Vengalil to fit the theme and sub topics.
In-person conference: This Mini Conference will be held on Friday, 2 December, at Microsoft Reactor, Lavelle Road, Bangalore. This is an in-person event. Register to participate in the event.
Code of Conduct: Hasgeek’s Code of Conduct applies to participants, speakers and sponsors participating in this Mini Conference.
COVID protocols and masking policy: In keeping with COVID protocols, the following is applicable to all participants:
1. Participants attending in person must keep their vaccination certificate handy. The venue will ask you to show your vaccination certificate as proof of being fully vaccinated.
2. Wearing masks is optional.
Purchase a subscription to support Rootconf’s community activities on hasgeek.com and to access archives.
Every ounce of memory matters! Using Rust for edge devices at Ather.
Before switching to Rust, the engineering team at Ather used C and GO predominantly. The team is now looking at Rust as a stack to move towards for most of its use-cases. The engineering team uses Rust in some of Ather’s services on the edge device, which has shown significant improvement in resource consumption and memory saftey.
A micro service architecture on edge devices requires the stack to be interoperable across languages and devices. Rust has excellent support for this across stacks. Rust is also something that engineering teams can use for building on micro controllers and microprocessors.
The POCs Ather is evaluating in Rust is mainly in terms of performance benefits, maintainability, TAT and interoperability due to a larger community support and a plethora of crates serving different purposes.
The major concern to move to Rust is that it has a steep learning curve, which is a trade-off that the team is willing to make to enable a stable and performant ecosystem. Every ounce of resource available, matters on an edge device- CPU, memory, disk.
The first choice for performance is always C. But as the product is maturing and growing, there is more scope for edge computation coming in for different use-cases. As the scope grows, the need for quicker turnaround on POCs and features becomes as important as performance. This is where Rust looks to be the right choice for the team at Ather. Rust primarily offers equivalent performance benefits as C and also helps in quicker development time through its features like compile time memory safety check, borrow check, detailed errors, etc.
Rust generates relatively smaller binaries than GO, and has very low footprint. Rust’s ownership model has ensured memory safety; there have been no memory leakages till date on streaming applications.