|
I like .NET and I'm excited about .NET Core although I haven't used it for a production app as yet.
Having said that, up until recently there was a lot of stuff missing. Given than Java is more mature and has better performance, there's always the question in the back of my mind "why don't I just do this in Java?".. and that's the first hurdle Microsoft is going to have with developers when it comes to cross platform web development.
Personally I'll stick with it, but I'll probably need to learn Java as well just to hedge my bets on where future opportunities are going to be.
Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.
modified 31-Aug-21 21:01pm.
|
|
|
|
|
Brent Jenkins wrote: Given than Java is more mature and has better performance
I dispute both of those assertions. And I have close to 20 years of experience with java going back to 1.1.4 (not 1.4). And 8 years of C#. Plus C/C++ before that.
And been doing server side development exclusively for 20+ years.
Neither language is significantly better than the other. Last time I used C# the IDE was significantly better than those available for Java, but at least for me that wasn't a significant factor.
In terms of "performance" all that matters is that which impacts the business - which is where the money comes from. And from that aspect requirements and design are the things that have the most impact, orders of magnitude more, than technological choices.
Additionally any language that does in fact have a "performance" advantage must be filtered through the chaos that any large scale enterprise creates via its own processes, multiple refactors and legacy support, multiple employees (and skill) and costs associated with that. Thus even if it was measurable initially over time it would not rise above the noise level when measuring (not guessing) about actual business performance.
|
|
|
|
|
I probably should have written it clearer - Java is more mature than .NET Core. I don't think that can be disputed?
Performance wise, every ASP.NET application I've seen takes a long time (> 20s) to return a response when cold. On Java applications, the response is instant. Up until lately, .NET has had the drawback of only running on Windows Servers which (probably thanks to the heavy desktop components, general Windows baggage and IIS) runs slower on the same hardware before we've even started talking about making requests. .NET Core running on Kestrel on Linux should (theoretically) be an improvement on all that but the jury's still out as it's a new, immature and generally untested technology.
I'm a dyed-in-the-wool C#/.NET developer but as far as developing cross-platform web applications Java has been the go-to technology. Until .NET Core can prove itself (and that's going to take years), Java will remain at the top.
jschell wrote: In terms of "performance" all that matters is that which impacts the business
True enough, but a lot of businesses are moving to the cloud (Azure or AWS) where every CPU tick, every scrap of RAM or storage costs money.. performance is going to be a big factor for more and more companies over the next few years (and it already is for many).
Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.
modified 31-Aug-21 21:01pm.
|
|
|
|
|
Brent Jenkins wrote: I probably should have written it clearer - Java is more mature than .NET Core. I don't think that can be disputed?
Yes and no in terms of the rest of your response.
First one must differentiate between the languages of Java and C# and the eco system in which those languages might be used, such as IIS and tomcat.
In terms of that I think that Java has an edge. However I wouldn't use what I think of as an edge to make my sole stack determination.
Brent Jenkins wrote: Performance wise, every ASP.NET application I've seen takes a long time (> 20s) to return a response when cold
I did credit gateway card processing on C#. It was necessary to performance test the server and what I found that the server had zero impact compared the actual measured time that the card processors themselves had on the system.
So at least in that business any delay was no more than noise to something over which I had no control anyways. Same would have been true with Java.
Brent Jenkins wrote: every scrap of RAM or storage costs money.. performance is going to be a big factor for more and more companies over the next few years (and it already is for many).
So far everything I have seen or read suggests that it often, now, comes down to one specific metric which can often be surprising. Even more so now that cloud services are attempting to divide up the entire processing stack so they can charge for each individual piece.
I recall reading a story about one business that went from tens of dollars a month to thousands because AWS (I believe) fixed a bug on the AWS side which meant they could now accurately track some metric that they had added billing for.
|
|
|
|
|
Well, there's 2 issues at play here.
First, Java already does that, so most people that had a vested interest in cross-platform applications are most likely already following that route.
Secondly, MS hasn't helped the situation by failing to wrap the .NET world under a coherent umbrella. They just tack a new word onto it, pass it to a team, and let them do whatever they feel like. The division between .NET Standard and .NET Framework is a great example of this: there is no reason whatsoever that all modern .NET isn't .NET Standard, except different teams have their fingers in the pie.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
True .NET is late to the party, but all latest (and alive) .NET versions implements .NET Standard 2.0 (the latest too)... so there is an improvement there...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: It seems only about 15% of us consider .NET Core as platform for development
Who is "us"?
Tiobe index only places C# at 5% and Java is only 12%. However given the spike in the numbers this year I expect that there is a data collection problem (which happened years ago also.)
TIOBE Index | TIOBE - The Software Quality Company[^]
Kornfeld Eliyahu Peter wrote: 2. Or does not consider .NET Core as a good choice for that
I expect some of that it true.
However, in my experience, people rationalize (not objectively) technology choices based either on what has succeeded for themselves individually in the past or failed for themselves.
So, for example, that is why many people jumped on the NoSQL bandwagon because they do not know how to use a relational database correctly.
|
|
|
|
|
Us === CPians
The post related to the current weekly poll...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: The post related to the current weekly poll...
I see.
|
|
|
|
|
jschell wrote: So, for example, that is why many people jumped on the NoSQL bandwagon because they do not know how to use a relational database correctly.
So, while I largely agree with your point about how individual performance with tech may vary, I think you're falling victim to the same hypothesis in regards to NoSQL. The fact is that if you don't understand relations, and by extension a relational database, you cannot succeed with a document store.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
Nathan Minier wrote: The fact is that if you don't understand relations, and by extension a relational database, you cannot succeed with a document store.
I doubt that in general.
First many smaller (data) apps can get by just fine with a less than optimal relational database. And the same applies to a NoSQL database.
However when one runs into an unusual problem with the relational database, then one is likely to attempt to solve it in the database, and without the skill, that is problematic. NoSQL, for most, means the solution must be external to the database so it seems 'better' to those without the SQL skill.
Note as well that at least anecdotally I have the experience to back this up as I know individuals who do not like relationals because of the skill level required (they specifically say that) so they choose NoSQL.
Other than that I can also hypothesize that object models map directly to NoSQL whereas one must consider more carefully how to do such a mapping with relationals. With skill the relational mapping is easy but without out it, a failure to map can lead to problems that would not necessarily show up with NoSQL.
And because those without the skill might have encountered the various problems, due to lack of skill, and problems that cannot exist with NoSQL they think it is better. Doesn't mean that the incorrect implementation that lead to the problem in the first place was not needed to solve some other problem, but they neglect to properly take into account the need to solve the original problem.
|
|
|
|
|
I'm sorry, that's simply not factual. Entity relationships are still a very real concern in an object store because they can lead to serious concurrency issues if not handled properly. Data structure design is just as important, and not even handled all that differently. It just doesn't have a safety net that SQL does; it will not immediately fail when a relationship mapping is not performed correctly.
As the most basic example would include an object property that references a specific entity. Unless you map that relationship properly you will end up with a copy of that entity stored in the data model, in the state that it was in when serialized, rather than a reference to an entity in another collection, which is what you want as that will be the master source for state on that entity.
Yes, it will appear to work, but you have a giant bug that might not be detectable until the system encounters a concurrency error between the real state of the object and the state tracked by the copy attached to the entity that you're working with. If you don't understand the data relations, you will never find the bug in this system.
That's what I meant in the section of text you quoted. Appearance of functionality is not success; actual functionality is success.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
Nathan Minier wrote: Entity relationships are still a very real concern in an object store because they can lead to serious concurrency issues if not handled properly.
Yes. They can. But not that they will. Which is what I was trying to convey.
Smaller domains are less likely to experience those sorts of problems. And that is relevant when the implementer doesn't have enough skills to understand why it is important from the beginning. But in the same way, for some domains, it might never be important.
Nathan Minier wrote: Appearance of functionality is not success; actual functionality is success.
Again I can only repeat that I know people that are choosing NoSQL because they had problems with SQL. Not because the business solution required NoSQL. And from what I have been able to see of the business, in general, SQL would have been a better choice.
|
|
|
|
|
jschell wrote: Tiobe index only places C# at 5% and Java is only 12%. However given the spike in the numbers this year I expect that there is a data collection problem (which happened years ago also.)
TIOBE Index | TIOBE - The Software Quality Company[^] I find it amusing that Visual Basic is #14. For a language that so many dismiss, it's been dead for 15 years and yet it's still in the top 20.
In 1981 I had a professor tell the class that COBOL was a dead language and no one should waste time learning it. I have a friend who has come out of retirement 3 times for COBOL projects.
|
|
|
|
|
I saw a new job posting in the last couple of weeks where they were looking for a RPG programmer. No other language skills were listed.
|
|
|
|
|
I've seen ads for Clipper. Lot of old code out there which is low enough in priority to not get replaced.
I know someone who has software in production that runs on a 286. It doesn't run on newer technology (not that anyone thinks of a 386 as "new") so they have kept the same 286 in production since 1992. still works fine ... although when the hardware dies (when, not an if) things should get interesting.
|
|
|
|
|
IMHO:
- It's expensive, not all companies can afford Microsoft (small companies would rather go for open source platforms)
- It's dependent on Microsoft support team for any deep internal bugs (can result in bad planning at the very least, doesn't always work for big companies with super strict deadlines)
- It's somehow limited, meaning that you cannot always do the thing you want to do because it's been decided for you (our domain is about learning, adapting, innovating, and frameworks that do not allow this are generally frown upon)
- Mobile is out
|
|
|
|
|
You definitely never read a word about .NET Core...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Comedy gold!
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
.NET Core 'is' the OS version of .NET. Welcome to 2017.
|
|
|
|
|
I'll let myself out...
Delete post
Delete account
Delete browser
Delete keyboard
Remove the plug
... Wake up in a futuristic world
No but seriously, I never read a word, sorry about that, I was thinking about .NET framework in general. I'll have a read at the core.
Now is it comedy gold? well to each his own.
|
|
|
|
|
3. I'm in the middle of a project and there is no benefit to switching technologies in mid-stream, only unnecessary problems.
4. Core is too new, it's in flux, and it's (IMO) not yet proven.
I like bleeding edge technology. It's fun to play with and it gets me in on the ground floor ... assuming the technology makes it (some do, some don't). *I* accept that a technology may change rapidly and in unforeseen directions, which may cause rework when a new version comes out.
However, my job as a developer is not to play with the cool Tinker Toys, it's to provide stable solutions for business problems. As a young, inexperienced developer I didn't really understand this. As a mature developer, I realize that my employer needs are first priority.
Core was released a year ago, a new major upgrade has just been released. A year from now when my current project has been in production a while and we've shaken out the defects that testing didn't catch ... I'll give Core a serious look. If it's the right tool for the job I will recommend it for future projects.
|
|
|
|
|
I started to build a new version of our sample web API in .NET Core, but stopped when I discovered that Entity Framework Core does not yet support stored procedures or views in any manner. I couldn't even force feed it by hand.
|
|
|
|
|
I've taken to storing chocolate bars in my shirt cuff. That way, I always have a few Twix up my sleeve.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|