C++ Old technology? It is todays "portable assembler".
You can even use inline assembler statements in that platform:
ASM { Your assembler statements here ..... }
You can even use C to reduce overhead, but ususally programming hours are more expensive than CPU hours.
Combining that with conditional compilation, you can make complex fast applications.
You don't know what you are talking about young man.
Take a look:
C++ Builder 2009
This is promising from the features js file:
http://tools.google.com/chrome/intl/...js/features.js
Code:
function getElementsByClass(searchClass, node, tag) {
var classElements = new Array();
if (node == null)
node = document;
if (tag == null)
tag = '*';
var els = node.getElementsByTagName(tag);
var elsLen = els.length;
var pattern = new RegExp('(^|\\s)' + searchClass + '(\\s|$)');
for (i = 0, j = 0; i < elsLen; i++) {
if (pattern.test(els[i].className)) {
classElements[j] = els[i];
j++;
}
}
return classElements;
}
var current_feature = ''
// Toggles feature preview
function showfeature(feature) {
current_feature = feature
featurethumb = document.getElementById(feature);
featurepreview = document.getElementById(feature + '-preview');
That is good use of a regular expression class and it follows the W3C DOM standard.