3,558 reputation
11019
bio website
location Italy
age 50
visits member for 3 years, 6 months
seen 17 hours ago

Born an living in the suburbs of Milan (Italy), I graduated in 1989 as a Master Electronic Engineer, specializing in information technology an inter-networking systems and plants.

Interested in programming since the early '80s, today working mainly in C++ and D programming languages, in libraries development.


Mar
9
comment what are the limits of the client server architecture
.... Even a 1Gb/s LAN that spans more than 2 Km with 4 switches in the diameter don't allow client/server transfer rate greater than 15-20MB/s. And having the LAN faster won't help, since after 1Gb/s the trasfer rate, with 16KBytes buffer is dominated by the signal propagation delay. Sometime software engeneer are so... abstract to even forget there is physics downside.
Mar
9
comment what are the limits of the client server architecture
Estimation on LAN speed is ... CRAZY. Unless you are a in a nerdish company that allow to keep servers directly under your desk (or as your chair), servers are in data-centers, clients are on LANS and there is a WAN in the middle whose performance greatly depends on where your clients are in the world. With nowadays parameters, a lient CANNOT TRANSFER more than 16KBytes/Rund-trip because that's how TCP works with M$ configuration defaults....
Mar
1
comment Bad sign if nobody can comprehend one's code?
I agree in general terms, but on the specifics, clarity is a relative concept that depends on the cultural distance of the involved party. For people like me (who wrote hardware device drivers) code like that is perfectly clear and does not deserve any kind of comments. The problem arise when that code is read by people coming from other "domains", where the dominant culture is more "procedural" than "functional". The programmer in the sample used a specific "well known" pattern of parallel functional processing. The problem is that the reviewer was not from that same community.
Feb
28
answered Bad sign if nobody can comprehend one's code?
Jan
8
comment Will a profound knowledge of C++ help you in learning other languages faster/easier?
NO, assembler does!
Oct
19
comment What is the name of a type that is defined from a template?
Note that vector<T> a; is not the declaration of 'a' of type vector<T>: is just a syntax error.
Oct
19
comment What is the name of a type that is defined from a template?
No. vector<T> is a "geberic type" because T is a formal parameter (and not an existing type). The declaration is template<class T> class vector { ... };. vector<int> a is the declaration of the variable a of type vector<int>; vector<bool> b is the declaration of the variable b of type vector<bool>; The fact the actual code of vector<int> and vector<bool> is different depends on the fact there is a template<> class vector<bool>{...}; somewhere in the <vector> header, not on the fact the vector<bool> is used here or there to instantiate this or that variable.
Oct
19
revised What is the name of a type that is defined from a template?
added 194 characters in body
Oct
19
answered What is the name of a type that is defined from a template?
Oct
9
answered Can I watch a SHA-256 do its magic visually?
Oct
2
revised Why are shortcuts like x += y considered good practice?
added 2768 characters in body
Oct
2
revised Why are shortcuts like x += y considered good practice?
added 81 characters in body
Sep
24
awarded  Autobiographer
Sep
17
comment Is it an overkill to wrap a collection in a simple class only for the sake of better readability?
@Doc Brown, Aviv Cohn: There is no tag specifying any language, so anything can be right and wrong at the same time!
Sep
15
revised c++ coding practice class vs. “free” functions
deleted 5 characters in body
Sep
14
answered c++ coding practice class vs. “free” functions
Sep
2
awarded  Yearling
Aug
17
revised Is goto to improve DRY-ness OK?
added 41 characters in body
Aug
17
revised Is goto to improve DRY-ness OK?
added 41 characters in body
Aug
17
answered Is goto to improve DRY-ness OK?