Thread overview
Need advice on calling network modules from kernel
Dec 04, 2022
dlangluvr
Dec 04, 2022
Salih Dincer
Dec 05, 2022
RazvanN
December 04, 2022

I'm examining (https://wiki.osdev.org/D_Bare_Bones)[this post] from osdev and I want to integrate into the kernel some network features. How difficult would this be with dlang?

Also hello everyone! this is my first time posting here.

December 04, 2022
On 12/3/22 11:16 PM, dlangluvr wrote:
> I'm examining (https://wiki.osdev.org/D_Bare_Bones)[this post] from osdev and I want to integrate into the kernel some network features. How difficult would this be with dlang?
> 
> Also hello everyone! this is my first time posting here.

Hm... isn't this a kernel without anything in it? Does the BIOS provide a mechanism for this?

I would expect networking to be something difficult to add to a bare-bones system.

-Steve
December 04, 2022
On Sunday, 4 December 2022 at 04:16:27 UTC, dlangluvr wrote:
> I want to integrate into the kernel some network features. How difficult would this be with dlang?

If what you want to do is a cake with the letter D, you haven't cracked an egg for the cake yet.

Network routines will connect much later. Because the kernel is not yet capable of recognizing all the hardware. Even if this happens, the D code will not run independently of the operating system. So network.d will have many dependencies.

In summary, we are still far from the cream of the cake.  You can get a head start with PowerNexOs.

On Sunday, 4 December 2022 at 04:16:27 UTC, dlangluvr wrote:
> Also hello everyone! this is my first time posting here.

Welcome to the world of D.  We are happy to see idealistic people like you. I am sure you will be very happy when you see the delicious D codes.

SDB@79
December 05, 2022

On Sunday, 4 December 2022 at 04:16:27 UTC, dlangluvr wrote:

>

I'm examining (https://wiki.osdev.org/D_Bare_Bones)[this post] from osdev and I want to integrate into the kernel some network features. How difficult would this be with dlang?

Also hello everyone! this is my first time posting here.

Hi, I'm not entirely sure what you are trying to do because the link does not work for me, however, we have successfully integrated a D networking driver (virtio) in the linux kernel. For more information you can check this presentation.

If you have any other questions regarding the project, feel free to contact me on slack or email (razvan.nitu1305@gmail.com).