Skip to main content

2 posts tagged with "golang"

View All Tags

Compare Rust and Golang Programming

· 11 min read
forfd8960
Author

In this blog, I will share the programming difference between Rust and Golang, Include:

  • How they use different syntax to declare data type.
  • How rust and golang define the common behavior(interface vs trait).
  • How rust and golang struct to implement the common behavior.
  • What's the difference between rust and golang about Error Handling.
  • How they define complex data type(struct).
  • How they define enum.
  • How they Obtaining and using third-party libraries.
  • What's the difference between rust and golang when write unit test.
  • What's the difference between rust and golang about async programming.

Comapre Rust with Golang

· 4 min read
forfd8960
Author

I have been using golang long time to wirte backend business logic.

After writing some rust code and I want do a comparison between golang and rust. This is maybe another good way to help you learn rust.