Go vs Node.JS vs PHP + Iris vs Express vs Laravel

eye_suc

Expert Member
Joined
Feb 14, 2005
Messages
4,282
ASP.Net Core and Kestrel seems to be improving in strides:
https://github.com/aspnet/benchmarks

Excerpt:
NodeJS
173,641 RPS
32 threads, 512 connections
CPU is 100%

ASP.NET Core on Kestrel
1,174,881 RPS
32 threads, 256 connections
CPU is 100%


Benchmarks are one thing, and they can be setup to favour certain stacks more than others. However, Core seems to be making some impressive waves.
 

rawoke

Well-Known Member
Joined
Dec 2, 2009
Messages
277
I've been very impressed with Go at work ! One of the nicest compiled languages out there ! They sooo opinionated which is a goood thing ! Means there are only a few ways todo something.

The tool chain comes with its own code formatter. The value in code formatting is not weather you camelCase or not... its weather you are all the same. Thus 90%(made up number) of Go source code in the wild looks the same.

Also their version of classes( "supped-up-structs") with their very easy class access rules. If its uppercase its "public" if its lowercase its "private". I can explain that rule to anyone in 5 seconds.
 

Hamster

Resident Rodent
Joined
Aug 22, 2006
Messages
42,920
I've been very impressed with Go at work ! One of the nicest compiled languages out there ! They sooo opinionated which is a goood thing ! Means there are only a few ways todo something.

The tool chain comes with its own code formatter. The value in code formatting is not weather you camelCase or not... its weather you are all the same. Thus 90%(made up number) of Go source code in the wild looks the same.

Also their version of classes( "supped-up-structs") with their very easy class access rules. If its uppercase its "public" if its lowercase its "private". I can explain that rule to anyone in 5 seconds.

Yeah, the tooling is great. Boring AF though. Once you leave it alone for a month and use something else you struggle to get back into it (I did anyway). But for concurrency and coding service it is hard to beat (nodejs ...pfffft)
 

semaphore

Honorary Master
Joined
Nov 13, 2007
Messages
15,194
Yeah, the tooling is great. Boring AF though. Once you leave it alone for a month and use something else you struggle to get back into it (I did anyway). But for concurrency and coding service it is hard to beat (nodejs ...pfffft)

I don't really get that reasoning to be honest. It's only boring if you write things that require very little thought. While other languages might be interesting I definitely would not call a language exciting or "fun". Its a tool to get the job done.
 

Hamster

Resident Rodent
Joined
Aug 22, 2006
Messages
42,920
I don't really get that reasoning to be honest. It's only boring if you write things that require very little thought. While other languages might be interesting I definitely would not call a language exciting or "fun". Its a tool to get the job done.
Well yes, if for work. But there's nothing that excites me enough to use it for side projects.

I agree though, if money is involved and it's the best tool I'll definitely use it.
 

semaphore

Honorary Master
Joined
Nov 13, 2007
Messages
15,194
Well yes, if for work. But there's nothing that excites me enough to use it for side projects.

I agree though, if money is involved and it's the best tool I'll definitely use it.

What would you classify as a "fun" language?
 

Hamster

Resident Rodent
Joined
Aug 22, 2006
Messages
42,920
Why not .net Core? It seems to be an option as well.

I honestly don't see the point of .net CORE (last time I played with it it was still dnx on the command line). Why anyone, with all the other options available to them, would choose .NET for cross platform development is beyond me.
 

rawoke

Well-Known Member
Joined
Dec 2, 2009
Messages
277
I honestly don't see the point of .net CORE (last time I played with it it was still dnx on the command line). Why anyone, with all the other options available to them, would choose .NET for cross platform development is beyond me.

Exactly !! After you have taken all the license cost into account it doesn't even make business sense !
 

envo

Expert Member
Joined
Jan 14, 2014
Messages
3,263
Exactly !! After you have taken all the license cost into account it doesn't even make business sense !

Not sure if sarcastic... but.... if you were, brilliant :p

I honestly don't see the point of .net CORE (last time I played with it it was still dnx on the command line). Why anyone, with all the other options available to them, would choose .NET for cross platform development is beyond me.

Mostly because you will find .NET developers brain-washed from post-matric "colleges" unable/unwilling/too-n00b to learn another language that is.

That, and if you're a development house with mostly .NET skilled folk, you can start taking on clients with a different server infrastructure without requiring serious capital layout in skills. Usually that makes/breaks contracts
 

Genisys

Honorary Master
Joined
Jan 12, 2016
Messages
11,216
Exactly !! After you have taken all the license cost into account it doesn't even make business sense !
Actually, .net core is open source. It works on Windows, Linux, and Mac OS. You can use Visual Studio Code to do the development. You can use MSSQL(express) free of charge on Linux soon. It as console apps, or even the dreaded .net MVC framework. So, what lisence costs are there involved now again?
 

rorz0r

Executive Member
Joined
Feb 10, 2006
Messages
7,968
I honestly don't see the point of .net CORE (last time I played with it it was still dnx on the command line). Why anyone, with all the other options available to them, would choose .NET for cross platform development is beyond me.
As someone who came from "open source" type languages etc I now do C#/ASP.NET Dev full time. Pretty happy hosting in azure but if I really had to make something run on Linux I'd probably go with ASP.NET Core now.
 

Hamster

Resident Rodent
Joined
Aug 22, 2006
Messages
42,920
As someone who came from "open source" type languages etc I now do C#/ASP.NET Dev full time. Pretty happy hosting in azure but if I really had to make something run on Linux I'd probably go with ASP.NET Core now.

You'd choose .NET core over Java, Node, Go or Python for cross platform development? Well I be damned.

And if you are the architect of the organization who's cock is on the block if this project fails (in other words - your the one held responsible and possibly fired should there be a fsck up), would you instruct your Dev team to use .NET Core over the others?
 

rorz0r

Executive Member
Joined
Feb 10, 2006
Messages
7,968
You'd choose .NET core over Java, Node, Go or Python for cross platform development? Well I be damned.

And if you are the architect of the organization who's cock is on the block if this project fails (in other words - your the one held responsible and possibly fired should there be a fsck up), would you instruct your Dev team to use .NET Core over the others?
Depends on the company, environment, project, system etc so who knows. I'd regard both Go and .Net core as "experimental" at this stage though.
 
Top