Archive for July, 2005

Weird stuff in XCode

Bizarre bugs strike again ! Ok so today when I stepped into a simple constructor call (something like new GeoNode(); ), the XCode debugger instead of going directly in the constructor code it stepped into some __dyld_*** functions (no source code available), then crashed. It never reached the called constructor. In the end, I realized that Mac OS X loads the compiled code lazily – and thus checks for linking errors at run-time!.

Mac C++ port

I had to port some standard C++ code that compiled well in VC++ 6.0 to Mac (GCC 4.0) and my conclusions are that they have changed the C++ language a lot: operators didn’t work without “const” and STL didn’t work at all (the iterator is a class not a pointer, so you can’t add indexes and so on).

VS2005 Tests

I had a quick look on how Visual Studio 2005 helps testing the projects – it’s really nice, a test project is generated that instantiates your class and verifies the methods (well, you have to write code to compute the expected value, for example). There are lots of functions to organize the test sessions and you can use metadata files for defining input values to tests. As you know, unit tests are very important in XP, you have to write the unit test first and then implement the class, so programmers are encouraged to use the IDE functions.

MSXML6

Well it’s not officially out but you can use the dll (MSXML6.DLL) as it’s shipped with Visual Studio 2005 Beta. From the new features I extract:

  • the ability to validate a single DOM node as an XML document fragment against the currently loaded DTD, schema, or schema collection
  • means to clone a node from one DOM document, so it can be added later into another DOM document using the appendChild method
  • GeForce 7800GTX

    So nVidia launched their latest graphic card, not a revolutionary one at all (unlike their statement that is a revolutionary new architecture built from the ground up) but rather a 6800 Ultra with 8 pipelines more and a few new features (like the Trasnparency Supersampling that surely is cool). ATI will strike back in the next few weeks with the chip codenamed R520 (most likely to be named Radeon X900) – we expect really cool new features and advanced performance for it. ATI needs to get the crown back, the Geforce 6 Series really proved it was better in every aspect (well not quite as the R300 – nVidia FX difference but still).

    Blog software, evolved

    I may switch the blog implementation to Community Software, the evolution of the .Text framework this site is built. The community license allows hosting personal blogs using the software.

    MSDN Blogs uses Community Server also.

    New browser for Nokia smartphones

    Is developed by Nokia and Apple together, using open-source code also used in Safari. Let’s hope it will be backwards-compatible with the existing S60 phones and won’t be used only in the new products.

    Mac on Intel

    This will mean native speed for Windows apps, well only as long as someone writes an emulation layer for the APIs to translate Win32 calls into Core Foundation and Cocoa (Darwine is an emulator, but maps to the X11 API). I suppose games will be easier, because of not using complex APIs only DirectX (OpenGL games should be more easier though).