Re: [go-nuts] Re: does anyone have an example of a Go kernel module

2024-01-14 Thread Amnon
Why would you want to do that? The amount of stuff going on under the hood in a Go program (GC, scheduling, etc) make it a bad fit for low level kernel stuff. So best stick to C. Writing a Kernel module in C is well supported and documented. Having a skim through https://lwn.net/Kernel/LDD3/ .

Re: [go-nuts] Re: does anyone have an example of a Go kernel module

2024-01-07 Thread Robert Engels
Hasn’t been touched in 6 years and it doesn’t work. I guess they figured out it wasn’t worth the effort. The only plausible way to write a kernel module in Go is… don’t.Maybe run a user space Go process and some sort of shared memory communication. On Jan 7, 2024, at 8:06 PM, Hữu Hà wrote:Maybe y

[go-nuts] Re: does anyone have an example of a Go kernel module

2024-01-07 Thread Hữu Hà
Maybe you mean something like this ? https://github.com/gopher-os/gopher-os Vào lúc 04:22:10 UTC+7 ngày Chủ Nhật, 7 tháng 1, 2024, Siglo XIX đã viết: > I have tried many ways but now that the ecosystem is more mature maybe > someone knows of an example of how to make a Linux kernle module with