|
Thread: Comments for: "Does Linux Suck?"
|
|
|
|
Replies:
19
-
Pages:
2
[
1
2
| Next
]
-
Last Post:
Oct 30, 2009 2:15 PM
Last Post By: bgat
|
|
|
Posts:
22
Registered:
02/07/08
|
|
|
|
Comments for: "Does Linux Suck?"
Posted:
Oct 20, 2009 12:37 AM
|
|
|
Read the article here: Does Linux Suck?
|
|
|
Posts:
22
Registered:
02/07/08
|
|
|
|
Re: Comments for: "Does Linux Suck?"
Posted:
Oct 20, 2009 12:37 AM
in response to: robert.berger
|
|
|
Jack,
I might be a bit biased, since I'm flying out in a couple of days to hold an Embedded Linux Training (http://tiny.cc/EGLISA), but I'll try not to be;)
As we all know there is no silver bullet!
Why not to use Linux:
1) chip you want to use does not support Linux, which means 4,8 an 16-bit micros. The reason for using those would be mainly power consumption, price and lines of code running on the system
2) safety critical standards needed - have a look at http://www.osadl.org/Safety-Critical-Linux.safety-critical-linux.0.html
3) licensing: people might not like some licenses used by GNU/Linux
4) real-time: Linux is not real-time, but there are some approaches which work reasonably well like http://www.xenomai.org/index.php/Main_Page which run Linux as the idle task on top of a real-time OS
This leaves us with systems, which are not safety critical and not very low power (with all the hand held stuff there's much effort to make Linux+hardware low power - see http://beagleboard.org/)
At least for the stuff which I'm dealing with that's the majority of systems, which makes Linux a viable solution for me.
For the rest I look out of the window into the nature and see green hills, winds and rivers and also http://micrium.com;)
Regards,
Robert
Robert Berger
Embedded Software Specialist
Reliable Embedded Systems
Consulting Training Engineering
Tel.: (+30) 697 593 3428
Fax.:(+30) 210 684 7881
URL: http://www.reliableembeddedsystems.com
|
|
|
Posts:
1
Registered:
10/17/09
|
|
|
|
Re: Comments for: "Does Linux Suck?"
Posted:
Oct 20, 2009 1:19 AM
in response to: robert.berger
|
|
|
|
the comments about security are just nonsense. why would you "depend" on the OS to protect you? especially an embedded system - you harden it by providing no access to threats. yeah, you should probably turn off telnet (goodbye 1980s!). but to pretend there is no structural difference between linux and windows security models is just ignorant. what linux offers is unmatched configurability: you control exactly what's in the kernel, and control user-space from init on. all while being closely related to easy-learned desktop linux, not to mention nice tricks like UML.
|
|
|
Posts:
2
Registered:
06/21/09
|
|
|
|
Re: Comments for: "Does Linux Suck?"
Posted:
Oct 20, 2009 6:04 AM
in response to: robert.berger
|
|
|
|
i agree with jack. maybe the reason why some consider linux to be the "answer for all" is because they don't know anything else.
|
|
|
Posts:
102
Registered:
10/03/07
|
|
|
|
Re: Comments for: "Does Linux Suck?"
Posted:
Oct 20, 2009 4:54 PM
in response to: robert.berger
|
|
|
|
Linux is OK. The part of Linux I really cannot stand is this "Linux Brotherhood" style of programming. If you are not part of the "Brotherhood" ... watch out!
Also, the support is non-existent ... that is unless you call Google searches product support!
Other than that, I have found Linux to be pretty decent for a wide range of really large projects.
|
|
|
Posts:
13
Registered:
03/03/09
|
|
|
|
Re: Comments for: "Does Linux Suck?"
Posted:
Oct 21, 2009 4:54 AM
in response to: robert.berger
|
|
|
|
The comments about safety is not nonsense, the link given is. They refer to some standard for fire alarm systems(??) and suddenly claim that Linux is suitable for safety-critical apps. Then they mention IEC 61508 but not how to make Linux conform to it.
And what about standards for machinery, automotive, aerospace? MISRA? And yeah, realtime performance might be nice... "When will the emergency stop become active? Any second now... I think. Don't rush things."
So I agree with the "Linux sucks" statement, for these kind of applications. It doesn't make sense to put Linux in them.
|
|
|
Posts:
4
Registered:
08/03/09
|
|
|
|
Re: Comments for: "Does Linux Suck?"
Posted:
Oct 21, 2009 12:00 PM
in response to: robert.berger
|
|
|
|
Nothing is the answer to everything (and some things aren't the answer to anything).
"Embedded" Linux is ok if you have a big, fast chip, don't care about power consumption (i.e., "PC in a box") and are looking for relatively cheap, plentiful coders who can't work "close to the metal." WinCE (or some other flavor of "embedded" Windows) fills the same niche (but is more limited in supported microprocessors).
But that looks, to me, like a fairly small segment of the marketplace; there are only so many companies building game consoles and set-top boxes. I question whether Linux or WinCE are appropriate for things like electric motor controllers or engine controllers (despite the fact that there are companies out there demanding that background for those kinds of projects). Certainly, the vast majority of microcontrollers/microprocessors sold are of the 4-, 8- and 16-bit varieties and aren't appropriate for these demanding operating systems even if you can afford the power requirements.
Like Jack, I've worked with Unix/Linux in the past and find it an acceptable programming platform (although not particularly user-friendly for non-technoids in its native form). Likewise, Windows is acceptable (I actually rather like Vista, at least as much as the other versions, although that may be because I don't program for it).
But if you can actually afford the resources to run them, you've probably "over spec'ed" your chip.
|
|
|
Posts:
1
Registered:
10/22/09
|
|
|
|
Re: Comments for: "Does Linux Suck?"
Posted:
Oct 22, 2009 12:36 AM
in response to: robert.berger
|
|
|
|
Everything sucks somewhere.
So just use Linux where it
fit, and I've found it fit
on a lot system without strict
need of real time response,
high safety, etc.
The ease of development in
Linux and the vast resource
for Linux is too enticing
for you not to choose it if
your embedded design need not
the features that it can't
offer.
So it's my preferred OS
whenever it can do the work.
|
|
|
Posts:
7
Registered:
03/13/08
|
|
|
|
Re: Comments for: "Does Linux Suck?"
Posted:
Oct 22, 2009 2:07 AM
in response to: robert.berger
|
|
|
"When the only tool you have is a hammer..."
Without a doubt Linux has merits, but I've also seen it bloat hardware (and therefore cost) requirements to a frightening extent on far too many projects.
On more than one such occasion an OS-less ~66MHz ARM7 implementation in C, executing in place from flash, using only the on chip SRAM of the MCU would be more than enough... One thing leads to another (usually in conjunction with the words "free", "easy", "Google", and "drivers") and pretty soon there's a 200+MHz ARM9 with 64+Mbytes of SDRAM and a USB thumb drive under the hood. sigh
Then -- to add insult to injury -- the whole thing takes 30+ seconds just to boot and begin to be useful. Meanwhile those cheap and plentiful desktop PC programmers ("I'll just malloc() myself 128Mbytes of RAM...") are busily including 4Mbyte libraries to access some little 20-line function they don't want to be bothered to write.
Palm->face.
I don't really have anything against Linux as a technology when applied intelligently to an appropriate problem, but I think too many in our profession find "...it is tempting to treat everything as if it were a nail."
|
|
|
Posts:
2
Registered:
04/19/08
|
|
|
|
Re: Comments for: "Does Linux Suck?"
Posted:
Oct 22, 2009 8:20 AM
in response to: robert.berger
|
|
|
|
My limited experience with embedded Linux involved getting a new project started using it. As no one else at my (small) company had used it before, I couldn't turn to anyone for advice and the toolset vendor didn't seem to know what was going on either. The learning curve was substantial and, as another commenter put it, documentation is non-existant or spotty at best. Once I got it going it wasn't so bad, but I know that others had to do tremendous work to write appropriate drivers and minimize boot time.
I'm glad no one has pulled out the "Linux is free" argument because as experience tells, it requires a significant time investment to get off the ground.
|
|
|
Posts:
1
Registered:
10/22/09
|
|
|
|
Re: Comments for: "Does Linux Suck?"
Posted:
Oct 22, 2009 10:04 AM
in response to: robert.berger
|
|
|
|
Nice inflammatory title. Try "I like to beat puppies" next.
Your thesis, "We're only supposed to talk about Linux after first cueing the choir of angels who sing its eternal praises." is a bit off the mark. Yes, there are Linux evangelists who would like to see the open source OS loaded on every surface of silicon in the world. Anyone want to bet that Microsoft hasn't wished for the same fate?
Linux fills a gap in the software ecosystem that didn't exist before it was developed. No, it isn't the best application for every problem. But as we have seen in the handset market, consumers and developers haven't exactly been blazing a path for Windows-based solutions either.
The simple fact is, there are no simple facts when it comes to operating systems - no matter what the hard-core advocates on either side tell you. Yes, Linux is free in that you don't have to purchase the product. But support is lacking and documentation is sparse (I'm being generous). But Linux allows the developer to control the software down to its lowest levels. No hidden libraries, no magic system calls. Weakness mixed with strength.
Microsoft's solutions are easier to get running because there are already plenty of people out in the community who have experience with their development paradigm. The product comes with plenty of support and lots of great tools. But that depth of support comes at a price. And once you are in the Microsoft gravitational pull, your product is now part of Microsoft's product churn cycle. Strengths and weaknesses.
There are plenty of real-time OSes and other embedded OSes that I haven't even touched upon, but the point is: Why does Linux suck any worse than the alternatives? The fact is, it doesn't. It fills a niche quite well that would otherwise be left unfulfilled, and opens the door to small development companies with *NIX-based expertise who come to the embedded market place with their eyes wide open to the limitations.
At least that's how I see it.
|
|
|
Posts:
10
Registered:
08/03/09
|
|
|
|
Re: Comments for: "Does Linux Suck?"
Posted:
Oct 22, 2009 12:24 PM
in response to: robert.berger
|
|
|
|
I agree with daedalus. At the last place I worked we used Linux because it was "free". As a result we used to have a saying about it: "instead of pay me now (other OSes), you pay later, and pay and pay and pay..."
In the end it cost us more to use Linux then if we had payed for something up front with decent tools, real documentation, and real support.
|
|
|
Posts:
1
Registered:
10/22/09
|
|
|
|
Re: Comments for: "Does Linux Suck?"
Posted:
Oct 22, 2009 4:19 PM
in response to: robert.berger
|
|
|
|
I'd agree Linux doesn't work well with 8-bit microcontrollers/microprocessors, but I think a lot of my old VoIP-phone customers at a previous company would have to disagree about it working on 16-bit controllers.
We used uCLinux (since rolled into the standard kernel tree) for MMUless processors. It fit in much less than 1 MB and worked very well for a semi-realtime application.
|
|
|
Posts:
1
Registered:
06/12/09
|
|
|
|
Re: Comments for: "Does Linux Suck?"
Posted:
Oct 23, 2009 10:15 AM
in response to: robert.berger
|
|
|
|
Hi Jack,
I don't know where you got "Some managers tell me they use it (or Windows) in part because they can hire cheaper, non-embedded, people to do a lot of the work.". As far as I know, embedded software jobs (in the UK) that require low-level programming skills (e.g 8 bit MCU and HW) are normally advertised around 30k(GBP), whilst that require embedded linux skills are normally around 40k.
Maybe US has a different story?
|
|
|
Posts:
3
Registered:
05/28/09
|
|
|
|
Re: Comments for: "Does Linux Suck?"
Posted:
Oct 23, 2009 4:13 PM
in response to: robert.berger
|
|
|
|
Any one tried shifting
Linux libraries between different distributions like uCLinux, Redhat and Ubuntu... It does not work.
Any one saw what goes behind the graphics screen of Linux? That X-Windows is ancient.
Linux has remained stable because it got stuck to what Unix was 30 years ago. Computing has changed since then!
Anyone remember why Unix lost ground to Windows in the mid 90s? Solaris, AIX, BSD, System V... all looked alike but to the end user, they were all different. They all meant proprietory hardware. Unix was developed as a portable operating system and got ported a few too many times. Linux included.
I use Linux on ARM routinely. Even then, when I try it on a new ARM chip, porting is never easy.
There are niche areas where Linux or WinCE or other OSes are good, at times unavoidable. However, with better development environments, it should be possible to write your own OS or set of programs that make the end product work. Especially in the embedded arena. Leave WinCE and Linux to desktops and netPCs. Embedded computing has a far greater footprint.
As cross platform communication becomes routine, dependency on OSes should reduce - You stick to a protocol suite and not necessarily to an OS. Give me five years. Custom OS should become rule of the day.
And there are lots of applications which will not need an OS at all.
|
|
|
|
|
|
|