Tokyo Cabinet
Tokyo Cabinet について。利用前に情報はりつけ。
- Tokyo Cabinet
Tokyo Cabinetはデータベースを扱うルーチン群のライブラリです。データベースといっても単純なもので、キーと値のペアからなるレコード群を格納したデータファイルです。キーと値は任意の長さを持つ一連のバイト列であり、文字列でもバイナリでも扱うことができます。テーブルやデータ型の概念はありません。レコードはハッシュ表かB+木か固定長配列で編成されます。
http://tokyocabinet.sourceforge.net/
ライセンス:GNU Lesser General Public License(released under LGPL)
http://tokyocabinet.sourceforge.net/tokyoproducts.pdf
続きを読むClojure
Clojure is a dynamic programming language that targets the Java Virtual Machine.
http://clojure.org/
It is designed to be a general-purpose language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming.
Clojure is a compiled language - it compiles directly to JVM bytecode, yet remains completely dynamic.
Every feature supported by Clojure is supported at runtime.
Clojure provides easy access to the Java frameworks, with optional type hints and type inference, to ensure that calls to Java can avoid reflection.
Clojure (clojure.sourceforge.net)
http://www.infoq.com/jp/articles/lisp-for-jvm
Lispの方言を含み、SchemeとCommon Lispの中間に位置
..
直接JVMを対象に設計されたため、これまで述べたすべてのLispの中で最もすっきりしたJavaインテグレーションを持ち、
また、同時実行トランザクションメモリのビルトインサポートなど、その他のおもしろい複数の概念を特長としています。
Blog
- http://www.infoq.com/jp/news/2009/06/hickey-clojure
- http://www.infoq.com/jp/news/2009/02/clojure-interview-halloway
- http://code.google.com/p/clojure-contrib/wiki/OverviewOfContrib
- http://items.sjbach.com/406/clojures-new-regex-syntax
- http://d.hatena.ne.jp/argius/20080602/1212419153
- http://d.hatena.ne.jp/cranebird/20081023/1224777546
- http://www.ksky.ne.jp/~sakae/hhw/090316.html
- http://d.hatena.ne.jp/nbqx69/20090528
- http://www.defmacro.org/ramblings/lisp.html
Edu.
- http://www.htdp.org/
- http://mitpress.mit.edu/sicp/
- http://www.cs.brown.edu/~sk/Publications/Books/ProgLangs/
- http://www.gigamonkeys.com/book/
Info.
Macro
Extensions and enhancements to the Clojure libraries.
http://code.google.com/p/clojure-contrib/
Contributions are made here only under the Clojure Contributor Agreement,
and may become part of the main Clojure distribution.
SQL Server
利用前に情報はりつけ。
Express Editionの容量制限が1Gというのは結構きつい。
Express Edition
- SQL Server 2005 Express Edition
- Microsoft SQL Server 2005 Express Edition Service Pack 1
- Microsoft SQL Server Management Studio Express
Connect
Tool
Support
def url = "jdbc:sqlserver://localhost:1433;databaseName=DB01" def username = "sa" def password = "password" def driverClassName = "com.microsoft.sqlserver.jdbc.SQLServerDriver" def sql = Sql.newInstance( url , username , password , driverClassName) def tokuisaki = sql.rows("select * from tokuisaki") tokuisaki.each { rec -> println rec.namae println rec.jusyo }