Why are ASM hobby OS more successful than other languages ?

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
guyfawkes
Member
Member
Posts: 93
Joined: Mon Jul 18, 2011 9:47 am

Re: Why are ASM hobby OS more successful than other language

Post by guyfawkes »

Chandra wrote:Are we ever getting to a conclusion on any such topics? Since it is obvious that we aren't, what is the purpose of having this discussion?
Everyone does not need to agree, we share our views, then people can make there own minds up.
Give them both sides of the story, but do not try to lock people out, just because you do not agree with them.

This is the "General Ramblings" part of the forum.
Lets brain storm and think out of the box and come up with new ideas.
This is the only advantage hobby OS have, is to try new things.
Ask the ?, why do we need to do something this way.
User avatar
Lithorien
Member
Member
Posts: 59
Joined: Tue Oct 27, 2009 1:40 pm
Location: Hanover, PA

Re: Why are ASM hobby OS more successful than other language

Post by Lithorien »

It's patent nonsense to say that a programming language is what determines the success of a hobby OS project. It's impossible for that to be the deciding factor - it's like saying, "Whelp, you can only ever write one form of an application, and competition can never happen."

No.

A project's success is a direct representation of the motivation of the people working on the project. Period. It's their ideas, love for what they are doing, creativity, and general desire to work hard and not give into the, "Well, I can just use X," mentality that most people have. A kernel written in ASM has as much chance of failing as one written in C, or C++, or BASIC, or Perl, or any other language you can think of! It just depends on the people involved with the project.
guyfawkes
Member
Member
Posts: 93
Joined: Mon Jul 18, 2011 9:47 am

Re: Why are ASM hobby OS more successful than other language

Post by guyfawkes »

Lithorien wrote:It's patent nonsense to say that a programming language is what determines the success of a hobby OS project. It's impossible for that to be the deciding factor - it's like saying, "Whelp, you can only ever write one form of an application, and competition can never happen."

No.

A project's success is a direct representation of the motivation of the people working on the project. Period. It's their ideas, love for what they are doing, creativity, and general desire to work hard and not give into the, "Well, I can just use X," mentality that most people have. A kernel written in ASM has as much chance of failing as one written in C, or C++, or BASIC, or Perl, or any other language you can think of! It just depends on the people involved with the project.
I agree
So this quote is wrong then ?.
If you weigh up the advantages (faster were it matters) and disadvantages (slower were it doesn't matter, longer development time, no portability); the most obvious choice is to do everything you can in something like C and then worry about optimising small parts in assembly later (after you've done profiling, etc).
guyfawkes
Member
Member
Posts: 93
Joined: Mon Jul 18, 2011 9:47 am

Re: Why are ASM hobby OS more successful than other language

Post by guyfawkes »

berkus wrote:
guyfawkes wrote:So this quote is wrong then ?
No, it is irrelevant. Just as this whole discussion is.
So why do you waste your time, posting in irrelevant posts ?
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Why are ASM hobby OS more successful than other language

Post by Solar »

guyfawkes wrote:So this quote is wrong then ?.
No, but how you placed it underlines a general impression that the whole discussion is, at least partly, motivated by a desire to provoke, flaunt, and generally being argumentative.

Or, to return to the initial posting:
guyfawkes wrote:So why are most of the long team successful hobby OS's, all seem to be coded in ASM ?
Look up "loaded question."

Mods: Please close this.
Every good solution is obvious once you've found it.
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: Why are ASM hobby OS more successful than other language

Post by Brendan »

Hi,
Solar wrote:Mods: Please close this.
That would be the easiest thing to do in the short-term; and the worst thing to do in the long-term. I'm guessing that by the time it reaches 12 pages, at least one of you may have learnt not to feed trolls, and when that happens I would've made a small but lasting victory. ;)


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: Why are ASM hobby OS more successful than other language

Post by AJ »

Hi,

I tend to be a bit trigger happy on the "Lock Thread" button if I see a thread going bad. This time, I'll watch for Brendan's victory with interest 8-[

Cheers,
Adam
Kevin
Member
Member
Posts: 1071
Joined: Sun Feb 01, 2009 6:11 am
Location: Germany
Contact:

Re: Why are ASM hobby OS more successful than other language

Post by Kevin »

Now this is getting boring, how can you expect good trolling when the topic is about the relevance of postings?

I think we should rather take the original question and make it a bit more interesting: Why is the difference in success between Pascal and ASM OSes greater than that between C and C++ ones - especially if the latter have their opening braces on a new line?

SCNR. ;)
Developer of tyndur - community OS of Lowlevel (German)
guyfawkes
Member
Member
Posts: 93
Joined: Mon Jul 18, 2011 9:47 am

