So I want to make a new project. It will have a website and an algorithm which will handle the requests. The thing is, web development in Rust feels harder than say in Go or Python. So I thought maybe I could somehow make bindings in Rust for Go since the faster the algorithm is, the better. However, that seems to complicate stuff as well. So do you think I should just rewrite the current algorithm in Go? Is it fast enough for it to not be a noticeable difference?

Edit: Thanks for the suggestions and advice! I decided to go with Rust for the website with Axum and the algorithm as well.

  • wargreymon2023
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    9 months ago

    This question is quite specific to Go, also specific to the algorithm you using. You should also ask on the Go mailing list, or benchmark your algo in Go and then ask on rust mailing list.