Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:Template la-la land. (Score 2, Insightful) 501

Okay, IAAEOC++0x (I am an expert on C++0x), one of my group's PIs is Bjarne Stroustrup and my committee consists of members from both the Indiana & Texas concepts proposal; the extended group is responsible for lambdas, concepts, variadics, for-each constructs, etc. Credentials aside, "templates" != "generic programming". Concepts were designed to provide a predicative type-system for templates [think of this as a kind-system] which allows us to get rid of most of the template metaprogramming hacks (SFINAE enable-if/disable-if, type computations, etc.). Variadics (also for templates) get rid of list-like type-computations. At the cost of adding a relatively light-weight description of an interface (think of a concept as a compile-time only interface) we can get rid of almost all of the hairy bits of template coding.

The reason why concepts was rejected is due to some of the uglier corner cases stemming from a requirement for soundness in the type-system using concepts. As we are slowly approximating second-order types with C++ (all typeful languages end up doing this to increase expressivity) there are bound to be some hiccoughs. What happened at ISO (as far as I know) came from an argument on the reflector which revolved around the default of whether a concept was auto(matically) satisfied by a type or if it must be explicit [a fairly arcane argument], in addition to the handling of associated and intermediate generated types. It is not clear if a simpler solution can be constructed for a decidable type-system.

Comment Re:Intelligent Design (Score 1) 497

Whoah, there, Sparky. Natural selection is well-and-alive; the dogs that are the cutest, most adequately serve function, match form best, etc., are selected for in their environment. Remember that the "natural" part of natural selection is similar to nondeterminism: it is something that happens "from the outside." In this case "outside" is the non-Dog world. Just because a terribly complicated (possibly intelligent) force is acting on the dogs doesn't change anything.

Comment Re:Awesome (Score 4, Informative) 238

IAAECXRPX (I am an ex-computational-x-ray-protein-crystallographer). Lasers a bit left wing, since we usually use anode sources for x-rays on the home source and synchotrons for MAD sets. However, if the laser has tight enough phases (60-degrees) and coherency this is not just big but HUGE. Currently, there are two difficult steps in PX: (1) crystallization; and (2) phasing. The first is becoming easier using automated screening and robots (although we are only at the beginning of this process, so probably still 5--10 years out). The second has been considered one of the outstanding problems in (at least) biology if not all of science. To put this in perspective, it was only a few years ago that just *finding* the structure (phasing) was enough to warrant a Nature or Science paper. Nowadays you're gonna need some function, too, but the phasing is still spectacularly hard. If these guys have really done this, and they're getting good power, this will be a watershed event for all of biology.

Comment Re:Great alternative (Score 2, Insightful) 42

Make sure the touch screen works through pressure and not some electric effect. If it's in the kitchen you'll soon find you need to put some sort of saran wrap on the computer because the back-splatter from grease will coat the damn thing. Also, make sure the covering is easy to remove and replace, as this will need to be done fairly regularly, depending on your menu. We had a similar problem for a small company w.r.t. children and food.

Comment Re:JavaScript assembly language (Score 1) 294

Given a fast-as-C javascript engine, you could have a pretty decent VM to share between several dynamic languages, and due to JS's dynamic nature compiling these languages to JS is fairly trivial.

You made me snort coke out of my nose. Hold on ... let me contact Goto, and tell him to port Goto BLAS to JavaScript right now!

Comment Re:Job security through obscurity in mathematics (Score 1) 219

"the inventor of matrix theory"

I think you may be talking (obliquely) about Cayley or Sylvester and the numeric representation of vector algebras. However, linear algebra (and matrices in particular) were developed with the specific intention of solving a broad class of problems related to analysis and physics. To be clear: matrices, their "weird" multiplication and other properties as formalized in 7th-grade maths books everywhere were developed by asking what properties of a particular class of numbers were needed, and finding a representation that fit that need.

Slashdot Top Deals

Never trust a computer you can't repair yourself.

Working...