35
Simone
8y

Try to develop an OS: a total suicide.

Comments
  • 0
    But why?
  • 3
    If it's a hobby project, constrain your requirements to your time budget and skills. An operating system can be as small as a few thousand lines of code. Some assembly probably required, but not much.
  • 1
    I know one guy who looks pretty live... #linux
  • 2
    I have actually been thinking of making one. There are certain programmatical tasks which would require a custom OS...
  • 1
    @FelisPhasma im interested, but know nothing about the topic, please list some
  • 2
    @FelisPhasma you might want to take a look at unikernels and a project named "IncludeOS".
  • 1
    @Tommy314 So for example, very large numbers. Many "big integer" libraries which allow you to compute large numbers are very slow compared to other datatypes. A custom OS would allow me to use datatypes code with thousands of allocated bits each.
  • 0
    @FelisPhasma pretty sure there are fundamental limits that are imposed by your hardware there... Cache size, cacheline size, etc etc.... I can't speak for other languages but at least when it comes to C/C++ the large integer libraries (eg, GNU MP) are limited by the hardware, not any OS dependent features
  • 0
    @ReturnVoid Yes, I'm sure.However writing some assembly routines to allocate thousands of bits, then perform optimized math operations wouldn't be too hard, and a custom OS would be good because it doesn't take up as much resources as, say, windows.
  • 0
    I tried it when I was 15 back before dexos was made (x86 gaming os). osdev.org is a good place to look, it was better before when it had forums and the wiki now it's just the wiki. the forms had all kinds of fun stuff. full os in 512 bytes, it could start and run basic commands
  • 1
    @FelisPhasma check out http://www.minix3.org. I also recommend to read Tanenbaums book Operating Systems Design and Implementation (I think you can find it online as pdf now) It gives a pretty good foundation to understand what's involved.
Add Comment