Reputation
210
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 10
Newest
 Critic
Impact
~3k people reached

  • 0 posts edited
  • 1 helpful flag
  • 16 votes cast
Jun
15
comment C++ : Lack of Standardization at the Binary Level
@Steve But C has a well defined ABI on i386 and AMD64, so I can pass a pointer to a function compiled by GCC version X to a function compiled by MSVC version Y. Doing that with a C++ function is impossible.
Jun
14
comment Did C++11 address concerns passing std lib objects between dynamic/shared library boundaries? (ie dlls and so)?
@JanHudec With your interpretation of ODR, shared object has to violate the ODR. A plug-in needs a set of entry points with a name defined by the plug-in API. Now if ODR is per process as you suggest, only one plug-in of the same kind can be loaded simultaneously. But from the manpage dlsym behaves like GetProcAddress, expect that the latter gives up if the symbol is not found in the specified library.
Jun
13
comment Which document model to choose in different situations
So where can I find pros and cons?
Jun
12
comment Which document model to choose in different situations
@Zibboz Yes, stick to one. Give some examples of how requirements maps to different solutions.
Jun
12
asked Which document model to choose in different situations
Jun
8
awarded  Critic
Apr
20
awarded  Popular Question
Mar
16
comment Data padding for different hardware support?
Which means that it is not safe to read byte-by-byte either, since reading a single byte can result in bus error. But that is a lesser problem that memory access since I/O should be done in larger blocks anyway.
Mar
16
comment Data padding for different hardware support?
I thought it only affected pointer dereference, not file I/O.
Dec
24
comment Why do C++ and Java both use the notion of “reference” but not in the same sense?
Isn't "Handle" the correct term for Java references? A handle can be reassigned but not share no other pointer properties.
Jul
2
awarded  Curious
Jun
8
awarded  Tumbleweed
Jun
1
awarded  Citizen Patrol
May
17
answered What is the exact meaning of Platform independence?
Mar
10
awarded  Yearling
Mar
10
accepted Outline for technical software documentation
Feb
23
comment Return compound structure from getter method in DTO
@Aaronaught Good point. You may write that as an answer with a little more examples. It is possible for the consumer to pick up the raw pointer from an returned Array reference anyway.
Feb
23
comment Return compound structure from getter method in DTO
@gnat This is DTO. In this case, there is no way around so I asked what sucks least.
Feb
23
asked Return compound structure from getter method in DTO
Feb
9
comment Outline for technical software documentation
@DocBrown: I thought mention "API Reference" implied the audience