gbjbaanb

United Kingdom

thehungersite.com

Age: 44

experienced software engineer with many years in the industry, mostly c++ for large-scale, high-reliability systems.
11h
answered In languages that don't allow underscores in integer constants, is it a good practice to create a constant for 1 billion?
13h
comment Recompiling dll's and adding more during run time - what are my options?
@DocBrown: you say "i am pretty sure embedding a C++ compiler like LLVM will be much slower" and then you say "to my experience, assumptions about performance without really measuring it are in 98% of all cases wrong". I guess LLVM is really faster than CSharpProvider given these 2 statements :-)
13h
comment Recompiling dll's and adding more during run time - what are my options?
Well, I did the easy bit :) its up to you to read and understand the documentation. You can use derived types though.
18h
comment Strengthening code with possibly useless exception handling
I refer you to The DailyWTF - are you sure you want to do this kind of testing?
19h
answered Recompiling dll's and adding more during run time - what are my options?
19h
answered Build on pre-commit in SVN
1d
answered svndumpfilter Multiple Versions
2d
awarded Guru
May
21
comment The best way of coding web system in term of performance
@Anonymous - so can't he cache his IPB/PHP scripts too? That wasn't his question anyway - he said he wanted to "move to native coding", that question has nothing to do with PHP bytecode caching.
May
21
answered The best way of coding web system in term of performance
May
21
comment The best way of coding web system in term of performance
@Anonymous you're not going to get good performance by moving from a set of PHP scripts to a different set of PHP scripts. He says the learning time is not a factor here anyway.
May
20
comment What to do as a Dev when for years their team has lacked product innovation, not used project mgmt methodologies, and kept bad Software Dev practices?
practical advice, too many times devs think only in terms of the codebase and not in terms of the business, and miss a huge picture that makes up what we do and why we do it.
May
20
comment Can C++ be used as a server-side web development language?
@greyfade and remember, the more servers you need to run because your software is inefficient, the more power you have to pay for, and the more Co2 is created. Write in C++, save a tree dude :)
May
20
comment Refactoring exception handling
another example of something you shouldn't do simply because you can do it. Good answer to the question though.
May
20
answered The emperor's new code, or: how to communicate code efficiencies
May
20
comment How to build cppunit with Visual Studio 2012
in other words, UINT is still a 32 bit type on x64, while UINT_PTR is a 64 bit type on x64 and 32 bits on x86.
May
19
comment Why use a database instead of just saving your data to disk?
Of course, "embedded" databases like sqlite and web storage blur the lines between using a DB and using a file, you have the ease of a file and the power of SQL all at the same time. I can't see the point of writing your own file-content read/write system when someone's already done it for you, and done it way better.
May
19
comment Why use a database instead of just saving your data to disk?
@Dokkat so you don;t use MySql or any other full-featured "server" style DB. You use Sqlite (or similar) and it will persist to disk every time, whilst giving you a DB embedded in your app (so no need for a separate install) and still giving you sql access, transactional integrity and disk persistence.
May
19
comment when to mock in unit testing
possible duplicate of (Why) is it important that a unit test not test dependencies?
May
19
answered when to mock in unit testing
1 2 3 4 5