OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Apr 25, 2024 2:24 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Hard to settle with a starting programming language
PostPosted: Fri Sep 11, 2015 3:44 am 
Offline
Member
Member

Joined: Tue Mar 04, 2014 5:27 am
Posts: 1108
SeanMc wrote:
I am back. I'm still struggling to choose a first language. There is just so many contradicting opinions of how to start programming, and I might just not be a very logical thinker. :(

You should probably seek help for your procrastination. And I'm fairly certain, among the first three recommendations will be something like "just do it".

SeanMc wrote:
I hope I'm not too unrealistic. I do want to understand low-level works and OSDev someday. Maybe I'm trying to force it too much?

Force what? It doesn't look like you've done much if anything if you still can't choose a language.


Top
 Profile  
 
 Post subject: Re: Hard to settle with a starting programming language
PostPosted: Fri Sep 11, 2015 4:19 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
Considering your lack of discipline, grab Java and go make a calculator app.

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: Hard to settle with a starting programming language
PostPosted: Fri Sep 11, 2015 4:43 am 
Offline
User avatar

Joined: Mon Sep 14, 2009 9:19 am
Posts: 14
Location: France
The world is full of contradicting opinions. It is even more so in the computer world, where infinitely many solutions exist for any given problem, and any solution someone has come up with is the product of his own creative choices. All these opinions are correct, even though they seem conflicting at first, simply because they exist in different domains, in the intellectual worlds of different people. You need to see each of these opinions as the results of an individual's experience and choices, accepting their variety and seeing beyond their conflictual appearance.

You seem to be afraid of your disability. Please, don't be. Try something, anything. Go as far as you can, even if it's not perfect remember that there will be some good in what you are doing. Try to build upon that: code can be refactored, bad parts removed and good parts kept from one iteration to the next.

You say you want to work with limited resources, how about learning 16-bit assembly? Crazy things have been done with less than 512 bytes of 16-bit code. And really the PC has quite standard low-level stuff, it might be an interesting starting point to gain insight into how computers work. An alternative could be to learn C and Unix, which is also highly standard and is still widely in use today (contrary to 16-bit PC systems), but that is a much more complex system and you might get overwhelmed rapidly.

_________________
my projects - kogata (current OS project) - scripts for building an x86 cross-compiler


Top
 Profile  
 
 Post subject: Re: Hard to settle with a starting programming language
PostPosted: Mon Sep 21, 2015 11:07 pm 
Offline
Member
Member

Joined: Tue Sep 23, 2014 6:12 pm
Posts: 144
Another thing is that even though I figure that I love programming, my very weak spot that's stopping me sometimes is that I suck with problem-solving skills. Can you suggest exercises to help this area of mine?

Sorry for sounding too picky about languages though, there are so many. I don't want to give myself a hard time either, like learn C if it's too overwhelming at first.

Oh well, I'm sure a lot of posters here were like me at one point.


Top
 Profile  
 
 Post subject: Re: Hard to settle with a starting programming language
PostPosted: Tue Sep 22, 2015 3:17 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4594
Location: Chichester, UK
The choice of programming language is not really that big a deal; all are fairly straightforward to learn. C is a good choice because so many examples and tutorials use it (and it is good at dealing with low-level stuff). Problem-solving skills come with experience. You need to keep practising with simple stuff and read as much as you can. TBH, if you feel you have poor problem-solving skills then OS programming may not be a good first choice; you really need to become familiar with a programming language, and learn a few basic data-manipulation algorithms, before jumping in at the deep end.


Top
 Profile  
 
 Post subject: Re: Hard to settle with a starting programming language
PostPosted: Thu Sep 24, 2015 2:09 pm 
Offline
Member
Member

Joined: Sat Mar 01, 2014 2:59 pm
Posts: 1146
If you're wanting to get into OS development quickly, you'll want to learn C and assembler. But I don't recommend that you try to get into OS development quickly. It's an advanced topic, and you need to have a steady grounding in C and be ready to learn a LOT of assembler before you can expect to get anywhere. Personally I recommend that you spend a year learning and working with C first, then learn a bit of assembler, then try OS development. C isn't that hard to learn really, when you get into it. And although I personally learnt assembler "along the way" when I first started OS development, I know that there are many mistakes I could have avoided if I'd known it better before I started.

_________________
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.

Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing


Top
 Profile  
 
 Post subject: Re: Hard to settle with a starting programming language
PostPosted: Tue Oct 06, 2015 9:56 pm 
Offline
Member
Member

Joined: Tue Sep 23, 2014 6:12 pm
Posts: 144
I know people here might think I'm strange for wanting to get into OS development. I must be mentally insane.


Top
 Profile  
 
 Post subject: Re: Hard to settle with a starting programming language
PostPosted: Wed Oct 07, 2015 12:37 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4594
Location: Chichester, UK
SeanMc wrote:
I know people here might think I'm strange for wanting to get into OS development.
Hardly. That's the whole point of these forums.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 142 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group