More Related Content
Similar to 拡張ライブラリをD言語で作るとリア充 (20)
More from N Masahiro (20)
拡張ライブラリをD言語で作るとリア充
- 2. • tama (id:repeatedly)
• from
•
• DT LLVM
- 3. C
by Vincent Isambart
Haml/Sass
(ry
- 5. D
•
• The Case for D
•
•C
- 9. • import bcd.ruby, rudy.rudy;
• d_type : Ruby D
• to_ruby_value :D Ruby
• def : Ruby
• RudyObject : VALUE
- 10. extern (C) VALUE foo(VALUE self, VALUE obj)
{
bool b = d_type!(bool)(obj);
return to_ruby_value(b);
}
TestModule = rb_define_module("TestModule");
rb_define_module_function(TestModule, "foo", &foo, 0);
def!("TestClass", test);
- 12. ToDo
• gdc + Ruby 1.8
• dmd Ruby 1.9
•
• GC
- 13. Ruby @
Shikoku.rb
Ruby 01
…