如果程式語言是艘船, 那麼 …. 是….

http://compsci.ca/blog/if-a-programming-language-was-a-boat/

…..

If a programming language was a boat…

This one is inspired by a recent forum post, that still leaves me in amazement.

Hi, Im wondering how i can create a boat in turing and if someone can post a example.

This makes no sense, since one doesn’t normally make water vehicles in Turing, the programming language. Though this got me thinking — if a programming language was a boat, what would it be?

Turing

Turing would definitely be a kayak (thank you for comments). It’s small. It’s human powered. It’s often used as a beginner “boat”. And it’s also very Canadian.

Turing programming language as a canoe
Original photo by naokomc

Java

Java is a cargo ship. It’s very bulky. It’s very enterprise~y. Though it can also carry a lot of weight. Will carry a project, but not very fun to drive.

Java programming language as a cargo ship
Original photo by cfarivar

Perl

Perl is a tugboat. Powerful enough to tug Java around, in 80 characters or less.

Perl programming language as a tugboat
Original photo by xeeliz

Ruby

Ruby is difficult to describe. It’s sleek, sexy, and very fun to drive. Here’s a picture. Very trendy.

Ruby programming language as a speed boat
Original photo by Tony Falcon

PHP

PHP is a bamboo raft. A series of hacks held together by string. Still keeps afloat though.

PHP programming language as a raft
Original photo by permanently scatterbrained

C

C is a nuclear submarine. The instructions are probably in a foreign language, but all of the hardware itself is optimized for performance.

C programming language as a nuclear submarine
Original photo by Ryan C. McGinley

HTML

HTML isn’t really a programming language boat.

HTML is not a boat
Original photo by ascendeddaniel

There’s a lot more to this, and it’s all up for discussion. How would your favourite programming language fare in open waters?

Monster LAMP Pack lite ver.1108

內含套件有
OS: Gentoo 2.6.24.x
FS : reiserfs

pagkages : mysql (with senna), postfix , apache
pptp VPN (可連 Microsoft MPPE )
samba

# uname -a
Linux lab 2.6.24-gentoo-r7 #3 SMP PREEMPT Sat Jul 26 05:17:06 CST 2008 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux

# apache2 -v
Server version: Apache/2.2.9 (Unix)
Server built:   Jul 23 2008 21:55:39

# mysqladmin -uroot -p version
Server version          5.0.51a-log with senna search engine

# php –version
PHP 5.2.6-pl2-gentoo (cli) (built: Jul 23 2008 23:20:20)

mail-mta/postfix
2.4.6-r2

net-fs/samba
3.0.28a-r1

目前 PHP 的 USE
[code language=’sh’] USE=”apache2 berkdb cjk cli crypt curl gd gdbm hash iconv mysql mysqli ncurses nls pcre readline reflection session spell spl ssl truetype unicode xml zlib calendar ctype json simplexml soap ” emerge -av php [/code]
暫時不加 oci8-instant-client

ENHANCE / BUG TO FIX:

  1. /etc/make.conf 加 ACCEPT_KEYWORDS="~x86"
  2. emerge -av app-emulation/open-vm-tools