| | The Newsletter will be a bit terser as I'll be away on a week long vacation and while I was able to prepare this one in advance its not possible to prepare two. And believe it or not somewhere where the cost of Internet access is about $0.50 a minute! On a boat in the middle of the Mediterranean! So a week without any computers... I'll still be pre-publishing daily blog entries to appear while I'm away but don't expect any answers to emails under I return! So I shall have a great time! | | Moving to Mercurial and TortoisHg/ One of the best things about the Subversion version control system was the book "Version Control with Subversion" produced by O'Reilly which was also given away free as a PDF or online. That plus Tortoise, the Windows Explorer extension made it easy to get into Subversion and I used it ever since for the last five years. Now with the increased availability of distributed version control systems and a very good Introduction to Mercurial by Joel Spolsky, I'm moving again. As he says on the site "Even if you're working by yourself, you should use Mercurial to get the benefits of version control." Those benefits include keeping track of every version of every file in your project and (from Mercurial) merging code from different developers. His tutorial is using it from the command line. Coincidentally Tortoisehg has just been released at version 1.0 matching Mercurial 1.5. | Are C++ Applications Slower than in C? It's an interesting question. C advocates say that for instance a simple assignment of a function call in C could in C++ just be a function call, or a member function call. It could also be an anonymous constructor. Are the parameters implicitly invoking copy constructors for other classes as part of type coercion? Is the value of the function being assigned in a normal assignment, or is it an assignment operator? It means that determining something simple in C can be much more involved in C++. I tend to prefer an empirical approach and just time the function and make a note to avoid that particular way of doing things in the future if it's slow. As anyone who has done benchmarking will know though, writing software that performs well is not that easy; there's time versus space constraints. As you move to higher levels of abstraction, i.e. move away from C to C++ it gets harder. You might find the ISO Technical Report on C++ Performance (PDF) an interesting read. At 202 pages, it might take a while as well. It aims to to debunk widespread myths about performance problems and present techniques for use of C++ in applications where performance matters, as well as presenting techniques for implementing C++ Standard language and library (for compiler writers). | Google GData and .NET Access Google makes a lot of its data available via the Gdata API and that includes source code. This is a comprehensive set of services which encompasses - Base
- Blogger
- Calendar
- Spreadsheets
- Google Apps Provisioning
- Code Search
- Notebook
- Picasa Web Albums
- Document Feed
- Contacts
- You Tube
- Google Health
As well as the APIs they provide client library code in Objective-C and .NET for several including Youtube as installable projects After I installed the Youtube client (It's an MSI) I was surprised to see the New Project in both Visual Studio 2008 and in the Visual C# 2008 Express Edition (pictured). There's a login box plus dlls for the Gdata Client, extensions and the Youtube API. If you double click the references you can see the various objects and their methods in the Object browser. So now you can write web apps or Internet accessing Winforms that use the API. | Never Programmed Before? Start Here For the complete novice to computer programming. Learn how a computer works and how to control it by writing computer programs. | | | | C / C++ / C# Ads | | | | Featured Articles | | | | | More from About.com | | | | | | Share Your Dog's Tale Share your tale of what it's like to live with a specific breed of dog - or even a mutt. Your submission will help prospective owners decide what dog breed is right for them. More >
| | | | Reader's Choice Tech Awards Learn what apps, smartphones, email clients, and more were chosen by About.com readers as their favorites. More>
| | | | | Sign up for more free newsletters on your favorite topics | | | | You are receiving this newsletter because you subscribed to the About C / C++ / C# newsletter. If you wish to change your email address or unsubscribe, please click here. About respects your privacy: Our Privacy Policy Contact Information: 249 West 17th Street New York, NY, 10011 © 2010 About.com | | | | | Must Reads | | Advertisement | |
No comments:
Post a Comment