← Back to context

Comment by kreelman

1 year ago

The ROC webpage talks about ROC doing web servers via Rust libs...

   Behind the scenes, it uses Rust's high-performance hyper and tokio libraries to 
   execute your Roc function on incoming requests.

Will these be replaced with Zig networking libs?

Not necessarily! Each Roc app runs on a particular platform which is built in a host language for a specific domain. That host language could be Rust, Zig, C, C++, Go, Swift, etc. It's possible the basic-webserver platform will be rewritten to Zig but it doesn't need to be.