Note that BulkVS is a partial replacement for Twilio, not a drop in replacement for all functions. They only cover USA/Canada and their least cost routing will have a higher reject rate (503 Route Advance) on outbound calls they cannot deliver for the price offered by BulkVS.
Unlike most people here, I care less that it's in rust than that it's not in C/C++. There just aren't that many options when you want a compiled-to-metal memory safe language with fast startup and runtime.
I also don’t see a module for “support team that overpromises before contract is signed and disappears before implementation” so it’s clearly not a fully comprehensive modern VOIP stack!!
Is that one also vibecoded AI slop where the meatproxy was so uninvolved (or doesn't understand what the AI is doing) that they let the LLM author the readme too?
Kinda inferred from first sentence in description. "rvoip is a library, not a server you deploy next to your application." Basically unlike Asterisk & rtpengine that run standalone, rvoip is embedded directly into the app, providing telephony, media processing, etc. Now as to whether could've used asterisk/rtpengine code underneath rather making everything from scratch, it's probably to LLMs tendency to NIH, although can argue about "external dependencies and integration complexity."
Rust has a reputation of being safe, very light and pretty damn fast, so mentioning it makes sense. I doesn't mean that the AI coded safely but it's a selling argument for many.
[edit] golang is probably almost as good and safe but that's where religion comes into play. I personally am technology agnostic.
The comparison between golang and rust comes up a lot. Golang is certainly a capable language, but I think it's not filling the same niche that rust fills.
While golang often is comparable to rust in a lot of scenarios, there's also quite a bit of a difference between the two to make this a non-religious choice based on technical merits and needs. For starters, golang comes with a runtime and a gc. This is an absolutely fine choice in a lot of places, notably when you start writing web/desktop components from scratch. It does, however, make it impossible to use in some places where rust is usable: Very small memory/cpu constrained devices, places where you need predictable (not necessarily fastest) performance, control over allocation/deallocation and most notably, places where you want to replace one component written in C/C++ with something memory-safe. Golang brings a runtime and as such you can't just embed go code into a C binary. With rust you can, it's one of the explicit design goals of the language and drives a lot of the design choices that went into it (for example the no GC approach to memory management)
This also explains why it's interesting to mention the language: Rust caters to a specific set of programming language needs. If I have a need for the things that rust provides, then go isn't going to be a replacement. If I want a voip stack that I can integrate into a C application because I happen to have one, then I either need C, C++ or Rust (or anything else that compiles down to a plain object file)
Rust is memory safe, that fact is widely accepted – certainly our Rust friends remind us of it at any opportunity. :)
What Rust proponents are less willing to talk about is that Rust is still as exposed as any other language to whole classes of other potential vulnerabilities and generally insecure coding practices and architectures.
Rust is also exposed to supply-chain attacks because of the nature of Rust people end up with a completely unvetted Cargo.toml as long as their arm ... which is frankly scary in anyone's book ! Achieving "minimal reasonable dependencies" in Rust takes hard work, blood sweat and tears that most Rust developers don't do, as evidenced by their lengthy toml files.
Language matters.
When creating a project in Rust (like almost any other language), I am much more likely to use a library written in That rather than one written in JavaScript or Cpp.
Because this is built as a library and you can pick and choose the parts you need to build a server. This is not meant to replace FreeSWITCH which is a full server with a opinionated config, module loading etc. This is a bot more bare bones.
Does it have a chance to be transpiled by the microsoft rust to plain and simple C transpiler? This idea is to compile it with cproc/qbe and dodge that crustc backend: that horrible c++ llvm.
Fun fact, you can have your own Twilio much cheaper if you use
https://www.bulkvs.com/
And something like
https://github.com/emiago/diago
or
https://github.com/pilab-cloud/gobelisk
Replies (3)
you get what you pay for
Replies (1)
Unlike most people here, I care less that it's in rust than that it's not in C/C++. There just aren't that many options when you want a compiled-to-metal memory safe language with fast startup and runtime.
Replies (1)
Replies (1)
Replies (1)
Replies (4)
It looks like you're pretty much spot on.
Replies (1)
Very interesting to do, used exactly zero times.
Docter? Email me.
Replies (1)
There is occasional stuff, mostly government related.
No, they don't want to talk to my AI agent when it picks up the phone.
Replies (2)
Replies (1)
Replies (5)
[edit] golang is probably almost as good and safe but that's where religion comes into play. I personally am technology agnostic.
Replies (2)
While golang often is comparable to rust in a lot of scenarios, there's also quite a bit of a difference between the two to make this a non-religious choice based on technical merits and needs. For starters, golang comes with a runtime and a gc. This is an absolutely fine choice in a lot of places, notably when you start writing web/desktop components from scratch. It does, however, make it impossible to use in some places where rust is usable: Very small memory/cpu constrained devices, places where you need predictable (not necessarily fastest) performance, control over allocation/deallocation and most notably, places where you want to replace one component written in C/C++ with something memory-safe. Golang brings a runtime and as such you can't just embed go code into a C binary. With rust you can, it's one of the explicit design goals of the language and drives a lot of the design choices that went into it (for example the no GC approach to memory management)
This also explains why it's interesting to mention the language: Rust caters to a specific set of programming language needs. If I have a need for the things that rust provides, then go isn't going to be a replacement. If I want a voip stack that I can integrate into a C application because I happen to have one, then I either need C, C++ or Rust (or anything else that compiles down to a plain object file)
Rust is memory safe, that fact is widely accepted – certainly our Rust friends remind us of it at any opportunity. :)
What Rust proponents are less willing to talk about is that Rust is still as exposed as any other language to whole classes of other potential vulnerabilities and generally insecure coding practices and architectures.
Rust is also exposed to supply-chain attacks because of the nature of Rust people end up with a completely unvetted Cargo.toml as long as their arm ... which is frankly scary in anyone's book ! Achieving "minimal reasonable dependencies" in Rust takes hard work, blood sweat and tears that most Rust developers don't do, as evidenced by their lengthy toml files.
Replies (1)
Or is there more than one Lenny now?