[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

what if android was written in c?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 33
Thread images: 4

File: frog_thinking.png (58KB, 389x418px) Image search: [Google]
frog_thinking.png
58KB, 389x418px
what if android was written in c?
>>
It would crash all the time.
>>
>>58972637
it already does?
>>
It would have 100x more security holes
>>
What if it was written in Ada, though?
>>
It would be far better.
>>
>>58972637
>>58972824
>Pajeets think java is secure
>>
Then Google didn't need to spent millions on extremely optimized runtimes like Dalvik and ART and we didn't have to endure lag even with aforementioned thousands of hours invested in designing and developing some of the most advanced software available.

With Java, everybody loses.
>>
>>58972569
I don't get it, the core is written in C, and the ui is Java. Those two choices are likely why it runs on anything, despite being a piece of shit.
>>
File: mx37.jpg (378KB, 886x1311px) Image search: [Google]
mx37.jpg
378KB, 886x1311px
>>58972677
Mine has never, but my father's iPhone constantly resets and turns off for no reason.
>>
>>58972876
the people incharge would suffer brain hemorrhages
>>
>>58972569
Kernel and libraries are made with c.
>>
>>58972949
>With Java, everybody loses.
but it's on over 3 billion devices..
>>
>>58972996
userland isn't
>>
>>58973047
Where are the libraries then? Some shit is cpp.† €‰∞‡]}—÷≈¶^¤~.,?¿´«@®?#)÷±

FUCK YOU!!!

I AM GONNA KILL YOU!!!
>>
>>58972569
It would crash about 10% more/be more insecure.
It would probably also be somewhat more efficient. But that would get eaten by all the idiots trying to use slow scripting languages and would end up into a hog of bloat, think electron.
>>
File: bfb_1_.jpg (75KB, 600x934px) Image search: [Google]
bfb_1_.jpg
75KB, 600x934px
It would make no difference. Most android devices now have ART which basically compiles apps into native machine code (ie AoT).

This is mainly why the 3T has been able to beat the 7+ despite having a snapoven sock puppet. Dalvik was a mistake.

https://www.youtube.com/watch?v=mcTAXsFHu5I
>>
>>58972569
It is. Android is just a version of Linux and Linux is written in C. The apps are running on Java.
>>
>>58973909
the application framework is also in java you dumb faggot
>>
>>58972569
algorithms are always much more important than the programming language.
Android is slow because it started out as a general purpose OS.
It should have started out as a embedded platform.
>>
Wouldn't get nearly as much applications as writing C is hard.
>>
>>58974371
This.

This thread is full of minecraft babies who think java is bad. Go back to /v/.
>>
>>58974371
Android USED to be slow. If the 3T with snapoven shitting all over the 7+ isn't proof that android has become blazing fast then I don't know what is.
>>
>>58974371
>algorithms are always much more important than the programming language.
This. The algorithms in the compiler/interpreter, that define language semantics, that is.
>>
Deploying to it would be probably much easier because now you have to make java project every time even though you did all the work in C.
>>
>>58974584
Things I personally find slow is the keyboard.
It is faster than it used to be, but it is not instant.
It is basically a static image, that should always be in memory, ready to be loaded.
The word prediction is also a simple and fast algorithm, but it takes time.
So does the printing of the pressed key etc.
It should never delay the typing experience, but if you peck fast enough, you can experience a delay.
I think this is because of a bad design.
>>
>>58972569
What if it was written in HolyC?
>>
>>58972569
but Linux is written in C
>>
>>58972569
It should have been written in haskell 2bh for parallellism and easy testing. Probably also terser code which makes it easier to grasp the whole picture
>>
>>58972992
Confirmed for never used Ada, tbqh
>>
>>58974742
/g/ should combine and do this shit
>>
>>58974811
>Having phone with no networking

llol
>>
>>58975306
the performance gains would be immense

and some autist will eventually build network connectivity into it
Thread posts: 33
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.