<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/luainkernel-lunatik-lunatik-is-a-framework-for-scripting-the-linux-kernel-with-lua--pxfay7io5" -->

---
title: luainkernel/lunatik: Lunatik is a framework for...
description: Lunatik is a framework for scripting the Linux kernel with Lua. It allows users to write device drivers and manage runtime environments in the kernel using...
canonical: https://daily.dev/posts/luainkernel-lunatik-lunatik-is-a-framework-for-scripting-the-linux-kernel-with-lua--pxfay7io5
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: luainkernel/lunatik: Lunatik is a framework for scripting the Linux kernel with Lua. | daily.dev
og:description: Lunatik is a framework for scripting the Linux kernel with Lua. It allows users to write device drivers and manage runtime environments in the kernel using...
og:url: https://daily.dev/posts/luainkernel-lunatik-lunatik-is-a-framework-for-scripting-the-linux-kernel-with-lua--pxfay7io5
og:image: https://api.daily.dev/og/posts/PxfaY7iO5.png
og:image:alt: luainkernel/lunatik: Lunatik is a framework for scripting the Linux kernel with Lua.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# luainkernel/lunatik: Lunatik is a framework for scripting the Linux kernel with Lua.

**[Hacker News](https://daily.dev/sources/hn)** · 21 min read · 10 upvotes · 0 comments

## Summary

Lunatik is a framework for scripting the Linux kernel with Lua. It allows users to write device drivers and manage runtime environments in the kernel using Lua. Lunatik does not support floating-point arithmetic and some Lua libraries. It provides APIs for binding kernel facilities to Lua scripts.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/luainkernel/lunatik>

---

Tags: [#linux](https://daily.dev/tags/linux), [#lua](https://daily.dev/tags/lua)

[View this post on daily.dev](https://daily.dev/posts/luainkernel-lunatik-lunatik-is-a-framework-for-scripting-the-linux-kernel-with-lua--pxfay7io5)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"luainkernel/lunatik: Lunatik is a framework for scripting the Linux kernel with Lua.","url":"https://daily.dev/posts/luainkernel-lunatik-lunatik-is-a-framework-for-scripting-the-linux-kernel-with-lua--pxfay7io5","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/luainkernel-lunatik-lunatik-is-a-framework-for-scripting-the-linux-kernel-with-lua--pxfay7io5"},"datePublished":"2024-04-21T14:10:05.621Z","dateModified":"2024-05-09T09:09:48.658Z","description":"Lunatik is a framework for scripting the Linux kernel with Lua. It allows users to write device drivers and manage runtime environments in the kernel using...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ff7a8dd56bc3be59a40865b7b1190685?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ff7a8dd56bc3be59a40865b7b1190685?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/luainkernel-lunatik-lunatik-is-a-framework-for-scripting-the-linux-kernel-with-lua--pxfay7io5","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":10},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"linux,lua","timeRequired":"PT21M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"luainkernel/lunatik: Lunatik is a framework for scripting the Linux kernel with Lua."}]}
```

