unum-cloud / ucall

Web Serving and Remote Procedure Calls at 50x lower latency and 70x higher bandwidth than FastAPI, implementing JSON-RPC & REST over io_uring ☎️
https://unum-cloud.github.io/ucall/
Apache License 2.0
1.13k stars 42 forks source link

Feature: Windows #91

Open sctrueew opened 9 months ago

sctrueew commented 9 months ago

Describe what you are looking for

Hi, How can I use it in Windows?

Could you give me an example in python?

from ucall.posix import Server

from ucall.uring import Server on 5.19+

server = Server()

@server def sum(a: int, b: int): return a + b

server.run()

but it's not wirking.

Can you contribute to the implementation?

Is your feature request specific to a certain interface?

Official Python bindings

Contact Details

No response

Is there an existing issue for this?

Code of Conduct

ashvardanian commented 8 months ago

Hi @sctrueew! We are not actively looking into supporting Windows servers, but if it seems important to you, it might not be too hard to adapt the synchronous POSIX backend to WinAPI. Let us know if you are working in that direction and I'll follow up in case we do 🤗