Journal Articles
Browse in : |
All
> Journals
> CVu
> 304 (10)
All > Topics > Programming (877) All > Journal Columns > Code Critique (70) All of these categories |
- Options:
- View Article Map
- View Archives
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Some Objects Are More Equal Than Others
Martin Moene
06 June 2011 20:23:42 +01:00
Comparing objects is a fundamental operation. Steve Love and Roger Orr consider different language approaches.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Exception Specifications in C++ 2011
Martin Moene
04 June 2011 20:34:21 +01:00
The new standard is almost finished. Dietmar Kühl looks at the new exception features.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Why Interval Arithmetic Won’t Cure Your Floating Point Blues
Martin Moene
03 June 2011 20:37:04 +01:00
We’ve looked at several approaches to numeric computing. Richard Harris has a final attempt to find an accurate solution.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
The ACCU 2011 Crypto Challenge
Martin Moene
01 June 2011 20:45:52 +01:00
Ready for the biggest challenge yet? Richard Harris throws down the gauntlet.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Benefits of Well Known Interfaces in Closed Source Code
Martin Moene
06 April 2011 18:32:28 +01:00
Designing a good API is a significant challenge. Arun Saha suggests taking inspiration from outside.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Why Computer Algebra Won’t Cure Your Floating Point Blues
Martin Moene
05 April 2011 18:54:54 +01:00
Numerical computing is proving quite a challenge. Richard Harris sees if a computer can do mathematics.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Refactoring and Software Complexity Variability
Martin Moene
02 April 2011 19:21:08 +01:00
Most code bases could have their complexity improved. Alex Yakyma presents a model that suggests how to do this.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Queue with Position Reservation
Martin Moene
05 February 2011 20:17:47 +00:00
Multiple threads can make processing a message queue faster. Eugene Surman needs the right data structure.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Why Rationals Won’t Cure Your Floating Point Blues
Martin Moene
04 February 2011 20:24:34 +00:00
Numerical computing is still proving hard to do accurately. Richard Harris considers another number representation.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Overused Code Reuse
Martin Moene
03 February 2011 20:26:49 +00:00
It’s tempting to use someone else’s code rather than write it yourself. Sergey Ignatchenko reports that ‘No Bugs’ Bunny recommends caution.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
From Occam's Razor to No Bugs' Axe
webeditor
31 December 2010 21:37:00 +00:00
Designing good APIs that stand the test of time is notoriously hard. Sergey Ignatchenko suggests a radical guideline.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Why Fixed Point Won't Cure Your Floating Point Blues
webeditor
31 December 2010 21:35:00 +00:00
Numeric computing is very difficult to do properly. Richard Harris looks at whether a common technique will help.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Interface Versioning in C++
webeditor
31 December 2010 21:34:00 +00:00
Updating a widely used DLL interface is non-trivial. Steve Love presents a practical approach.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Quality Matters Christmas Intermezzo
webeditor
31 December 2010 21:33:00 +00:00
Sometimes it's good to reflect. Matthew Wilson considers what he's learnt so far.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
You're Going To Have To Think!
webeditor
10 October 2010 13:59:00 +01:00
Numerical computing has many pitfalls. Richard Harris starts looking for a silver bullet.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
To DLL or Not To DLL
webeditor
10 October 2010 13:57:00 +01:00
Shared libraries provide both benefits and problems. Sergey Ignatchenko introduces a rabbit's-eye view.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Making String ReTRIEval Fast
webeditor
10 October 2010 13:56:00 +01:00
Sometimes you really do have to optimize your code. Björn Fahller looks at a string lookup data structure.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Quality Matters #6: Exceptions for Practically-Unrecoverable Conditions
webeditor
10 October 2010 13:55:00 +01:00
Being robust is harder than you think. Matthew Wilson analyses a classic program.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
The Model Student: The ACCU 2010 Crypto Challenge
webeditor
12 September 2010 20:09:00 +01:00
Electronic computers advanced cryptography enormously. Richard Harris sets a challenge, and finds a solution.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Debugging Run Time Memory Problems
webeditor
12 September 2010 20:06:00 +01:00
The C++ Standard is often silent on what happens when things go wrong. Matthew Jones looks under the bonnet to take control.