4 ms·
Nice, but I prefer a language which runs both on client and server, because that means I can share code, and e.g. I can do prerendering on the server and stuff
by amelius 10y ago
Nice, but I prefer a language which runs both on client and server, because that means I can share code, and e.g. I can do prerendering on the server and stuff like that.
- K0nserv 10y agoBut Swift does run on both the client and the server. Not when the client is web, but when the client is an iOS or macOS app.
- panic 10y agoGood luck pre-rendering a UIKit app on your server, though.
- deleted 10y ago[deleted]
- daenney 10y agoThat depends a bit on what you define as prerendering. Facebook, Google and many others render client views server side (or as much as possible). See Spotify's recently open sourced HubFramework for example for how they do that with iOS. Having multiple languages doesn't preclude you from doing clever things like that and having a single language doesn't necessarily allow you to do it either.
- amelius 10y agoYes, but a single language makes it a lot easier.
- pjmlp 10y agoFor many people, client == native application.
- icebraining 10y agohttp://www.shiftjs.com/ http://www.shiftjs.com/