Writing Genetic Code 190
An anonymous reader writes "The Globe and Mail is reporting on another group of researchers delving into the field of 'synthetic biology.' The project stemming from the efforts of two biology labs in British Columbia and Maryland is attempting to create the first synthetic life form. From the article: 'The project is being spearheaded by U.S. scientist Craig Venter, who gained fame in his former job as head of Celera Genomics, which completed a privately-owned map of the human genome in 2000. Dr. Venter, 59, has since shifted his focus from determining the chemical sequences that encode life to trying to design and build it: "We're going from reading to writing the genetic code," he said in an interview.'" This is certainly not the first group to venture into this territory.
I for one... (Score:5, Funny)
Python vs Perl vs Ruby vs.. (Score:5, Funny)
Compiler? (Score:5, Funny)
In Soviet Russia.. (Score:0, Funny)
Here comes the pain (Score:4, Funny)
In Soviet Russia... (Score:5, Funny)
Oh wait... they do...
Carry on.
Here's what we need... (Score:3, Funny)
Is it Open Source? (Score:5, Funny)
genetic code? (Score:3, Funny)
Mwahahahahah! (Score:3, Funny)
"I'm sorry sir, but from now on your name ought to be GNU/Mr. Jones..."
Re:genetic code? (Score:1, Funny)
I can see it now (Score:2, Funny)
Typo (Score:3, Funny)
"Why is it every time I need to get somewhere, we get waylaid by jackassery?"
Re:I can see it now (Score:1, Funny)
Okay, I think I confused myself with that one...
Re:In Soviet Russia... (Score:1, Funny)
Re:OMFSM (Score:5, Funny)
Re:Python vs Perl vs Ruby vs.. (Score:2, Funny)
print "Hello world!"
Re:OMFSM (Score:3, Funny)
Hopefully... (Score:2, Funny)
Just a hunch... (Score:2, Funny)
Re:Recolada (Score:3, Funny)
And, speaking of C++... (Score:5, Funny)
Genetic code is too low-level. While C++ comes with a standard library defining containers, iterators, and common algorithms, in genetic code you have to do everything from scratch. In quaternary. With 3D objects. Talk about a learning curve!
Genetic code has no garbage collector, and not even a simple malloc. In fact, you have to write self-modifying code to avoid memory leaks or dangling references. This makes it very difficult for the beginning programmer to write good code, and encourages bad practices.
Genetic code is not object oriented. You have to do horrible hacks to encapsulate private information or define interfaces to it. Most programmers just use a "signals-and-slots" method to pass messages, resulting in spaghetti code rivaling the worst abuses of goto.
Genetic code is too flexible. If you thought bad C++ code was hard to understand due to operator overloading, wait 'till you see the things a bad programmer can do with genetics! And, while in C++ the worst that can happen is a crash, bad genetic code could eat you.
Genetic code takes longer to develop for. You have to write lots and lots of code to duplicate even the simplest C++ line. Furthermore, compilation times totally suck, approaching twenty years for complex programs!
Genetic code has an arcane syntax, leftover from the early days of evolution. Just imagine, we're still using constructs nearly three billion years old! If you thought having some C in C++ was bad, wait 'till you see the archean leftovers you are forced to use in your eukaryotic cells!
Genetic code is dynamically typed and favors the "duck typing" philosophy. This creates an enormous amount of security holes, where special ducks ("poisons") with appropriate appearance but malicious behaviour could be introduced into the system.
Genetic code is hard to debug. Having no debugger, one has to rely on contrived printf-like trace statements. Unlike printf, the genetic equivalents are limited in number and expressiveness, sometimes making it impossible to figure out what is wrong.
Genetic code is a bloated pig. Just imagine, you need trillions of bits to define a simple organism, while in C++ I can code NPCs in under a hundred lines of code.
Genetic code VM is slow. Perhaps not as slow as Java, but it still takes milliseconds to do even simple operations. We could all think so much faster if we were written in C++.