Need advice about which tool to choose?Ask the StackShare community!

.NET

5.5K
4.3K
+ 1
1.7K
Scala

7.5K
5.7K
+ 1
1.5K
Add tool

.NET vs Scala: What are the differences?

What is .NET? A free, cross-platform, open source developer platform for building many different types of applications. .NET is a general purpose development platform. With .NET, you can use multiple languages, editors, and libraries to build native applications for web, mobile, desktop, gaming, and IoT for Windows, macOS, Linux, Android, and more.

What is Scala? A pure-bred object-oriented language that runs on the JVM. 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.

.NET belongs to "Frameworks (Full Stack)" category of the tech stack, while Scala can be primarily classified under "Languages".

"Tight integration with visual studio", "Stable code" and "Great community" are the key factors why developers consider .NET; whereas "Static typing", "Jvm" and "Pattern-matching" are the primary reasons why Scala is favored.

.NET and Scala are both open source tools. Scala with 11.8K GitHub stars and 2.75K forks on GitHub appears to be more popular than .NET with 11.2K GitHub stars and 2.41K GitHub forks.

According to the StackShare community, .NET has a broader approval, being mentioned in 1566 company stacks & 239 developers stacks; compared to Scala, which is listed in 437 company stacks and 324 developer stacks.

Advice on .NET and Scala
Needs advice
on
.NET Core.NET Core.NET.NET
and
C#C#

I have to write an application for a Windows Server that either runs on a scheduled task or can run on a Windows server and triggered by a webhook. What other .NET project types or methods within a project can I do this with?

I know I could probably host an API on IIS on the Windows server and do it that way, but all my APIs are in Azure App service, and this has to integrate with the Windows desktop application.

See more
Replies (2)
Recommends
Azure FunctionsAzure Functions

What you mean integrate on "all my APIs are in Azure App service and this has to integrate with Windows desktop application.". Try to explain a little bit what's your requirements.

If you want to Read/Write a SQL DB on premises, you can use a Azure Gateway without deploy anything in your server, another choice with SQL Server is to move the DB to Azure (if supported). You can use the triggers on Azure Functions to write/read something on Azure Storage, from your Server you can read the storage and perform some tasks. As you can see there are multiple choice without writing much code on premises, try to clarify your requirements.

See more
Recommends
.NET Core.NET CoreC#C#

It all depends on your use case. You mentioning "scheduled task" appears you want to use a Worker Service

If you want to trigger your actions you can host a webapi, too.

Bottomline: Both use cases suffice your needs so your course depends on where you want to "control" your app ( set delay, maybe sometimes start the action manually ). WorkerService -> Config file on the host Api -> Configure from client

See more
Needs advice
on
ScalaScalaNode.jsNode.js
and
GoGo

Finding the best server-side tool for building a personal information organizer that focuses on performance, simplicity, and scalability.

performance and scalability get a prototype going fast by keeping codebase simple find hosting that is affordable and scales well (Java/Scala-based ones might not be affordable)

See more
Replies (1)
David Annez
Head of Engineering at loveholidays · | 4 upvotes · 124.1K views

