d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Make Me A Better Programmer - From Step 1
Prev1363738394056Next
Add Reply New Topic New Poll
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Jun 15 2014 01:04pm
Quote (Eep @ Jun 15 2014 02:52pm)
I wish it was half as cool as that man. We studied all the theoretical shit, algorithms and all that.

The projects we did were 3 projects in C to learn about system calls, spawning children processes and semaphores. The next 4 were C projects implemented in an OS simulator called "OSP" (made in 1990 with zero updates since then). We essentially created like super high level code to mimic algorithms for context switching and process handling, resource management, memory management and implementing a simple file system. (A load balanced flat directory)

I personally enjoyed the memory management unit the most.


Should look into writing your own basic OS. Maybe not with all the bells and whistles but defiantly a I/O system and some basic utilities.

http://wiki.osdev.org/C%2B%2B_Bare_Bones
http://wiki.osdev.org/C%2B%2B_Bare_Bones#Bootstrap_Assembly

This is where I started a year ago if I recall. I didn't get very far into it since I couldn't fix a bug and I gave up. I may take it up again though. This wiki is pretty good about talking about various subjects about OS development. I may try to setup a github or something and give it another try.
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Jun 15 2014 01:25pm
If you would like to help you can. I'm not sure when I would start but if you're interested I can start sooner. I think last time I failed because I started going for the juicy parts rather then building the backbone. Since you do not have access to the cushy standard libraries you have to recreate all its functions you need. Think that would be my first step id take is get the basic text output going and then start pounding out equivalent standard lib funtions like atoi, strlen, etc.
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Jun 16 2014 01:28am
Heh reading more into this I realized unless you are doing a cheesy system that just prints "hello world" OS, that there is a shit ton more to think about like process managing, memory managing, time scheduling, kernel design, and the whole bunch more. No wonder it took years for the first version of the Linux kernel to even become a tiny bit usable. Might drop not even start the project. I built the i686-elf toolchain to start doing this but yea undertaking a project that may take years of effort outside of printing "hello" is a bit daunting. Might just stick with hardware and software reversing :P
Member
Posts: 23,862
Joined: Aug 16 2006
Gold: 20.00
Jun 16 2014 03:37am
Quote (AbDuCt @ Jun 16 2014 02:28am)
Heh reading more into this I realized unless you are doing a cheesy system that just prints "hello world" OS, that there is a shit ton more to think about like process managing, memory managing, time scheduling, kernel design, and the whole bunch more. No wonder it took years for the first version of the Linux kernel to even become a tiny bit usable. Might drop not even start the project. I built the i686-elf toolchain to start doing this but yea undertaking a project that may take years of effort outside of printing "hello" is a bit daunting. Might just stick with hardware and software reversing :P


yeah, there is an incredible amount of work that goes in. While the projects we did were relatively high level and simple, the theory behind them was pretty deep. It was such an interesting course and really answered a lot of the pressing questions/mysteries I had about computers before.

I definitely have respect for those who do work on maintaining an OS.
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Jun 16 2014 12:41pm
Quote (Eep @ Jun 16 2014 05:37am)
yeah, there is an incredible amount of work that goes in. While the projects we did were relatively high level and simple, the theory behind them was pretty deep. It was such an interesting course and really answered a lot of the pressing questions/mysteries I had about computers before.

I definitely have respect for those who do work on maintaining an OS.


Yea I noticed it's one thing to implement the theories in a high level language, but trying to make them work with the actual hardware is a whole different story.
Member
Posts: 23,862
Joined: Aug 16 2006
Gold: 20.00
Aug 9 2014 12:40am
So apparently my Advanced Security class this fall is going to be based around a private linux network? Sounds fun!

This post was edited by Eep on Aug 9 2014 12:42am
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Aug 9 2014 11:59am
Quote (Eep @ Aug 9 2014 02:40am)
So apparently my Advanced Security class this fall is going to be based around a private linux network? Sounds fun!


Interesting, keep me updated on this.
Member
Posts: 23,862
Joined: Aug 16 2006
Gold: 20.00
Aug 9 2014 07:35pm
Quote (AbDuCt @ Aug 9 2014 12:59pm)
Interesting, keep me updated on this.


Will do. Hopefully won't slack off too much for my last semester.

Things are looking OKAY though.

Thanks to some connections, I have a decent pool of full time job opportunities lined up shortly around graduation time. I think I am going to try and stay away from the city. Downtown St. Louis just not my thing ~_~
Member
Posts: 62,215
Joined: Jun 3 2007
Gold: 9,039.20
Aug 10 2014 05:54am
Quote (Eep @ Aug 9 2014 07:35pm)
Will do. Hopefully won't slack off too much for my last semester.

Things are looking OKAY though.

Thanks to some connections, I have a decent pool of full time job opportunities lined up shortly around graduation time. I think I am going to try and stay away from the city. Downtown St. Louis just not my thing ~_~


Ew, outside.
Member
Posts: 23,862
Joined: Aug 16 2006
Gold: 20.00
Aug 10 2014 05:31pm
Quote (killg0re @ Aug 10 2014 06:54am)
Ew, outside.


I don't mind going out but just not the city, haha.

Also, OUTSIDE *can* suck in St. Louis. Frigid winters and (sometimes) the worst hot humid days in summer.
Go Back To Programming & Development Topic List
Prev1363738394056Next
Add Reply New Topic New Poll