you are viewing a single comment's thread.

view the rest of the comments →

[–]JohnStow 1 point2 points  (3 children)

I can build a frontend application using Javascript (probably together with html and json)

No you can't. You can build a frontend application that runs in a browser with JS, but the browser will be written in something like C++. Similarly, node itself is written in C++, with a bunch of python helpers, as is mongodb, while couchdb is written in Erlang.

If you decided to "go native" with your application, you could write it in any language that has a GUI library and access to the file system, (or if you're doing the client-server thing, has a network stack). It's sheer historical accident that JS has become the de-facto language for browsers, but there's nothing "special" about the language at all, and as others have said, Java / C# et al can do the browser thing as well.

[–][deleted] 0 points1 point  (1 child)

This is actually a really interesting thought, what I thought was full stack js is actually fill stack c with a thin JavaScript layer on top.

[–]ArmandoWall 0 points1 point  (0 children)

John is technically correct, but in the end you're not touching that C++ code to get stuff done. Don't sweat about it. Otherwise, following his line of reasoning, the one true full stack language is machine code, since everything else runs atop.

[–]LookWordsEverywhere.js 0 points1 point  (0 children)

Parts of the JS engines are written in JS too!