«Consider yourself Perfectible makes you Perfect!»
Posts tagged devtools
Getting C++ Threads Right
Jan 21st
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.
More >
JPound su Java Italian Portal
Jun 22nd

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.
HDR experiments…
Mar 22nd
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)
Speed up Mail.app
Mar 5th

+

+
vacuum=
BRRRRRUUUUUUUUUMMMMM!
Anyone that use Mail.app (the “official” mail client on 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. More >


