24,710 reputation
14992
bio website thehungersite.com
location United Kingdom
age 46
visits member for 3 years, 11 months
seen 6 hours ago
experienced software engineer with many years in the industry, mostly c++ for large-scale, high-reliability systems.

Feb
27
answered Windows Firewall single rule with multiple IP addresses vs multiple rules with single IP address
Feb
27
comment Why is Android Runtime's AOT compilation more performant than Dalvik's JIT?
@JörgWMittag Exactly. In the very early days Java was interpreted... but I don't think the JIT compilers for Java have improved so significantly over time, so the speedups have come from ever faster and multi-core CPUs. And we still have benchmarks that say X is better than C, benchmarks... pah!
Feb
27
comment 2 methods that are 75% the same?
or you could use @moose's suggestion and keep your code maintainable and easy to read and understand!
Feb
27
comment Why is Android Runtime's AOT compilation more performant than Dalvik's JIT?
Why point out Google when Microsoft is getting in on the AoT bandwagon with their '.NET Native' compile tools!
Feb
27
comment Why is Android Runtime's AOT compilation more performant than Dalvik's JIT?
@JörgWMittag IIRC the CLR JIT compiles method-by-method as accessed for the first time and can throw away code too - this is why they created the NGen tool that does the full compile up front that not only compiles everything but also stores it in sharable pages on disk (JIT cache is in memory). I think a lot of the high-performance of today's code is mostly due to the incredible speed of today's CPUs, JIT was not a good option only 10-15 years ago when we didn't even have multi-core CPUs. I mean, Java really was slow back then but you don't hear that now...
Feb
27
comment Authenticating users across multiple web services
If the 3rd party services have their own user auth system that requires individual logins then yes, that's the only way, there's no magic that lets you replace their auth system. If you can have a single user for your service and obtain the same data then that is obviously better. You didn't tell us enough details to say more.
Feb
26
answered Do today's modern compilers perform run time checks?
Feb
26
comment Reducing the complexity of over-designed code
@Neil and the most elegantly designed programs are coded as if they were baroque cathedrals!
Feb
26
comment Reducing the complexity of over-designed code
@Neil True, and that's the problem - if only they enjoyed building the end-result, rather than building as an end in itself. Then maybe a few projects would get finished :-)
Feb
26
comment Reducing the complexity of over-designed code
See this Programmers post for more information why code ends up like this.
Feb
26
answered Reducing the complexity of over-designed code
Feb
26
comment Is the potential performance hit from LINQ worth it for improved readability?
@HLGEM as I found recently, EF happily added lots of objects, but when it was executed as SQL.. it turned into a lot of SQL inserts. Changing it to use SQLBulkInsert was significantly faster. Devs tend also to just return the entire object rather than selecting the bits they need - that turns into a large query, and lots of unused data transfer. Easy to use often means 'unoptimised'.
Feb
26
answered Authenticating users across multiple web services
Feb
26
answered Observer pattern: Prevent multiple firings on changed internal property
Feb
25
comment Tracing an object
I only mentioned it as Ultimate is very, very.. very expensive.
Feb
25
answered Feasibility of idea to reduce email spam
Feb
25
answered proper way to design REST interface with nginx lua.
Feb
25
revised Comparing path strings against list of rules
added 661 characters in body
Feb
25
comment Tracing an object
Doxygen will map your dependancies, callers and callees and unlike VS Ultimate, its free.
Feb
25
answered Comparing path strings against list of rules