---
title: "Discussion on \"Rust, GO, and C# in the same Stage\" | Hashnode"
description: "Discussion on \"Rust, GO, and C# in the same Stage\". Traveling Salesman Problem Exact algorithm"
url: "https://hashnode.com/posts/rust-go-and-c-in-the-same-stage/6132c78536015b2f4e129102"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Rust, GO, and C# in the same Stage](https://hashnode.com/post/rust-go-and-c-in-the-same-stage?utm_source=hashnode&utm_medium=feed)

Traveling Salesman Problem Exact algorithm

Sep 4, 2021 · 2 min read · hashnode.com  
Updated Nov 17, 2021  
Read the article

-   [#rust](https://hashnode.com/tag/rust)
-   [#csharp](https://hashnode.com/tag/csharp)
-   [#go](https://hashnode.com/tag/go)

## Written by

[Harvey Triana](https://hashnode.com/@harveyt)

@harveyt

  
[View profile](https://hashnode.com/@harveyt)

C#

## Responses 2

Markdown supported · ⌘↵ to post

[Skyake](https://hashnode.com/@Skyake)

[Sep 6, 2021](https://hashnode.com/posts/rust-go-and-c-in-the-same-stage/6132c78536015b2f4e129102/comment/61357ceb92d0321a999953ca)

You're testing C# against the old .NET Framework 4.x with an unoptimized build. (csc produces unoptimized build by default).

[Skyake](https://hashnode.com/@Skyake)

[Sep 6, 2021](https://hashnode.com/posts/rust-go-and-c-in-the-same-stage/6132c78536015b2f4e129102/comment/61357ceb92d0321a999953ca#reply-6135845a92d0321a99995448)

Tested on my machine and got following results:

C# with `dotnet run -c Release`:

```
RESULT
Optimus route : 0 7 2 3 4 12 6 8 1 11 10 5 9 0
Distance      : 7293
Elapse Time   : 18.1769783 s
```

C# with `csc` (unoptimized):

```
RESULT
Optimus route : 0 7 2 3 4 12 6 8 1 11 10 5 9 0
Distance      : 7293
Elapse Time   : 22.14066 s
```

[Harvey Triana](https://hashnode.com/@harveyt)

[Sep 6, 2021](https://hashnode.com/posts/rust-go-and-c-in-the-same-stage/6132c78536015b2f4e129102/comment/61357ceb92d0321a999953ca#reply-61358efc489de51a6a7b0bde)

You're right, wrong route. It must be referring to ..Bin\\Roslyn. TXS

[Rohit Jakhar](https://hashnode.com/@rohitjakhar)

[Sep 4, 2021](https://hashnode.com/posts/rust-go-and-c-in-the-same-stage/6132c78536015b2f4e129102/comment/61334fef92d0321a99991c6f)

That is very nice comparison.
