++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

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

Italian C++ Conference 2019

C++ Day 2018

Italian C++ Conference 2018

5 years of italiancpp

C++ Day 2017

Italian C++ Conference 2017

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

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

Coroutines Internals

Italian C++ Conference 2016

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

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

Meetup Firenze 2015

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

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

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

Meetup Bologna 2014

Meetup Milano

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)

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)
