Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Not just the apps (Score 2) 725

Native code in Windows is mostly written in both C and C++, in that you will see both .c and .cpp files, but since all DLL interfaces in Windows are C interfaces (C++ interfaces basically require you to be using the same compiler, though you can use COM to wrap C++ classes to build portable OO interfaces), even the .cpp files tend to be more C-like than C++-like.

There are C++ developers at Microsoft who do very ninja C++ things. But for the most part, people using .cpp files might as well be using C - many people just use .cpp so that they can declare variables in the middle of a scope. Some people have a class they internally use to do state management or implement some algorithm.

Basically, the common reason for use of .cpp is to get language features that increase readability. Very little in richly decorated in C++-but-not-COM faces outward, even in small internal components. I won't say none, because I never conducted an audit to check.

Source: me, worked in Windows for 4 years and change.

Comment Re:Watch the video on the linked site. (Score 1) 380

Ignoring the lack of a #4, #1 is not always present, and #2 may be confused with #3.

Here's the reality: You fucking sue the TSA if they ever do this to your possessions. The TSA should be experts on bombs, and it should be their job to be professionals at identifying bombs. The fact that they can't only proves their negligence.

You don't get to decide whether something is or isn't dangerous when you haven't got a 12-year old's knowledge of electronics.

Comment Re:Bedrock is patent troll, and the patent is bogu (Score 2) 347

I'm sure they did.

I used an 'infringing' data structure in 1997, when I was 16 and a novice C developer playing with a small beowulf cluster.

These structures are so unbelievably common it blows my mind that the prior art did not make the courtroom lynch the plaintiffs. That this was decided in favor of the Bedrock patentwhores (which is a far better term than patent trolls, I feel) has made me a very sad panda.

What are we all working for, when some dickhead hires a lawyer and sues everyone for a 35-year old idea?

Slashdot Top Deals

Never ask two questions in a business letter. The reply will discuss the one you are least interested, and say nothing about the other.

Working...