www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Need advice on calling network modules from kernel

reply dlangluvr <jranderson404 gmail.com> writes:
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.
Dec 03 2022
next sibling parent Steven Schveighoffer <schveiguy gmail.com> writes:
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
Dec 03 2022
prev sibling next sibling parent Salih Dincer <salihdb hotmail.com> writes:
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
Dec 04 2022
prev sibling parent RazvanN <razvan.nitu1305 gmail.com> writes:
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](https://www.youtube.com/watch?v=weRSwbZtKu0&t=54s&ab_channel=TheDLanguageFoundation). If you have any other questions regarding the project, feel free to contact me on slack or email (razvan.nitu1305 gmail.com).
Dec 05 2022