Repository navigation
Go vs Rust
mavrovde edited this page Nov 1, 2026
·
2 revisions
This page has been replaced by Stack Comparison, a three-way comparison of Go, Rust and TypeScript, criterion by criterion, with one endpoint written in all three languages, a weighted scoring table, a sensitivity analysis and the recommendation. It is kept so that existing links keep working.
- Go and Rust remain the owner's preferred candidates; TypeScript is compared in full as the third candidate.
- Go is recommended: it is the only stack whose driver cancels server-side queries natively, and it leads the weighted scoring in every weighting tested.
- Rust is the choice if the benchmark shows Go breaching the memory or latency budgets where Rust meets them, or if its agent velocity comes within 15 % of Go's.
- TypeScript is chosen only if the choice is widened beyond the preferred candidates and it passes the cancellation, overload and footprint checks.
- The Benchmark Plan decides.
Details: Architecture: Go · Architecture: Rust · Architecture: TypeScript.
ViaFrei API: a public, keyed, read-only REST API to live German mobility data. Design phase; nothing on these pages is a measurement of a running service. Data on viafrei.de and in every API answer is attributed to its publishers under their licences.
About
Design
- Domain Model
- API Design
- Architecture Overview
- Security and Access Keys
- Rate Limits and Priority
- Performance and Caching
- Configuration
- Observability
Data Model
Technical specification
-
Technical Specification
- Interface
- Scope, Conventions and References
- Protocol
- Common Envelope
- Resource Model
- Endpoints, Places
- Endpoints, Roads
- Endpoints, Energy and Parking
- Endpoints, Public Transport and Accessibility
- Endpoints, Weather Risk, Driving Rules and Composed Features
- Service Endpoints
- Errors
- Authentication and Authorisation
- Rate Limiting, Quotas and Priority
- Data Licensing and Attribution
- Compatibility and Versioning
- OpenAPI Skeleton
- Quality
- Delivery and operations
- Interface
Testing
- Testing Strategy
- Testing and Quality (design summary)
Engineering
Technology choice
- Technology Evaluation
- Architecture: Go
- Architecture: Rust
- Architecture: TypeScript
- Stack Comparison
- Benchmark Plan
Reference