News for hackers. Stuff that matters.
Re:F***ing Learn to Code Again (1999) by moron4hire on Monday March 23, 2015 @01:57PM (#9252343)
>> Whole single-page-application crowd (eg. Sencha, React...) is busy reinventing things that already exists three layers of abstraction down from the level on which they code.

Except, you know, that part about running on the open web. The web is a deployment platform. Developers want to write the least amount of code to be able to support the most users possible. That was supposed to be Java, but it didn't work out that way. Deployment is still a platform-specific issue in Java, because users--for whatever reason--hate WebStart and its ilk. Add to that the fact that smartphones just plain don't support Java in that way and suddenly the browser makes for the only pragmatic cross-platform toolkit for building applications.

Yeah, JS sucks. Yeah, DOM sucks. Objectively, they are terrible. But for as bad as they are, there aren't any good alternatives. And no, building from source is not an alternative.

Re:F***ing Learn to Code Again (1999) by TheOtherHobbes on Monday March 23, 2015 @03:11PM (#9252792)
Building from source is happening anyway. The browser is pretty much a js logic/html+css view compiler. It just JITs it when the page loads instead of creating a downloadable binary.

With node/io and Go, servers have been build-from-source for a while.

Given the snarly mess of frameworks/tools/languages/abstractions used in web dev, it's not obvious you'd get worse performance or inferior code using JIT LLVM and some newly minted update of Visual Basic or Swift with component/object/view caching.

Re:F***ing Learn to Code Again (1999) by moron4hire on Monday March 23, 2015 @03:17PM (#9252825)
That's not what I meant by "building from source" and you know it.
Re:F***ing Learn to Code Again (1999) by TheOtherHobbes on Tuesday March 24, 2015 @07:58AM (#9256012)
Huh? I was just pointing out that the distance between building a binary from a mess of source files and building a web app from - er - a mess of source files is not that huge.

And the trend is for it to get less huge.

E.g. Bootstrap already uses the words "custom build" for a rebuild, and js-world has gulp and grunt for "building".

There's already been serious talk about either throwing out the DOM or abstracting it with something closer to a native code model.

Honestly, I'll be surprised if this doesn't happen within the next few years.

Re:F***ing Learn to Code Again (1999) by moron4hire on Tuesday March 24, 2015 @08:24AM (#9256115)
And that has nothing to do with users using the software. My point was that you can make even C code "cross platform", with a lot of effort, if you make the user build the program from source. But that is just about the worst possible experience for the user. Building cross platform applications as browser SPAs is easier on both the developer and the user.
Re:F***ing Learn to Code Again (1999) by emodendroket on Monday March 23, 2015 @05:00PM (#9253322)
> Given the snarly mess of frameworks/tools/languages/abstractions used in web dev, it's not obvious you'd get worse performance or inferior code using JIT LLVM and some newly minted update of Visual Basic or Swift with component/object/view caching.

What is obvious, however, is that more users have a Web browser on whatever device they want to use to use your software than have a virtual machine environment for any language besides JavaScript.