7,405 reputation
11835
bio website
location
age
visits member for 4 years, 1 month
seen 5 hours ago

Jan
4
revised In plain English, what is an object model?
added 458 characters in body
Jan
4
answered In plain English, what is an object model?
Dec
24
awarded  Yearling
Dec
24
awarded  Nice Answer
Dec
23
comment How does word size affect the amount of virtual address space available?
Yes. You have to think about the ISA as the interface between software and hardware. And as most interface, its goal is to expose functionality and hide implementation. And buses (there may be several, of different width) are part of the implementation.
Dec
23
comment How does word size affect the amount of virtual address space available?
@LukeP, that doesn't change much. Word size is a property of the ISA (Instruction Set Architecture). Bus sizes is a property of the implementation of the ISA (also called micro-architecture). A bus may be wider or smaller than a word, that's not important for the programmer. The same ISA may be implemented several times, with different bus size.
Dec
23
revised How does word size affect the amount of virtual address space available?
added 311 characters in body
Dec
23
answered How does word size affect the amount of virtual address space available?
Dec
23
comment Why is *declaration* of data and functions necessary in C language, when the definition is written at the end of the source code?
@user31782, you have serious misunderstandings about how programs work. So serious that I don't think p.se is a good place to correct them (perhaps the chat, but I won't try to do it).
Dec
23
comment Why is *declaration* of data and functions necessary in C language, when the definition is written at the end of the source code?
@user31782, the compiler doesn't jump anywhere. It will emit code to call that function; the value returned will be determined at run-time. Well, in the case of such a simple function which is present in the same compilation unit, the optimization phase may inline the function, but that's not something you should think about when considering the rules of the language, it is an optimization.
Dec
23
comment Why is *declaration* of data and functions necessary in C language, when the definition is written at the end of the source code?
@user31782 If there was no previous declaration of Func_i, when seeing that Func_i is used in a call expression, behaves as if there was one extern int Func_i(). It doesn't look anywhere.
Dec
23
answered Why is *declaration* of data and functions necessary in C language, when the definition is written at the end of the source code?
Dec
15
answered can a closed source commercial software make system(3) calls to GPL applications (not libraries)?
Dec
15
comment can a closed source commercial software make system(3) calls to GPL applications (not libraries)?
@AquariusPower, if you don't distribute bash, there is no problem in distributing a script which depend on bash with a license not compatible with the GPL. If you distribute both as a package, see a lawyer. The text cited in this answer hints that if the packaging make it clear that it is two different things -- and probably allows to use another version of bash easily --, the FSF does not consider it as infringement. How is that interpretation binding for them? I don't know. How is it binding for someone else who release GPLed software? my guess is not at all.
Dec
15
comment can a closed source commercial software make system(3) calls to GPL applications (not libraries)?
You can depend on GPLed code as much as you want as long as you don't distribute GPLed code. If you don't distribute ls, your application can depend on it. If you distribute ls, then things become muddy and I'd strongly suggest lawyer advice.
Dec
14
comment can a closed source commercial software make system(3) calls to GPL applications (not libraries)?
Note that the issue isn't about using, it is about distributing (that's what copyright control). If you don't distribute things for which you don't hold the copyright (you probably won't for ls), you are save from copyright infringement
Dec
11
comment Is it allowed to embed an LGPL command-line tool?
@Newtopian, AFAIK, the nature of the linking does not influence if something is a dependent work or not, nor does the structuring in two or one executable. (That may help meeting the licensing requirement though, especially in the case of the LGPL).
Nov
12
comment What did people do before templates in C++?
@Telastyn, IIRC, templates were a novelty of CFront 3 (about 1990).
Nov
12
comment What did people do before templates in C++?
IIRC, old g++ distributions (pre 2.0) had a 'generic.h' header.
Oct
29
awarded  Nice Answer