OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 3:51 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Common pitfalls
PostPosted: Tue Aug 15, 2017 1:30 pm 
Offline
Member
Member

Joined: Sat Mar 28, 2015 11:23 am
Posts: 103
Assembly is not the best language for OSDeving, it's incredibly architecture dependent and trying to port a big kernel to another architecture would require you to virtually rewrite the whole kernel. C is perfectly good for OSDev, hell, even C++ is fine. Assembly, however, is not fine if you want to run on multiple architectures. You're just spitting bullshit to beginners, misguiding them. You called iansjack a liar, yet you're the one lying and giving bad advice to beginners. You're rude to people, and you just say nonsense. Stop, please.

_________________
If some of you people keep insisting on having backwards compatibitity with the stone age, we'll have stone tools forever.
My Hobby OS: https://github.com/heatd/Onyx


Top
 Profile  
 
 Post subject: Re: Common pitfalls
PostPosted: Tue Aug 15, 2017 1:49 pm 
Offline
Member
Member

Joined: Thu Aug 13, 2015 4:57 pm
Posts: 384
Elttob wrote:
And anyway, most people do it in C. If I do it in C, then more people can help out if I run into a serious issue.

That's also a good reason to use C, and another reason to use pretty much any higher level language is that most people here don't have that much time on their hands (even if it sometimes looks like they do) and reading assembly takes more time to reason about potential corner cases than C does. I for instance rarely try to decipher other people's assembly, unless it's something obvious.

Or maybe it's just me =)


Top
 Profile  
 
 Post subject: Re: Common pitfalls
PostPosted: Tue Aug 15, 2017 1:58 pm 
Offline
Member
Member
User avatar

Joined: Fri Feb 17, 2017 4:01 pm
Posts: 640
Location: Ukraine, Bachmut
one common pitfall is distraction. if you find yourself involved in forum debates on clueless topics like "use assembly/don't use assembly", it's a sign of a distraction gotcha.

_________________
ANT - NT-like OS for x64 and arm64.
efify - UEFI for a couple of boards (mips and arm). suspended due to lost of all the target park boards (russians destroyed our town).


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 55 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