TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Have you migrated from Go to Rust?

1 pointsby TXValmost 5 years ago
Our current codebase is written in Go, mostly web servers, middleware and queue workers. Some of Rust strengths (memory safety, concurrency, absence of GC) look well suited for our problem domain. We currently have the opportunity to overhaul part of our system to reduce some legacy technical debt, so I'm wondering if it makes sense to rewrite in Rust. I'm not looking to solve a specific technical challenge. Just curious. So, if you migrated from Go to Rust, I would love to hear about your experience.

2 comments

karmakazealmost 5 years ago
[I use Go and love Rust]<p>Go has all those things except &quot;absence of GC.&quot; It you&#x27;re more careful you can eliminate a lot of reallocations (e.g. make sure to use capacity param whenever known).<p>What is the nature of &quot;legacy technical debt&quot; and how would it be better&#x2F;different with Rust?
mytailorisrichalmost 5 years ago
Isn&#x27;t concurrency a strength of Go? Does your current implementation perform well?<p>You do not put forward any good reason to make the huge effort that rewriting a production system in another language entails.