Syntax and Language Features: C# is a statically typed language with features like LINQ and async/await, while Go is a statically typed language with a focus on simplicity and concurrency using goroutines and channels. On the other hand, Scala is a statically typed language that runs on the JVM and is known for its functional programming capabilities.
Performance: C# is known for its performance and optimization, especially in applications that run on the .NET framework. Go, on the other hand, is designed for good performance in concurrent environments due to its lightweight goroutines. Scala, being a JVM language, has good performance due to the optimizations provided by the JVM.
Type System: C# has a rich type system with features like generics, delegates, and events. Go, on the other hand, has a simpler type system with interfaces and structs. Scala, being a functional language, has a comprehensive type system with support for type inference and higher-order functions.
Concurrency: Go was built with concurrency in mind, providing goroutines and channels for safe and efficient concurrent programming. C# provides support for parallelism through constructs like the Task Parallel Library but lacks built-in constructs for concurrency like goroutines. Scala, being a JVM language, can leverage the JVM's support for concurrency through libraries like Akka.
Community and Ecosystem: C# has a large and mature ecosystem due to its association with Microsoft and the .NET framework. Go has a rapidly growing community backed by Google and is popular for cloud-native development. Scala has a smaller community compared to C# and Go but is well-established in the field of functional programming.
Learning Curve: C# has a relatively low learning curve, especially for developers familiar with other C-style languages. Go is known for its simplicity and ease of learning, making it a popular choice for beginners. Scala, being a functional language, may have a steeper learning curve for developers new to functional programming concepts.
In Summary, C#, Go, and Scala differ in syntax, performance, type system, concurrency support, community size, and learning curve.
Share your Stack
Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.
When developing a new blockchain, we as a team chose Go lang over Java and other candidates, due to Go being
(a) natively suited to concurrency - there are primitives in the language itself (goroutines, channels) that really help with reasoning about concurrency
(b) super fast - build time, running, testing are all much faster that Java, this gives a far superior developer experience
(c) shorter and stricter than Java - code is much shorter (less verbose), and there is usually one good way to do things, and even the code formatter that is bundled with Go is very opinionated - over a short time this makes reading other people's code far smoother than having to deal with different styles.
You should be aware that Go presently (v1.13) lacks Generics.
We decided to use python to write our ETLs and import them into metabase via a lambda.
Before python we tried using Go, but overall go was way more verbose than Python when writing the ETLs. Go also had some issues managing memory when using the S3 upload manager library. This was a deal breaker for us that made us switch to Python.
In the end the solution was much cleaner and maintainable.
PHP is easy to learn and you can get up and running in no time, available on almost all hosting providers and you can find developers easily. It has some great frameworks for building your backend like Symfony and Laravel. However, it can be challenging when running an enterprise and needs some adjustments, very recommended for starting a new project or startup.
Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.
Scala is an acronym for “Scalable Language”. This means that Scala grows with you. You can play with it by typing one-line expressions and observing the results. But you can also rely on it for large mission critical systems, as many companies, including Twitter, LinkedIn, or Intel do. To some, Scala feels like a scripting language. Its syntax is concise and low ceremony; its types get out of the way because the compiler can infer them.
C# (pronounced "See Sharp") is a simple, modern, object-oriented, and type-safe programming language. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers.
Statistics
GitHub Stars
130.7K
GitHub Stars
14.4K
GitHub Stars
-
GitHub Forks
18.4K
GitHub Forks
3.1K
GitHub Forks
-
Stacks
24.0K
Stacks
11.9K
Stacks
70.1K
Followers
13.9K
Followers
7.8K
Followers
46.3K
Votes
3.3K
Votes
1.5K
Votes
2.2K
Pros & Cons
Pros
557
High-performance
398
Simple, minimal syntax
365
Fun to write
305
Easy concurrency support via goroutines
273
Fast compilation times
Cons
43
You waste time in plumbing code catching errors
25
Verbose
23
Packages and their path dependencies are braindead
16
Google's documentations aren't beginer friendly
15
Dependency management when working on multiple projects
Pros
188
Static typing
178
Pattern-matching
175
Jvm
172
Scala is fun
138
Types
Cons
11
Slow compilation time
7
Multiple ropes and styles to hang your self
6
Too few developers available
4
Complicated subtyping
2
My coworkers using scala are racist against other stuff
Pros
351
Cool syntax
294
Great lambda support
267
Great generics support
212
Language integrated query (linq)
181
Extension methods
Cons
15
Poor x-platform GUI support
8
Closed source
7
Fast and secure
7
Requires DllImportAttribute for getting stuff from unma