- CrackBerry Addict
- 573 Posts
Android OS >3M lines of code vs BB10 100K lines of code
Interesting spin on things if the numbers are correct......
"Google, Samsung, it doesn't matter. The Android OS is not supportable. The hardware requirements to make it run even remotely efficient is too great. The S4 is already considered a huge flop (overheating problems, poor build quality - cheap plastic feel, etc.). With over 3,000,000 lines of code, the OS is an albatross. It cannot be maintained. Too many bugs, too slow. The hardware it needs for future releases will not exist. The only real company with a strong future in mobility is Blackberry. Their new BB10 OS built using QNX, is lean, fast, powerful, efficient, and built for a long future of growth. At around 100,000 lines of code, the hardware needed to make it much more powerful than the S4 is easy to do. And the Z10 proves that. iOS is out of the picture, as it is stale, unfriendly, and so outdated it is also unmaintainable. So the future is BBs. They have done a great job of turning things around. Long BB all the way to $100."
Read more at Android OS >3M lines of code vs BB10 100K lines of - BlackBerry - BB
Android OS >3M lines of code vs BB10 100K lines of - BlackBerry - BB
- 03-17-13, 09:43 PM #4
While I dont doubt that android has 3 million lines of code and that that will really start to bite them in the behind as they try and move forward. I have a hard time believing that BB10 only has 100k, a a lot less than 3 million but 100k is nothing, would have thought that that was more iOS territory where the OS doesnt do anything.
- 03-17-13, 09:49 PM #7
The kernel itself is over 100k lines of code. So there is no way that the OS as a complete package is that little. They seem to be comparing apples to oranges type of thing
- 03-17-13, 09:57 PM #9
- CrackBerry Abuser
03-17-13, 10:01 PM #11
- 146 Posts
Thanks for sharing OP. let's all agree BB10 is still a lean, fast, powerful, efficient OS built for a long future of growth; much moreso than other monolithic OS's out there.
A closer look at QNX Neutrino - the rock solid foundation of BlackBerry 10
The QNX Neutrino real time operating system (RTOS) is based on POSIX, like Linux. Its main advantage is how slim and optimized the kernel is, something the founders call a Micro Kernel architecture. The first edition was in 1982, and it has been polished and ironed out ever since. The source code is just 100 000 lines, compared to, say, Linux's 9 million, or Windows's 70 million lines of code. This means extreme reliability with very little chances to crash.
- 03-17-13, 11:42 PM #12
I'm pretty sure its apples to apples and they are only talking about the kernels. Linux kernel is really big. Any modern os easily hits a few million lines of code.
- 03-18-13, 03:26 AM #13
Poor article and nothing more than an opinion piece. No facts to support his theories, and no reason given as to why is is just written off, other then it is old.
This is exactly the kind of article that was common with bashing blackberry and was rightly decried here for being so fact free.
Posted via CB10
- 03-18-13, 04:22 AM #15
- 03-18-13, 04:46 AM #16
You cannot compare Android to QNX, BB10 is not QNX, it's QNX with A LOT of extra stuff thrown in.
Having said that, I don't doubt for a minute that Android's code would be significantly more than BB10.
As an OS that began years ago, and has had to add features as it evolved, the code would have had to grow with it. Windows was the same way, at least until Windows 7 or summat.
As a new OS, BB10 would be less code as things would not have had to be hacked or patched on, but planned for from the beginning.
How much of a difference that makes in the end, and how they both deal with growing as time moves forward, is anyone's guess.
So, overall, poor article.
- 03-18-13, 09:52 AM #19
It's apples and oranges if you look at it one way, and apples and apples the other way.
Apples and oranges because the 3M lines of code includes functionality that is not in the kernel with QNX and its 100K lines of code. (And I'm ignoring the likely gross inaccuracy in both numbers, because they're probably still relatively correct.)
Apples and apples in the sense that you are comparing the kernels in each case, and having less stuff in the kernel is exactly what makes QNX better from a design point of view, reliability, ease of maintenance, and so forth.
All it really means is that someone is showing a tiny bit of numerical evidence that says what we already know: Linux is a monolithic operating system, while QNX is microkernel-based. QNX is more modular, with a tiny core. This provides it many advantages, few disadvantages, and is a much harder structure to achieve.
QNX was designed this way over many years, and its not something they'll be able to graft onto Linux, so its a competitive advantage that could provide significant value to BlackBerry for many years ahead.
- 03-18-13, 10:01 AM #20
You'd expect the difference in kernel sizes based on the OS architecture. We're talking a monolithic kernel versus a micro kernel.
While computer sciency types jizz themselves over the relative sexiness of different architecture, the end-consumer doesn't care. For years on the hardware side, the nerds were all excited about RISC verus CISC. Consumers didn't give a rat's ***. Every RISC architecture failed to gain traction as a main computer in the household until smartphones and iPads caused a platform shift.
Consumers care about functionality, they don't give a bleep about how many lines of code an OS is.
- 03-18-13, 12:11 PM #25
The consumer won't care about microkernel vs monolithic, but they will care about stable vs less stable, reliable vs less reliable and significant changes moving forward vs incrementalism.
QNX and the BB10 variant is well positioned to deliver performance now that people want and a credible promise of significant added value over the years, all on a device with similar or even lesser "specs" as the equivalent running on other platforms. Android is too bulky and complex to allow for both stability and big changes going forward. The limited ability of more powerful hardware to overcome the basic design of a monolithic system means it will get left further and further behind as time goes forward and consumers realize they aren't getting the bang for the big bucks they are dumping on powerful hardware.
- By rapha194 in forum BlackBerry Z10Replies: 171Last Post: 03-24-13, 03:33 PM
- By Berry Fairy in forum General BlackBerry DiscussionReplies: 74Last Post: 01-25-12, 09:52 PM
- By silvermike in forum AndroidReplies: 2Last Post: 11-17-09, 06:27 AM
- By Magnious in forum AndroidReplies: 15Last Post: 11-05-09, 11:21 AM
- By vaguelydissatisfied in forum BlackBerry OS AppsReplies: 1Last Post: 03-05-08, 05:06 PM