Lua Scripting Support Being Added To NetBSD Kernel Written by Michael Larabel in BSD on 14 February 2013 at 09:24 AM EST. 19 Comments Support for the Lua scripting language is being added to the NetBSD kernel so that it's possible to interact with the BSD kernel's various subsystems using this popular scripting language. With a Lua interpreter being added to the kernel, it's even possible to exten
NetBSDカーネル内部でLuaが動作するというのはGSoC 2010から始まり、成果が出たという報告の後、少しの間が空いて、2013年10月に本体にマージされたというニュースが話題になりました。 これを機に、新しいプログラミング言語を覚えようということで動作をさせるべく試してみました。 動作確認した環境はNetBSD/amd64 20131208です。 まず、luaデバイスを作ります。 # cd /dev # ./MAKEDEV lua モジュールを二つロードします。luacoreというのはprintなどを使うために必要です。 # modload lua # modload luacore luaモジュールをロードすると/var/log/messagesに次のようなログが出ます。 Dec 14 19:13:52 dec /netbsd: lua0: Lua 5.1.5 Copyright
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く