C++/C#

News, resources and discussions for C#/.NET and C++ developers.

Tournament of Sevens Contest Update: A Saga

Posted In C++/C#, Living in Tech
Tired Runner
I picked the game for this contest with the thought that it would be simple and straight forward. Was I ever wrong! The contest was due to start Jan. 1, but a sudden unexpected vacation took me to Vegas through Jan. 2. With jet lag and such, I wasn’t really up to sorting the entries it for a day or two after. I had most of my competition runner created, though I hadn’t debugged it. By that point, there were… continue…

Why Managed Code Is Safer

C# as Machine Code
One of the biggest sea changes in computing took place in the late 1990s, with the switch over to running managed code, first with Java and then a couple of years later with .NET. Prior to this, compiled code (typically written in C, C++, Visual Basic or Delphi/Pascal) produced unmanaged code. Yes, both of these run machine code. So what’s the difference? Unmanaged Code Unmanaged code is just low level code (machine code) that the CPU (Central Processing Unit) executes… continue…

Key Differences Between C# and Java

Java vs. C#
Any comparison of C# and Java’s language features will always be contentious. The parable about the three blind men describing an elephant illustrates the issue well —  no one developer has used or experienced all the features of the current C# or Java versions. I certainly haven’t. This comparison focuses on the ways Java 7 and C# 5 differ. Java 8 is scheduled to become generally available in March 2014 and C# 6.0 will likely appear sometime in 2014 as… continue…

Blocking Queues Beat Lists in Multithreaded Code

Microsoft .NET
In .NET, it’s quite common to store data in a generic List – a List<T> where T is some type such as an int or a class. In addition to its standard uses, a generic list can be implemented as a generic queue in place of a .NET Queue<T>, since a Queue<T> is just a specialized form of List<T> in which items are only added to the end of the list (Enqueue) and taken from the front of the list… continue…

Watson Becomes Available for App Developers

Watson on Jeoperdy
Watson, the IBM supercomputer that won $1 million playing Jeopardy in 2011, is now becoming available to app developers. The system that was built for Jeopardy was not your everyday PC. With 2,880 cores and 16 TB of RAM running SUSE Linux Enterprise Server 11, it cost roughly $3 million. Its processing speed can read a million books a second, approximately 500 GB of data. On the day of the TV show, it had 200 million pages of structured and… continue…

Coding Challenge: Best Have a Card Up Your Sleeve

Seven-Cards-Thumbnail
Our newest coding challenge runs through January, ending on Jan. 31, 2014, so you should have plenty of time for it. It’s about a card game called Sevens. The game is for three to seven players. To set it up, deal all 52 cards between the players. Depending on the number playing, and whether or not 52 is divisible by that, they may not all get the same number of cards: If there are three players, the first player ends… continue…

Interview Questions for C++ Programmers

Posted In C++/C#, Looking in Tech
Dice Interview Qs Icon
Even if you know C++ syntax and have memorized STL components, you could stumble during a technical interview since some managers like to explore the boundary of a programmer’s C++ knowledge. To make sure you land on your feet, we asked Dice C++ Community Guide David Bolton to share a few standard questions, as well as some posed by these boundary explorers. Is it legal and moral for a member function to say delete this? What Most People Say: No,… continue…

Visual Studio 2013 Released – Worth Upgrading?

Posted In C++/C#, Working in Tech
VS 2013
Visual Studio, Microsoft’s flagship development tool and considered the best IDE around, has had an overhaul, a new coat of polish and some new features added. But is it worth upgrading, when everyone upgraded to Visual Studio 2012 so recently? First appearing in 1997, Visual Studio has a long heritage. A year after its initial debut, Microsoft released version 6.0. After that, there wasn’t another upgrade for four years. In fact, I was still using Visual Studio 6.0 at work… continue…

Improve Your Job Search With a Personal Project

Design-an-App-Thumbnail
More and more, hiring managers tell us that they want to hire candidates who work on personal projects outside of their jobs. Don’t believe me? Just check out a few of our recent Landing@ stories. They say the first place they look up a potential candidate is on Github. Personal projects and open source contributions are both great ways to demonstrate passion for the industry. They show initiative and can be a great way to sharpen your coding skills before… continue…

Apple Hiring Engineers for Maps App

Posted In C++/C#, iOS, Looking in Tech
Apple Thumb
Apple’s throwing more weight behind its effort to douse the firestorm of criticism that erupted over its mapping debacle. It’s currently looking to hire C++ and Linux engineers who’ll be tasked with integrating transit routing information into its Maps services. Although Apple is currently looking only for a Maps C++ software engineer for its public transit team and a Maps Public Transit Engineering Manager, it notes that the manager’s time will also be spent on “expanding the team.” According to… continue…