I've picked Node.js here but honestly it's a toss up between that and Go around this. It really depends on your background and skillset around "get something going fast" for one of these languages. Based on not knowing that I've suggested Node because it can be easier to prototype quickly and built right is performant enough. The scaffolding provided around Node.js services (Koa, Restify, NestJS) means you can get up and running pretty easily. It's important to note that the tooling surrounding this is good also, such as tracing, metrics et al (important when you're building production ready services).

You'll get more scalability and perf from go, but balancing them out I would say that you'll get pretty far with a well built Node.JS service (our entire site with over 1.5k requests/m scales easily and holds it's own with 4 pods in production.

Without knowing the scale you are building for and the systems you are using around it it's hard to say for certain this is the right route.

See more
Decisions about .NET and Scala
Ing. Alvaro Rodríguez Scelza
Software Systems Engineer at Ripio · | 11 upvotes · 141.8K views

I was considering focusing on learning RoR and looking for a work that uses those techs.

After some investigation, I decided to stay with C# .NET:

  • It is more requested on job positions (7 to 1 in my personal searches average).

  • It's been around for longer.

  • it has better documentation and community.

  • One of Ruby advantages (its amazing community gems, that allows to quickly build parts of your systems by merely putting together third party components) gets quite complicated to use and maintain in huge applications, where building and reusing your own components may become a better approach.

  • Rail's front end support is starting to waver.

  • C# .NET code is far easier to understand, debug and maintain. Although certainly not easier to learn from scratch.

  • Though Rails has an excellent programming speed, C# tends to get the upper hand in long term projects.

I would avise to stick to rails when building small projects, and switching to C# for more long term ones.

Opinions are welcome!

See more
Ing. Alvaro Rodríguez Scelza
Software Systems Engineer at Ripio · | 8 upvotes · 207.7K views

Decided to change all my stack to microsoft technologies for they behave just great together. It is very easy to set up and deploy projects using visual studio and azure. Visual studio is also an amazing IDE, if not the best, when used for C#, it allows you to work in every aspect of your software.

Visual studio templates for ASP.NET MVC are the best I've found compared to django, rails, laravel, and others.

See more

We needed to incorporate Big Data Framework for data stream analysis, specifically Apache Spark / Apache Storm. The three options of languages were most suitable for the job - Python, Java, Scala.

The winner was Python for the top of the class, high-performance data analysis libraries (NumPy, Pandas) written in C, quick learning curve, quick prototyping allowance, and a great connection with other future tools for machine learning as Tensorflow.

The whole code was shorter & more readable which made it easier to develop and maintain.

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of .NET
Pros of Scala
  • 262
    Tight integration with visual studio
  • 250
    Stable code
  • 180
    Great community
  • 171
    Reliable and strongly typed server side language.
  • 132
    Microsoft
  • 110
    Fantastic documentation
  • 83
    Great 3rd party libraries
  • 72
    Speedy
  • 65
    Great azure integration
  • 58
    Great support
  • 26
    Linq
  • 26
    Highly productive
  • 24
    High Performance
  • 24
    C#
  • 23
    Great programming languages (C#, VB)
  • 20
    Open source
  • 14
    Clean markup with razor
  • 14
    Powerful Web application framework (ASP.NET MVC)
  • 13
    Powerful ORM (EntityFramework)
  • 11
    Fast
  • 9
    Visual studio + Resharper = <3
  • 9
    Dependency injection
  • 9
    Constantly improving to keep up with new trends
  • 7
    TFS
  • 6
    Security
  • 6
    Job opportunities
  • 6
    High-Performance
  • 6
    Integrated and Reliable
  • 5
    Light-weight
  • 5
    Huge ecosystem and communities
  • 4
    Variations
  • 4
    Lovely
  • 3
    Scaffolding
  • 3
    Entity framework
  • 3
    Support and SImplicity
  • 3
    {get; set;}
  • 3
    Asynchrony
  • 3
    Concurrent
  • 3
    Useful IoC
  • 2
    Default Debuging tools
  • 1
    Nuget package manager
  • 1
    Blazor
  • 188
    Static typing
  • 179
    Pattern-matching
  • 177
    Jvm
  • 172
    Scala is fun
  • 138
    Types
  • 95
    Concurrency
  • 88
    Actor library
  • 86
    Solve functional problems
  • 83
    Open source
  • 80
    Solve concurrency in a safer way
  • 44
    Functional
  • 23
    Generics
  • 23
    Fast
  • 18
    It makes me a better engineer
  • 17
    Syntactic sugar
  • 13
    Scalable
  • 10
    First-class functions
  • 10
    Type safety
  • 9
    Interactive REPL
  • 8
    Expressive
  • 7
    SBT
  • 6
    Implicit parameters
  • 6
    Case classes
  • 4
    Used by Twitter
  • 4
    JVM, OOP and Functional programming, and static typing
  • 4
    Rapid and Safe Development using Functional Programming
  • 4
    Object-oriented
  • 3
    Functional Proframming
  • 2
    Spark
  • 2
    Beautiful Code
  • 2
    Safety
  • 2
    Growing Community
  • 1
    DSL
  • 1
    Rich Static Types System and great Concurrency support
  • 1
    Naturally enforce high code quality
  • 1
    Akka Streams
  • 1
    Akka
  • 1
    Reactive Streams
  • 1
    Easy embedded DSLs
  • 1
    Mill build tool
  • 0
    Freedom to choose the right tools for a job

Sign up to add or upvote prosMake informed product decisions

Cons of .NET
Cons of Scala
  • 9
    Too expensive to deploy and maintain
  • 9
    C#
  • 7
    Microsoft itself
  • 6
    Microsoft dependable systems
  • 3
    Hard learning curve
  • 1
    Not have a full fledged visual studio for linux
  • 1
    Tight integration with visual studio
  • 11
    Slow compilation time
  • 6
    Multiple ropes and styles to hang your self
  • 4
    Too few developers available
  • 3
    Complicated subtyping
  • 2
    My coworkers using scala are racist against other stuff

Sign up to add or upvote consMake informed product decisions

What is .NET?

.NET is a general purpose development platform. With .NET, you can use multiple languages, editors, and libraries to build native applications for web, mobile, desktop, gaming, and IoT for Windows, macOS, Linux, Android, and more.

What is Scala?

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.

Need advice about which tool to choose?Ask the StackShare community!

What companies use .NET?
What companies use Scala?
See which teams inside your own company are using .NET or Scala.
Sign up for Private StackShareLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with .NET?
What tools integrate with Scala?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

Git.NETCloudBees+3
6
920
Aug 28 2019 at 3:10AM

Segment

PythonJavaAmazon S3+16
5
2142
DockerAmazon EC2Scala+8
6
2229
What are some alternatives to .NET and Scala?
ASP.NET
.NET is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.
Java
Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
See all alternatives