Re: Why are ASM hobby OS more successful than other language

Post by guyfawkes »

Yes lock the post, i am bored with it now, thanks everyone for you views 8)
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: Why are ASM hobby OS more successful than other language

Post by VolTeK »

:idea:
User avatar
Chandra
Member
Member
Posts: 487
Joined: Sat Jul 17, 2010 12:45 am

Re: Why are ASM hobby OS more successful than other language

Post by Chandra »

guyfawkes wrote:Yes lock the post, i am bored with it now, thanks everyone for you views 8)
Too bad. I was just getting started.
Brendan wrote:That would be the easiest thing to do in the short-term; and the worst thing to do in the long-term. I'm guessing that by the time it reaches 12 pages, at least one of you may have learnt not to feed trolls
I doubt if that is ever going to happen. The only possible end I can think of is, when you're exhausted typing millions of lines of post and finally your finger begs for a rest.
AJ wrote:Hi,

I tend to be a bit trigger happy on the "Lock Thread" button if I see a thread going bad. This time, I'll watch for Brendan's victory with interest 8-[

Cheers,
Adam
Mods on a party?
Programming is not about using a language to solve a problem, it's about using logic to find a solution !
User avatar
Rusky
Member
Member
Posts: 792
Joined: Wed Jan 06, 2010 7:07 pm

Re: Why are ASM hobby OS more successful than other language

Post by Rusky »

berkus wrote:If C was made to write UNIX, then UNIX is the only OS you can write in C. Discuss.
Definitely true to an extent. C makes it difficult to go too far from unix-style hardware-isolated processes in userspace, and this dictates a lot of hardware design today. It also seems to have had a large effect on languages such as Java and C#, the basis for most managed OS experiments now, in that they've stuck with, for example, NullPointerExceptions over explicit optional types.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Why are ASM hobby OS more successful than other language

Post by Solar »

Rusky wrote:
berkus wrote:If C was made to write UNIX, then UNIX is the only OS you can write in C. Discuss.
Definitely true to an extent. C makes it difficult to go too far from unix-style hardware-isolated processes in userspace...
AmigaOS, written in C, microkernel / hybrid architecture, no MMU / memory protection.

RISC OS, written in Basic, C, and C++, single user / co-operative multitasking.

Just two distinctly un-Unix-like operating systems that were written in C.

(Don't know enough about pre-X MacOS to comment on that noteworthy.)

Don't you recognize a tongue-in-cheek flamebait when you see one?
Rusky wrote:It also seems to have had a large effect on languages such as Java and C#, the basis for most managed OS experiments now, in that they've stuck with, for example, NullPointerExceptions over explicit optional types.
I demand a "ROTFL" type smiley like this one for this board. Conspiracy theories like this one certainly deserve one. :)
Every good solution is obvious once you've found it.
User avatar
Owen
Member
Member
Posts: 1700
Joined: Fri Jun 13, 2008 3:21 pm
Location: Cambridge, United Kingdom
Contact:

Re: Why are ASM hobby OS more successful than other language

Post by Owen »

Solar wrote:(Don't know enough about pre-X MacOS to comment on that noteworthy.)
System 1 was M68K ASM for size; stayed substantially that throughout lifetime. I expect later versions added some Pascal, and even later verisons significant quantities C, with the OS transitioning in that direction over time (You can bet that by the time of the OS X transition lots of the top level components were C for portability to OS X, and lots of the bottom level components were C or PPC ASM for performance). With the PowerPC transition there was probably a bunch of PPC ASM added, substantially in the nanokernel and M68K emulator.

Quite a complex system, with 3 mutually incompatible but interoperable execution models (Classic 68K, CFM-68K and CFM-PPC)
User avatar
Rusky
Member
Member
Posts: 792
Joined: Wed Jan 06, 2010 7:07 pm

Re: Why are ASM hobby OS more successful than other language

Post by Rusky »

"to an extent," guys, "to an extent." AmigaOS, RISC OS, and Mac OS all had varying degrees of problems caused by C's design. That's all I was pointing out.
Solar wrote:Conspiracy theories like this one certainly deserve one. :)
How is that a conspiracy theory? I'm not attributing anything to any hidden plots, merely the obvious trail of inspiration from C -> C++ -> Java -> C# that neatly left out any alternatives to compiler-unchecked null pointers.
Post Reply