Getting C++ Threads Right

Hans Boehm has given a very interesting lecture on “Getting C++ Threads Right” at Google last month. The lecture is available in video format from here ABSTRACT The advent of multicore processors has generated profound debate on the merits of writing parallel programs with threads and locks. Nonetheless, for many application domains, this remains the standard paradigm for writing parallel programs, and at the moment, there is no apparent universal replacement. And it is the focus of this talk. Somewhat surprisingly, there are a number of often subtle, but generally fixable, industry-wide problems with current approaches to threads programming. We’ll focus on probably the most widely used environments, consisting of C or C++ with a standard threads library. Problems span the spectrum from system libraries through language implementations through supporting hardware. They get in the way both in that they often make it difficult to write 100% reliable multi-threaded software, and in that they confuse even the basics of the programming model, thus making it hard to teach. A surprising number of “experts” do not understand the basic rules. Arguably, these problems really need to be addressed to even allow a meaningful comparison to other parallel programming approaches. Since solutions to these problems generally require a coordinated industry effort, we helped to persuade the C++ standards committee to address them by pursuing a coherent approach to threads in the next C++ standard. The talk will outline some of the proposed solutions, and give an update on this effort. Speaker: Hans Boehm Hans Boehm is a member of the advanced architecture group at HP Labs. He has worked on many aspects of programming language design and implementation, including garbage collection and concurrency, and he was HP’s representative to the effort to redesign Java’s memory model. He is a past Chair of ACM SIGPLAN, and is an ACM Distinguished Scientist. The slides for the lecture are available from: http://www.hpl.hp.com/personal/Hans_Boehm/misc_slides/c++threads.pdf. ...

January 21, 2008 Â· 3 min Â· 430 words

JPound su Java Italian Portal

Dopo tanto tempo, un post in Italiano. Sono qui solo per segnalarvi che la mia Tesi su “Asterisk e JPound” (per qualche oscuro motivo a me ignoto ;) ) e’ stata pubblicata su Java Italian Portal tra i Tutorial (???). Spero che qualcuno possa trovarla utile a fini didattici, dato che non ho potuto continuare il suo sviluppo.

June 22, 2007 Â· 1 min Â· 58 words

HDR experiments...

Because I can’t resist to try to understand… when my great friend try something ;) . Here you can see the original version of two images: London - Regent’s Street - Apple Store (made by me during my second trip at London for the Assesment Day of Symbian) Gulls (by National Geographics) And, after the jump, the [en:HDR]ed version. ...

March 22, 2007 Â· 1 min Â· 109 words

Speed up Mail.app

+ + vacuum BRRRRRUUUUUUUUUMMMMM! Anyone that use Mail.app (the “official” mail client on [en:Mac OS X]) knows that the greater mailboxes become, the slower Mail.app goes. I don’t know how many email I have, but the oldest is from the 2002 (I have cutted older because they became useless). Today, I found an interesting link on TUAW: A faster way to speed up Mail.app on Hawk Wings. Starting from that tips, I have expanded it to vacuum every table in the SQLite3 database used from Mail.app to index our emails. Continue to see the mini-howto. ...

March 5, 2007 Â· 2 min Â· 231 words

Fusion Beta 2 available

Today, after finishing of the URL-game of xmau (I have jumped the 42 because… I don’t know how to make THE QUESTION: I have found the credits casually! ;) ), I have decided to come back to life. And, on TUAW, I found this: VMWare release the beta 2 of Fusion, the [en:Mac_OS_X|MacOSX] version of VMWare Virtualization System. The biggest news is the availability of the native 3D-Support of DirectX for virtualized [en:Windows] installations. Here the Release Notes.

March 5, 2007 Â· 1 min Â· 78 words

OpenSolaris free Starter Kit

On http://get.opensolaris.org/ you can book a free OpenSolaris Starter Kit. It’s a good occasion to try the features of this SUPER-[en:Operating_System|OS] and familiarize with it. It’s free! Inside you’ll find tutorials, documentation, and two DVDs filled with useful software. Get started using OpenSolaris technology — right on your laptop or home PC. This kit will help you learn about the OpenSolaris source code and the community. On the DVDs, you’ll find: ...

March 2, 2007 Â· 1 min Â· 150 words

XCode meets Mono

And… seems to be a nice meeting. ;) After a lot of development, the comunity surrounding the project realeases last stable version 1.2.3.1 of Mono. What about [en:Mac_OS_X|Mac OS X]? Here is a dedicated page on the official wiki of Mono. And, in particular, I’m happy to highlight a tutorial/howto about XCode and Mono integration: CSharpPlugin. I know that [en:Mono_(software)|Mono] is the open-source implementation of [en:.NET_Framework|.Net] (started by [en:Novell]), and that I hate [en:Microsoft|M$], but… I can’t hate a framework. It’s like to hate the [en:Plutonium] because we make the [en:Atomic_Bomb] with it! ;) ...

February 21, 2007 Â· 1 min Â· 146 words

Virtualization? Why not?

… because the [en:Microsoft|M$’s] mormons think to squeeze money from consumers also from this. I’m reading on TUAW that: … This means that if you want to run Vista on Parallels, and want to keep within the terms of the EULA, you’ll need to buy either the Business or Ultimate versions, whose [en:EULA]s allow for virtualized use… M$ wants to control also the “environment” where Vista runs, not only what runs INSIDE Vista. Does it sound like… [en:Mafia]? Where is our freedom to install the buyed system ANYWHERE WE WANT TO? ...

February 2, 2007 Â· 1 min Â· 150 words

Docvert: Convert MsDocs into... anything!

This web service software takes multiple word processor files (typically .doc) and converts them to OpenDocument and HTML. Web Service receives .doc file and converts it to a Oasis OpenDocument 1.0 which can then be converted to HTML, RSS, or any XML format. The resulting OpenDocument is then optionally converted to HTML or any XML. This is done with XML Pipelines, an approach that supports XSLT, breaking up content over headings or sections, and saving those results to multiple files (e.g., chapter1.html, chapter2.html…). The result is returned in a .zip file. ...

January 24, 2007 Â· 1 min Â· 118 words

Dashcode public beta released

If you have an ADC (Apple Developer Connection) account and you are interested in Widget’s Development, probably you’ll consider interesting to know that Apple have released the beta of Dashcode. Personally, I’m not a Dashboard lover. I have disabled it few days after Tiger Installation: it wolf down much too much memory… and, if I need a “small-service-app”, I use an equivalent web-page or normal-app. Source, Melablog.

January 4, 2007 Â· 1 min Â· 67 words