The Artima Developer Community
Sponsored Link

Python Buzz Forum
Null-Terminated Strings Strike Again!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ian Bicking

Posts: 900
Nickname: ianb
Registered: Apr, 2003

Ian Bicking is a freelance programmer
Null-Terminated Strings Strike Again! Posted: Oct 21, 2003 5:41 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Ian Bicking.
Original Post: Null-Terminated Strings Strike Again!
Feed Title: Ian Bicking
Feed URL: http://www.ianbicking.org/feeds/atom.xml
Feed Description: Thoughts on Python and Programming.
Latest Python Buzz Posts
Latest Python Buzz Posts by Ian Bicking
Latest Posts From Ian Bicking

Advertisement

From Ars Technica:

Some genetic mutations introduce a stop codon in the normal sequence. This stop codon will prematurely truncate a normal protein, which can result in defective protein functionality. As many as one third of genetic diseases may be caused by premature stop codons.

This reminds me of storing binary data in null-terminated strings (or any of a series of encoding-related bugs, and the use of sentinel values). If we ever understand genetics, I'm convinced it will be through a computational theory of genes, and that genetic (and probably viral) diseases will often exhibit bugs we've come to know from our own programming exercises.

Read: Null-Terminated Strings Strike Again!

Topic: 40% Spam Previous Topic   Next Topic Topic: Threads and PyObjc

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use