++it promuove la pubblicazione di articoli, rubriche, lezioni…
Fin da pochi mesi dopo la nostra fondazione (2013), i nostri articoli hanno supportato un nuovo modo di fare blog sul C++: snippet compilabili, ovvero la possibilità di immergere direttamente nell’articolo degli snippet di codice C++ modificabili ed eseguibili da un vero compilatore (e.g. clang):
#include <iostream>
using namespace std;
int main()
{
cout << "I nostri articoli!\n";
}
Vuoi scrivere articoli su questo sito? Le regole sono semplici:
-
Diventa un autoreAttenendoti ad alcune linee guida, crea il tuo articolo e invialo per la revisioneAlcuni revisori verificheranno la conformità ed i contenuti della tua pubblicazioneSe approvato, il tuo articolo verrà pubblicato e pubblicizzato!
I nostri ultimi articoli
Italian C++ Conference 2020
Last June 13th, we made an awesome virtual day about C++: the Italian C++ Conference 2020. Due to the Covid-19 emergency, the conference was totally online. Better late than never, I am publishing this wrap-up post. Let me say that I am very proud that the Italian C++ Conference 2020 has been the very first major C++ event happening online. I hope that our experience has […]Leggi tutto...Italian C++ Conference 2020 will be an online-only event
In light of recent developments globally and the growing concerns around the spread of the COVID-19 virus, we have made the decision that this year’s Italian C++ Conference will be an online-only/virtual event. It will be scheduled for the same day at the same time (June 13 from 9 AM to 6 PM CEST). The event page […]Leggi tutto...C++ Day 2019
On November 30th, we had an awesome day about C++ in Parma: the C++ Day 2019. We co-organized this event with Elettric80. The event was hosted by the University of Parma! The C++ Day 2019 had ~170 attendees. The event was possible thanks to the joint work of Elettric80 and a few people from the Italian C++ Community (Alessandro Vergani, Illya Dudchenko, […]Leggi tutto...Italian C++ Conference 2019
The 4th edition of the Italian C++ Conference took place at Politecnico di Milano last June 15th. The awesome day opened with a very special keynote by Andrei Alexandrescu. The conference was attended by ~240 people, 20% more than last year. The drop rate was about 23%, slightly higher than last year. As always, I have co-organized the conference with Alessandro Vergani. In […]Leggi tutto...C++ Day 2018
Two weeks ago, on November 24th, we had an awesome day about C++ in Pavia: the C++ Day 2018. We co-organized this event with the University of Pavia and in particular with two proactive guys: Riccardo Brugo and Federico Pasqua. The event was hosted by the Physics Department and by the director Alberto Rotondi which actively supported the C++ […]Leggi tutto...Italian C++ Conference 2018
On June 23, 200 people swarmed in Milan and attended the Italian C++ Conference 2018, one of the Italian C++ Community event formats. Again, we had a sensible drop rate (~28%) and we are discussing ideas to contain such a phenomenon in the future. Anyway, our target has been achieved: 200 attendees. The event fell the day before […]Leggi tutto...5 years of italiancpp
Time flies. Today of 5 years ago I officially launched this website to the world. Happy birthday ++it 🙂 I believe that 5 years is a great milestone. When I started the community, from scratch, my network was relatively small and I didn’t have any previous experience in managing something other than a small project developed in the spare time […]Leggi tutto...C++ Day 2017
At the beginning of December, on the 2nd, the Italian C++ Community hosted the C++ Day 2017 and about 110 people gather together. The drop rate was the lowest I have ever seen: ~8% (120 tickets emitted). This free event was hosted at Centro Culturale Giacomo Alberione, an historical location in the lovely center of Modena. As usual, the event […]Leggi tutto...Italian C++ Conference 2017
Last June 17 we had the Italian C++ Conference 2017 in Milan, one of the events totally focused on C++ organized by the Italian C++ Community that I lead and manage. ~230 people signed up for the conference and about 160 attended. We are really disappointed about the drop rate (~30% – higher than usual). Probably, the nationalwide transport strike […]Leggi tutto...Singleton revisited
It happens quite often to deal with those annoying objects, used everywhere in your applications. This may be because of a poorly designed application but, sometime, it is simply an inevitable condition. With this in mind and considering that either a design refactoring to remove the global dependence is, sometimes, not affordable because of business needs or not […]Leggi tutto...Il nuovo italiancpp: ++it 2.0
Salve a tutti, avrete sicuramente notato che in questi giorni il sito ha subito diversi importanti cambiamenti. Sono spariti i forum, non è più possibile creare un utente, è comparso Reddit in prima pagina, ecc. Tranquilli, non stiamo chiudendo il sito! Al contrario, stiamo provando a rinnovarci, togliendo un po’ di complessità lato nostro ma aggiungendo più contenuti […]Leggi tutto...Spiare il consumo di memoria con l'operatore new
Un grazie speciale a Marco Alesiani per le sue correzioni e suggerimenti. International reader? Read the post in English. Quando diciamo “efficienza”, quasi sempre pensiamo “tempo”. Prima il codice fa il suo lavoro, più è efficiente. E la memoria? Certo, oggi anche un portatile da quattro soldi arriva con “un secchio di RAM“… ma non […]Leggi tutto...Spy your memory usage with operator new
Special thanks to Marco Alesiani for many corrections and suggestions. Anche tu campi a spaghetti e pizza? Leggi l’articolo in italiano. When we say “efficiency”, we often think “time”. The sooner the code does its job, the more it is efficient. What about memory? Granted, today even the lousiest laptop comes with “a bucket load” […]Leggi tutto...C++ Day 2016
Last Saturday the first C++ Day happened in Florence, a free Italian event entirely dedicated to C++. Almost 80 people attended (100 actually enrolled, the drop rate was ~20%). We co-organized the event with Develer. The event was sponsored by Soft2000 and supported by JetBrains and O’Reilly Media. The C++ Day was awesome! We had 6 great technical sessions, a Workshop, a […]Leggi tutto...Coroutines Internals
What are coroutines and why should I care? In The Art of Computer Programming Donald Knuth introduced coroutines as an alternative to the usual function caller/callee idiom where two pieces of code were treated as cooperating equals. Coroutines can be thought of as language-level constructs that generalize subroutines by providing multiple exit/entry points. A normal […]Leggi tutto...Italian C++ Conference 2016
After two years of meetups and participations in Italy, last Saturday we had more than 100 people attending (130+ registered people – ~22% drop) the first edition of the Italian C++ Conference, in Milan, our new free event fully focused on C++. Hosted by “Bicocca” University and sponsored by RogueWave Software, we delivered 5×60′ technical sessions, 1×30′ sponsor […]Leggi tutto...Unicode, localization and C++ support
This document doesn’t attempt to be yet another Unicode article but rather target the fundamental points that should be of interest to a C++ programmer diving into the new standards and into the Unicode subject either for the first time or as a refresher. It isn’t by any means a complete source of information on […]Leggi tutto...Italian Coding Gym
[Un GRANDE Grazie a Stefano Saraulli per aver suggerito diverse modifiche a questo articolo] Sembrava un programma semplice. “Trovare le coppie in una lista di numeri che danno come somma un certo valore noto”. Ma metà dei test ancora non passano, il codice non scala, è lento – e la deadline è tra pochi minuti: “Come posso […]Leggi tutto...Primi passi con Boost.Python
“Finalmente un linguaggio più moderno e funzionale” Chi fra noi non vorrebbe programmare in un linguaggio multiparadigma, altamente espressivo, in piena evoluzione e con una vastissima libreria standard? Stiamo parlando, ovviamente, di… Python. Ci sono casi in cui il nostro solito campione (C++11), non è la scelta migliore. Per un prototipo da sviluppare in fretta, […]Leggi tutto...First steps with Boost.Python
“Finally a modern, pragmatic language.” Who among us wants to work with a multi-paradigm, highly-expressive, fast-evolving language with a huge standard library? We are talking, as usual, about… Python. There are scenarios where our trusty champion (C++11) doesn’t cut it. For a prototype to rush out in a hurry, a “single use” script, the server […]Leggi tutto...Meetup Roma 2015
Sabato 24 Ottobre ci siamo incontrati a Roma, ospitati dal dipartimento di Ingegneria dell’Università degli Studi “Roma Tre”. Eravamo circa 30 C++-isti e, nonostante le iscrizioni superassero le 50 persone, lo riteniamo un buon risultato. [rimprovero] In genere su eventi medio/piccoli completamente gratuiti si ipotizza un drop di circa il 20%. Fino ad oggi tale previsione si è […]Leggi tutto...Meetup Firenze 2015
Lo scorso 20 Giugno abbiamo avuto un’ennesima dimostrazione della straordinarietà dell’ecosistema C++! Abbiamo fatto tappa nella splendida Firenze, al Grand Hotel Mediterraneo, una suggestiva location che si trova in pieno centro, lungo il fiume Arno. Eravamo circa 50 C++-isti! Un ottimo risultato che, visto lo splendido clima di metà Giugno, non ci aspettavamo 😛 L’evento non […]Leggi tutto...Folding Expressions
People familiar with the new features C++11 brought to the C++ programming language should know what a variadic template is and why they’re important. Variadic templates can have a variable number of parameters of any type: This not only brings type safety to the code but also ensures that all the variadic arguments handling is […]Leggi tutto...Cat: a C++14 functional library
The rise of functional programming has affected many programming languages, and C++ could not escape from it. The need of paradigms like partial application (via currying) and functional composition are now a reality also in C++, and the spread of libraries like FIT and FTL is an evidence. Cat is a C++14 library, inspired by Haskell. Cat aims at pushing the […]Leggi tutto...Serializing access to Streams
Last december, I was at Meeting C++ in Berlin and I attended – among others – the talk Multithreading done right? by Rainer Grimm. In most of the examples, two or more threads were writing to cout using the form: And one of the problems was that data sent from one thread often interrupted another thread, so the output […]Leggi tutto...Meetup Pordenone 2015
Il nuovo anno è iniziato alla grande per l’Italian C++ Community! Lo scorso Sabato 7 Febbraio ci siamo incontrati a Pordenone ed eravamo circa 80 C++-isti! Un risultato che ha superato ogni aspettativa! L’evento non sarebbe stato possibile senza Marco Parenzan – che lo scorso Settembre ci ha proposto di realizzare questa folle impresa ed è stato il nostro […]Leggi tutto...Anti-IF idioms in C++
Last November 15th I attended the Italian Agile Day in Ancona, where Gianluca Padovani, Marco Foco, and I facilitated a workshop on refactoring in C++ (if you like, read more details here). Before our session, I attended a couple of talks and one was about “IF-Oriented Programming vs Object Oriented Programming”, by Claudio Pattarello (a former […]Leggi tutto...Italy speaks C++ too
Italy has a bunch of excellent C++ programmers (working here or abroad) and sometimes I have the honor to meet them. In this brief post I just like to tell you our latest activities, when C++ people meet, discuss and share knowledge. Every time we meet, new people join us. I think this is another […]Leggi tutto...Meetup Bologna 2014
Lo scorso 8 Novembre la community si è riunita a Bologna, per la seconda volta con un meetup indipendente e gratuito. Rispetto al meetup di Milano, questa volta l’evento è stato decisamente più lungo (9-17.30), con sessioni di tipologia differente e con un’affluenza che ha superato i 50 partecipanti. Premetto che qui potete trovare i dettagli […]Leggi tutto...Meetup Milano
Lo scorso 28 Giugno abbiamo organizzato il primo meetup della community, a Milano. Oltre 30 partecipanti (più delle aspettative) e 4 speakers eccezionali. Unica nota negativa è il non essere riusciti a trasmettere i contenuti in streaming…Youtube ci ha tradito! Per fortuna la nostra fotografa Francesca ha realizzato numerosi scatti (potete trovarli sul nostro gruppo facebook)! […]Leggi tutto...Brace initialization inside a lambda capture list
Mi sono inmbattuto oggi in un problema abbastanza subdolo: Se eseguite il codice, l’output del programma è (ammetto con mia sorpresa) il seguente: v size is: 1000 inside lambda => v size is: 1 La dimensione di v all’interno della lambda è 1. Ma perchè? Il problema, come vedremo, non ha nulla a che vedere […]Leggi tutto...I compilatori e lo standard ISO: tabella comparativa
Tutti i produttori di compilatori hanno preso molto sul serio la necessità di essere aderenti allo standard ISO. Con le specifiche C++11 e l’ormai imminente C++14 ogni sviluppatore ha la possibilità di “mettere in cassaforte” i sorgenti garantendogli lunga vita e sopravvivenza al compilatore utilizzato. Non è quindi una rincorsa alle mode ma un vero […]Leggi tutto...C++11 in Azione (CDays14)
Guarda tutte le foto! Lo scorso 26 Febbraio, ai Community Days 2014, abbiamo curato una traccia dedicata al C++. Il feedback è stato positivo e ci siamo divertiti molto. Come per l’Agile Day, scrivo un piccolo wrap-up del mio talk e della giornata in generale. Ospite d’eccezione per la nostra track è stato Alessandro Contenti (Visual C++ […]Leggi tutto...Una sbirciatina al C++14
Il C++14 è il nome informale della prossima revisione dello standard C++ ISO/IEC che potrebbe essere ufficializzata quest’anno. La bozza approvata dal comitato ISO – N3797 – è stata pubblicata il 15 Maggio 2013. In questo breve articolo vediamo alcune delle features più interessanti già disponibili su Clang (ogni argomento ha il link al relativo paper/draft). […]Leggi tutto...Effective Code Transformations in C++ (IAD13)
Ieri, in occasione dell’Italian Agile Day 2013, ++it (rappresentata da Marco Arena) ha presentato con Paolo Polce un talk dal titolo “Effective Code Transformations in C++“. Obiettivo della sessione è stato quello di mostrare il nuovo C++ anche ad una platea di sviluppatori provenienti da tecnologie diverse dal nativo. Con piacevole sorpresa la platea era composta […]Leggi tutto...