11,547 reputation
12455
bio website
location Seattle, WA
age 58
visits member for 3 years, 9 months
seen 6 hours ago

1d
comment can non-programing fizzbuzz work?
It turns out that there are a surprising number of people who have read a book or attended a 1-week Java bootcamp and are readily able to answer many questions just like yours, but are unable to open an editor/IDE and actually write a program, even one as simple as Fizzbuzz. Of course FizzBuzz is now so old hat, that there are probably a significant number of job applicants who have it memorized, so it is becoming less useful. Making a bad hiring decision is unpleasant for everyone involved. Measure twice, cut once.
Jul
26
comment Implementing keyword “const”
@user3762579, no, not really. Note that C originally didn't have the const keyword, and there was no magic way "using structures" or something to get the same effect. You could use the preprocessor to define compile time constants like "#define PI 3.14159" or "#define BEGIN_VIDEO_MEMORY 0xC0000000", but it wasn't the same thing as being able to declare something const.
Jul
26
awarded  Enlightened
Jul
26
awarded  Nice Answer
Jul
25
answered Why do binary files load quicker than alphanumeric text files?
Jul
24
comment How to evaluate JNI approaches with Java and Fortran?
I'm not clear on something: are you going to be writing the FORTRAN or the domain guys? Are the domain guys FORTRAN experts? By reputation a good FORTRAN compiler in the hands of an expert can produce some of the fastest and most stable numerical code around. However, it isn't a silver bullet. Converting well written Java into poorly written FORTRAN isn't going help matters at all.
Jul
21
comment When I test out the difference in time between shifting and multiplying in C, there is no difference. Why?
The best way to answer questions like these is to look at the assembly code the compiler is producing. Compilers typically have an option to produce a copy of the assembly language they are generating. For the the GNU GCC compilers this is '-S'.
Jul
15
comment Programming with emacs instead of a debugger-integrated IDE
Actually emacs does have an integrated debugger: emacs gdb mode (emacswiki.org/emacs/GdbMode). It provides a GUI front end for gdb within emacs. Personally I find GUI debuggers overrated. They spare you the trouble of learning the debugger command structure, but that seems to provide folks with an excuse never to learn the extended capabilities of their debugger, like scripting and macros.
Jul
10
answered Can Excel be a strong development platform?
Jul
9
comment Why is software OS specific?
@Paul, it is probably more complex than you suspect. First of all, compilers will typically stick in some code that sets up the programming model used by the compiler. Google 'C startup code' for an example. Also, OS expect the executable to be in a particular file format, which is more or less OS specific, and contains a bunch of metadata about the program. Some OS will support a few different formats. For example, Windows still supports the COM format from MS-DOS for small (<64k) programs. COM is just the characters 'MZ' followed by the bare machine code with no metadata.
Jul
8
awarded  Good Answer
Jul
8
comment Pointer indexing
Without wishing to be snarky, "Numerical Recipies" is generally considered a useful, quick and dirty book, not a paradigm of either software development or numerical analysis. Check out the Wikipedia article on "Numerical Recipies" for a summary of some of the criticisms.
Jul
8
awarded  Nice Answer
Jul
8
revised Why is software OS specific?
added 61 characters in body
Jul
8
answered Why is software OS specific?
Jul
7
answered What are the limits of using OS X when it comes to compiling and running CLI-based tools and scripts that were written with Linux in mind?
Jul
6
awarded  Nice Answer
Jul
6
answered Screen out software engineers with poor communication skillls?
Jun
29
answered Need advise for porting linux script to Win command line
Jun
27
answered Is this a good task for machine learning - grouping pieces of DNA based on sequence?