Originally posted by VectraMan
View Post
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
C++ Renaissance Here Due To WinRT C++/CX ?
Collapse
X
-
Yeah but the majority of programmers I know their work doesn't include optimizing applications for power or CPU efficiency. You use C# and the .Net framework so you can produce code quicker and more easily, so in effect you are more productive. -
And that leads to applications being inefficient and slow. If it goes in a data centre, then that means more servers than necessary, more electricity than necessary, more air-conditioning than necessary, and that adds significantly to the cost of the business.Originally posted by woohoo View PostYeah but the majority of programmers I know their work doesn't include optimizing applications for power or CPU efficiency.
That's often the excuse given, but I don't think that's true. Any decent programmer in language A is probably just as productive as a decent programmer in language B. You could argue that a crap programmer can do more damage and cause more problems in language A than language B, but the problem there is that they're a crap programmer.You use C# and the .Net framework so you can produce code quicker and more easily, so in effect you are more productive.Will work inside IR35. Or for food.Comment
-
Which is why the language that will actually win will be javascript via node. As V8 just takes that javascript and translates it to native machine code before running it....Originally posted by VectraMan View PostAnd that leads to applications being inefficient and slow. If it goes in a data centre, then that means more servers than necessary, more electricity than necessary, more air-conditioning than necessary, and that adds significantly to the cost of the business.
That's often the excuse given, but I don't think that's true. Any decent programmer in language A is probably just as productive as a decent programmer in language B. You could argue that a crap programmer can do more damage and cause more problems in language A than language B, but the problem there is that they're a crap programmer.
Sorry to disappoint you all but node is scarily fast if written badly, scarily, scarily fast if written well.merely at clientco for the entertainmentComment
-
Most applications don't run in the cloud, or even if they do they are not run as big shared data-centre applications. If you are writing a typical application on a local or cloudy server, the difference in cost between C# and C++ might be one extra size of node on EC2, i.e. a few hundred bucks a year.
Using Big Data as an example is not representative of what most of us actually do.Originally posted by MaryPoppinsI'd still not breastfeed a naziOriginally posted by vetranUrine is quite nourishingComment
-
I don't believe that is the case. The difference between the two languages is only plain if you really have to optimize the code, C++ gives you more options. However, most code should never be optimized, optimisation makes it more complicated, open to errors and difficult to maintain. In 20 years of programming most of my optimisation has been made to the database or introducing caching, plus various approaches to making a web page faster.Originally posted by VectraMan View PostAnd that leads to applications being inefficient and slow. If it goes in a data centre, then that means more servers than necessary, more electricity than necessary, more air-conditioning than necessary, and that adds significantly to the cost of the business.
I'm not giving an excuse, not sure where you got that from. However, many people including myself appreciate the amount of work we don't have to do because the framework has already done it.That's often the excuse given, but I don't think that's true. Any decent programmer in language A is probably just as productive as a decent programmer in language B. You could argue that a crap programmer can do more damage and cause more problems in language A than language B, but the problem there is that they're a crap programmer.
I'm not knocking C++, its been many years since I've done anything with it, however the argument that C# or .Net is redundant because of optimisation possibilities, I think is wrong.Comment
-
Servers are often wildly overspecced and doubled or tripled up for "HA" reasons as well. Virtualisation offers some respite but nothing will stop people wasting money if they have a budget and a need to feel important.Originally posted by d000hg View PostMost applications don't run in the cloud, or even if they do they are not run as big shared data-centre applications. If you are writing a typical application on a local or cloudy server, the difference in cost between C# and C++ might be one extra size of node on EC2, i.e. a few hundred bucks a year.
Using Big Data as an example is not representative of what most of us actually do.While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'Comment
-
I don't know much about V8 but are you saying I could write my domain model or business logic, repositories etc in JavaScript and have them run on the server?Originally posted by eek View PostWhich is why the language that will actually win will be javascript via node. As V8 just takes that javascript and translates it to native machine code before running it....
Sorry to disappoint you all but node is scarily fast if written badly, scarily, scarily fast if written well.Comment
-
That's fair, but then who doesn't want more battery life from their tablet/smartphone/laptop? Even a desktop PC will suck more electricity because of inefficient software. Yes optimising everything isn't generally worth the cost, but that's not the point. The point is if everything else is 50/50 you may as well choose the efficient option.Originally posted by d000hg View PostMost applications don't run in the cloud, or even if they do they are not run as big shared data-centre applications. If you are writing a typical application on a local or cloudy server, the difference in cost between C# and C++ might be one extra size of node on EC2, i.e. a few hundred bucks a year.
Using Big Data as an example is not representative of what most of us actually do.Will work inside IR35. Or for food.Comment
-
Now you're talking about a library, not the language. Do .NET in C++ and you get all the things the framework has done for you plus native code speed for when it's important.Originally posted by woohoo View PostI'm not giving an excuse, not sure where you got that from. However, many people including myself appreciate the amount of work we don't have to do because the framework has already done it.
I'm not saying it's redundant, just that some of the focus has moved back towards efficiency.I'm not knocking C++, its been many years since I've done anything with it, however the argument that C# or .Net is redundant because of optimisation possibilities, I think is wrong.Will work inside IR35. Or for food.Comment
-
From your comments I didn't think you where talking about optimisation with C++ running on .Net.Anyone suggesting the software should be done in .NET or Java would be laughed at.Comment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers

Comment