F5F Stay Refreshed Software Operating Systems It is extremely challenging to build a working operating system.

It is extremely challenging to build a working operating system.

It is extremely challenging to build a working operating system.

Pages (2): Previous 1 2
R
RacheySoChibi
Member
52
07-03-2016, 01:30 AM
#11
Developing a bootable system is relatively straightforward, but you won't need to assemble it yourself—C or any other compiled language works well. Adding POSIX system calls and a good scheduler can let you run some GNU tools, which is quite impressive. Going further might require significant effort for one person, and trying to build a full Linux competitor on your own is unlikely. For personal projects it's definitely interesting. Creating drivers is a different challenge, and depending on your goals you might not be able to handle it alone, except for very basic I/O or video functions. Linux is primarily written in C, so building something functional back then was simpler than it is today, and achieving success would have been a lucky endeavor even for pioneers like Gates and Allen.
R
RacheySoChibi
07-03-2016, 01:30 AM #11

Developing a bootable system is relatively straightforward, but you won't need to assemble it yourself—C or any other compiled language works well. Adding POSIX system calls and a good scheduler can let you run some GNU tools, which is quite impressive. Going further might require significant effort for one person, and trying to build a full Linux competitor on your own is unlikely. For personal projects it's definitely interesting. Creating drivers is a different challenge, and depending on your goals you might not be able to handle it alone, except for very basic I/O or video functions. Linux is primarily written in C, so building something functional back then was simpler than it is today, and achieving success would have been a lucky endeavor even for pioneers like Gates and Allen.

L
Lucmus3
Member
60
07-05-2016, 07:57 PM
#12
If you're curious about that, Redox is worth exploring: https://redox-os.org/. It's been developing for a few years, aiming to build an entire operating system in Rust. Currently it functions on specific hardware and virtual machines, though you shouldn't expect Wi-Fi connectivity.
L
Lucmus3
07-05-2016, 07:57 PM #12

If you're curious about that, Redox is worth exploring: https://redox-os.org/. It's been developing for a few years, aiming to build an entire operating system in Rust. Currently it functions on specific hardware and virtual machines, though you shouldn't expect Wi-Fi connectivity.

M
mcbudder2004
Senior Member
687
07-05-2016, 08:41 PM
#13
Gates acquired the OS from Seattle Computer Products, which means if you're keen on OS, explore the Illumos initiative.
M
mcbudder2004
07-05-2016, 08:41 PM #13

Gates acquired the OS from Seattle Computer Products, which means if you're keen on OS, explore the Illumos initiative.

Q
Qufi
Member
171
07-06-2016, 04:29 AM
#14
The project contains 1325 assembly files in the kernel tree, with more than 900 inline asm calls. This means it isn't purely written in C—it blends both languages. Most of these are likely optimizations, though not all.
Q
Qufi
07-06-2016, 04:29 AM #14

The project contains 1325 assembly files in the kernel tree, with more than 900 inline asm calls. This means it isn't purely written in C—it blends both languages. Most of these are likely optimizations, though not all.

S
shredan999
Junior Member
45
07-06-2016, 05:04 AM
#15
Most of it is C and you can certainly run it in pure C, though it would be slower and lack some architecture-specific capabilities. 900 inline calls pale in comparison to over 10 million lines of code, and even if those files contained an average of 1000 lines of assembly (just... no), they would represent less than 10% of the source. If you're interested in a real-world example of an operating system built entirely in C, UNIX is a great reference.
S
shredan999
07-06-2016, 05:04 AM #15

Most of it is C and you can certainly run it in pure C, though it would be slower and lack some architecture-specific capabilities. 900 inline calls pale in comparison to over 10 million lines of code, and even if those files contained an average of 1000 lines of assembly (just... no), they would represent less than 10% of the source. If you're interested in a real-world example of an operating system built entirely in C, UNIX is a great reference.

Pages (2): Previous 1 2