|
|
|
|
|
by matthewmacleod
4233 days ago
|
|
I don't understand why someone would want to spend hours trying to optimize languages which weren't designed to run native software on a platform to be as effective as the ones that were when you could just write the software in the native language, to me this just seems like an exercise in futility. Even moreso considering the fact that Javascript and HTML are horribly unproductive languages, though I suppose since so many people know them well they can be more productive in them than in a language they don't know. I don't understand how you can fail to understand this. People want to write cross-platform apps for mobile devices. The marketplace is pretty evenly split between iOS and Android devices, and anybody releasing an app probably wants to make it available on both platforms. However, the cost of using two entirely separate tooling stacks to do this could easily be far too high for small apps. Your dislike of HTML/CSS/Javascript is pretty baseless too. Lots of developers like them, are productive in them, and don't feel that they're all that bad. The fact that compile-to-JS/CSS languages exist is meaningless – it's like complaining that assembly is useless because nobody uses it directly. And bear in mind that JS now approaches ~0.5x native C code performance with Asm.js – this is better than Dalvik[1]. That opens up a lot of options. [1] https://blog.mozilla.org/javascript/2013/08/01/staring-at-th... |
|
Everybody always tries to make this comparison(WELL IF YOU WANT IT TO RUN SO GOOD JUST WRITE IT IN ASSEMBLY), and it really goes to show how little they know. Programmers don't write things in assembly because today's compilers can write much better assembly than pretty much anyone. No compiler can write C better than even a mediocre programmer, which is why if you want to write something that runs very smoothly or requires high performance stuff, you write it in a C-family or JVM language. That aside, specifically your comparison makes no sense to me. Everything is assembly underneath, so I don't think anyone would say that it is useless unless they had part of their brain stem missing. HTML and JS have no place on mobile(aside from fools trying to shove them on there, hence my rant), they could be completely removed from the equation and nothing would change, and people who actually want to build good products rather than SHIP AS FAST AS POSSIBLE AT THE LOWEST COST POSSIBLE ON EVERY PLATFORM SIMULTANEOUSLY SO WE CAN MAKE THE MOST PROFIT POSSIBLE FUCK IF IT RUNS LIKE SHIT could chug along making great products, with languages designed to make great products on that platform. The developers that feel they "aren't that bad" are probably ones who haven't used anything else and don't even care to try, which is why they are trying to make them work on mobile.