Kengo's blog

Technical articles about original projects, JVM, Static Analysis and TypeScript.

Entries from 2013-04-01 to 1 month

altWebSiteなるものを妄想してみる

HTML/CSS/JavaScriptを複雑に組み合わせてアプリケーションを作ろうという大きい流れがありますが、そもそも「アプリケーションを書くことを想定していないモノ」で無理矢理作ること自体に無理があるよねという考えがあってもいいと思います。 altJSがいくつ…

FindBugsコードリーディング

FindBugsをMavenizeしたツワモノがいるのでありがたくeclipse:eclipseしてコードを読んだ。srcとsrc/javaの両方がsource folderとして認識されているのでそこだけ手直ししてやる必要があったが、概ね良好。 eller86/findbugs-2.0.2 · GitHub "findbugs.execp…

技術者2年目の貴方におくる応援の言葉

やあ(´・ω・`) 呆れずにメールのリンクを開いてくれてありがとう。そうなんだ、このページは前回の続きというわけなんだ。おっと、control+wでタブを閉じるのは待ってほしい。ショートカットキーに親しんだ貴方を見られて感慨深く思うが、せっかくなので居…

log: 2013/Apr/1 - 14

log

Interests LLVM IR coding I started to code LLVM IR by hands to implement Brainf*ck frontend. LLVM IR is quite easy to code. In my opinion, it is easier than Jasmin because it can use register instead of stack. The 'phi' is easy to understa…

Basic of Golang

Today I have finished a tour of golang, and I did an exercise at this page. The Same function is little long, but it might be acceptable. package main import "code.google.com/p/go-tour/tree" import "fmt" // Walk walks the tree t sending al…

GWに日本に行きます

ときどき時間を作れるかもしれませんので適当に交流しに行こうと思います。よろしくお願いします。

ウェブサービス系OSSの浸透を期待して開発環境を配布するまで

あるいはVagrantでplayframework 2.0系ウェブサービスの環境を立ち上げるまで。 PARTAKEの開発者がいまいち増えずチケットばかりが積み重なるのは、サービスという粒度が大きすぎて環境を作るのが面倒なことも一因だと思っています。ここを手助けできないか…

How to implement Brainf*ck on LLVM IR

I am still thinking... Brainf*ckLLVM IR > (incr pointer)load, add nsw, storephi < (decr pointer)load, sub nsw, storephi + (incr value)getelementptr, load, add nsw, store - (decr value)getelementptr, load, sub nsw, store . (output)call i32 …

Hello, LLVM

LLVM3.2 on OSX. quickstart $ cat hello.cpp #include <stdio.h> int main() { printf("Hello World!\n"); } $ clang++ hello.cpp -emit-llvm -S -o hello.ll $ cat hello.ll ; ModuleID = 'hello.cpp' target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i</stdio.h>…