deepgram / dgmrcp

UniMRCP server plugin for Deepgram Brain
Apache License 2.0
11 stars 13 forks source link

Question about building unimrcp plugin in Rust #112

Closed lewiszlw closed 1 year ago

lewiszlw commented 2 years ago

Hi, team

I see you build unimrcp plugin in Rust. It's cool!

We have unimrcp server deployed on production and we build asr and tts plugin in C++. Our team doesn't have much C++ experience. We're stuck in many coredump problems. We explore some ways to mitigate these problems,

  1. rewrite whole software stack using gc language, like java. (This needs a lot work)
  2. still depend on c library(unimrcp), but the high level logic rewrite in memory safe language, they commucated through ffi. (Seems a good choice)

After investigation, Rust seems the best language to support solution2. So I found this project.

I have a question, I found some unsafe code in source files(I know this can't be avoided for ffi), I want to make sure if Rust bring memory safty and service stability for you. Appreciate for replying.