this post was submitted on 26 Feb 2024
20 points (77.8% liked)

Programming

17354 readers
535 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] wargreymon2023@sopuli.xyz 2 points 8 months ago* (last edited 8 months ago) (1 children)

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.

[โ€“] Asudox@lemmy.world 4 points 8 months ago

I guess benchmarking seems to be the most reliable answer to my question.