News for hackers. Stuff that matters.
Re:Hyperloop – The Missing Ruby Front-end Library by marcus_holmes on Tuesday October 04, 2016 @01:08AM (#12633448)
the big advantage with having the same language on both ends is being to use server-side rendering (isomorphic). So your first page serve includes the initial rendering of the content, and then the client-side code takes over to handle changes with no refreshes.

If the client is written in a different language than the server then you have to maintain two versions of the page code to achieve this, and they have to be in perfect sync. Hard to do. Easier to write the code once and transpile to JS for the browser (or write the back end in JS).

Re:Hyperloop – The Missing Ruby Front-end Library by michaelmior on Tuesday October 04, 2016 @07:39AM (#12634788)
Not necessarily. You can use something like Prerender[0].

[0] https://github.com/prerender/prerender

Re:Hyperloop – The Missing Ruby Front-end Library by marcus_holmes on Tuesday October 04, 2016 @08:50PM (#12640857)
but... that only renders JS... which is what the client speaks, so the client and server still speak the same language
Re:Hyperloop – The Missing Ruby Front-end Library by michaelmior on Wednesday October 05, 2016 @03:22PM (#12646915)
Your backend can run whatever language you want. There are examples right on the page that show integration with Rails, PHP, Go, and others.