Simon Willison’s Weblog

Subscribe
Atom feed for c

36 items tagged “c”

2009

The compiler only pays attention to the semicolons and braces while ignoring the line breaks and indentation, but humans usually only pay attention to the line breaks and indentation while ignoring the semicolons and braces. This gives the code the opportunity to lie about what it’s really doing. Consequently we need to take extra care when writing in C, Java, C++, C# etc.

Elliotte Rusty Harold

# 2nd January 2009, 10:26 am / c, codestyle, elliotte-rusty-harold, indentation, java, syntax

2008

Running C and Python Code on The Web. Adobe are working on a toolchain to compile C code to target the Tamarin VM in Flash. This will allow existing C code (from CPython to Quake) to execute in a safe sandbox in the browser.

# 4th July 2008, 8:26 am / browser, c, python, quake, adobe, tamarin, flash

2004

Ned Batchelder: Showing C header structure. Using Python to maked other languages less painful

# 4th February 2004, 1:19 am / c, ned-batchelder, python

2003

Jonathan Caves: Adventures in Visual C (via) Who’d have thought Microsoft would have all the best in-house bloggers?

# 23rd November 2003, 11:59 pm / c, microsoft

More lightweight software: SQLite

The other toy I’ve been playing with recently is SQLite. SQLite is an embeddable SQL database engine written in just under 25,000 lines of (heavily commented) C. Don’t let the size fool you—it’s phenomenally powerful and is released under a no-holds-barred public domain license that practically begs you to include it in your applications, commercial or not.

[... 239 words]

2002

Security and coding style

A couple of good web development security resources:

[... 127 words]