How To Get A Kernel In An Operating System | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

How To Get A Kernel In An Operating System

what is the meaning of kernel and can we write in a own kernal?

19th Dec 2018, 8:41 AM
learner
learner - avatar
7 Answers
+ 7
Kernal is the thing that connects hardware, software and the OS together. From the name we can state that it is the core part of a computer system. And yes! You can write your own kernal. A popular and free kernal is Linux kernal. It is even used by android phones and TVs other than the linux distros.
19th Dec 2018, 12:23 PM
Seniru
Seniru - avatar
+ 4
In old PC's the whole operating system cannot be placed in the Main memory, hence to reduce the size of OS some part of it gets called in main memory ,which is called kernel . First when you start your PC the kernel or you can say the smallest part of OS is loaded in main memory and it executes further ... ☺️ .Yes , we can write our own kernel , in languages which are nearest to the processor , which are Assembly , c,c++ . I have tried to make one of mine in Assembly language 👍.
19th Dec 2018, 10:00 AM
Jayesh Patil
Jayesh Patil - avatar
19th Dec 2018, 11:28 AM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
+ 3
Yes you can write your own, but its a dangerous game, better to first view what the linux kernel looks like and mess around with it before writing your own!
19th Dec 2018, 2:07 PM
Robert Atkins
Robert Atkins - avatar
+ 3
For making your own kernel you need to be so good in microprocessor, computer architecture, and Operating system rules with very effecient skill of implement the algos of these here an article about it which can help https://www.codeproject.com/Articles/1225196/%2FArticles%2F1225196%2FCreate-Your-Own-Kernel-In-C
25th Dec 2018, 6:15 PM
MsJ
MsJ - avatar
+ 2
Of course it’s possible if you set your mind to it (not to mention its been done before)! As a begginer to programming with absolutely no knowlege of kernel function I would definately recomend a language with the performance of a low level lang but the ease of writing of a high level lang. Idk if its suited to kernel writing but I would recomend something like crystal-lang.org that feels a lot like Ruby but is compiled to machine code
19th Dec 2018, 8:16 PM
Myersj281
Myersj281 - avatar
24th Oct 2022, 12:21 AM
Joseph Saldana
Joseph Saldana - avatar