by mythz · 6y ago · 0 comments
What are other promising future "end-to-end" (i.e. Web / Server / Mobile) development platforms are there? IMO these are the main contenders:
- JS / node.js / React Native (Android/iOS) (+ other transpile 2 JS langs, e.g. TypeScript, Clojure, Scala, OCaml, etc)
- Kotlin to JavaScript / JVM / Android / Kotlin Native (iOS)
- C# Blazor / ASP .NET Core / Xamarin (Android/iOS)
- Dart JS / Dart VM / Flutter (Android/iOS)
Rust/Go/C++ could get some mentions, but I don't think they have enough community or commercial backing to become a popular mainstream option.The frontend frameworks in Rust are surprisingly good, and I wouldn't be too surprised if this becomes a mainstream option at some point.
That said, I generally find there isn't all that much advantage to sharing a frontend and backend language.
I was an early adopter and saw promise in Dart based on the strength of its technical team (originally led by Lars Bak, Kasper Lund, Gilad Bracha, Bob Nystrom, etc) so invested a lot of time in developing a express-like web framework [2], Jade View Engine [3], Redis Client [4], JSON Client, etc. It had a nice/clean development experience, well-designed / fast libraries and APIs even back then, but abandoned it 6 years ago after going to work full-time on my own Startup and have been out of the loop of Dart VM/Server since then. Here's a short list of Dart web server frameworks I could find after a quick Google Search:
https://medium.com/@suragch/web-server-frameworks-for-dart-1...
Looks like Aqueduct [6] is the most popular at 1.4k stars, though I'd expect Dart Server is not going to see a major uptick until Google commits to a major project initiative like they're doing with Flutter & Angular Dart. So it might only see traction as a Dart gRPC server which can still provide an end-to-end development experience with SPA development with Angular Dart / gRPC Web / gRPC Dart and Flutter / gRPC Dart which I'll also add after having gone through a comparison of gRPC clients in different languages [6], Dart has basically the nicest async development experience [7].
[1] https://grpc.io/docs/quickstart/dart/
[2] https://github.com/dartist/express
[3] https://github.com/dartist/jaded
[4] https://github.com/dartist/redis_client
[5] https://github.com/stablekernel/aqueduct
[6] https://github.com/NetCoreApps/todo-world/tree/master/src/cl...
[7] https://github.com/NetCoreApps/todo-world/blob/master/src/cl...
[0] https://twitter.com/jordwalke/status/1177373197517221888?s=2... [1] https://github.com/revery-ui/revery
E.g.: https://github.com/Daddoon/BlazorMobile and some initial discussion https://github.com/aspnet/AspNetCore/issues/11471
The other day, I noticed a slow-running python data transformation job, mostly string comparisons. It was on pace to take 18h to finish. Within half an hour, I had a Crystal version, ported line-by-line, that took 3 minutes(!) to finish.
I mean, if you asked me today to spit out a backend + web frontend + native app, I'd actually have no qualms about committing to Rust as an option. It's nowhere near perfect, but not as far off as people think either.
I think Kenny Kerr's Rust/WinRT project is going to be great on Windows (and Kerr already proved he can accomplish this kind of project with C++/WinRT), but Rust's language model is so fundamentally different from iOS and Android's that I can't imagine it being feasible any time soon.
Scala.js / Scala JVM / RoboVM
PWA is easy enough with Scala/Scala.js but I assumed that Android + iOS was a sufficiently painful process to warrant avoiding the attempt. Thought about mixing in Cordova or perhaps Ionic via the excellent ScalablyTyped typings library, but the path of least resistance is to just use TS on the frontend.
Coworker's article:
https://dzone.com/articles/why-i-dont-regret-moving-our-andr...
The parent post counted "Kotlin Native" as iOS. If you're willing to do that, you might consider "Scala Native" for iOS.
> Because of a lack of JIT capabilities There's the new Hermes engine which should speed things up
The main reason React Native will stick around is that it lets React developers more easily transition to native, and there's a ton of React developers.
I don’t think server side swift has any chance against the other contender, it just has nothing special to offer and it’s often not even on par with competing technologies (go simplicity and concurrency, java ecosystem, python dynamic nature, rust safety, etc.). It doesn’t even have async...
I would be surprised if anyone but iOS devs use it.
Ps: and don’t get me wrong,i absolutely love its syntax and type system. But it’s not immediately obvious to someone already familiar with another PL.
If I was asked to do a full stack project with reason today I would write node bindings and use them.
I installed the Reason extension from Jared, I think, and started a new project.
My main problem was that I needed bs-platform installed globally AND locally in the repository. Otherwise the extension would display some errors that the bs-platform could not be found, which didn't help first, because I already installed it, haha.
IIRC, the vscode only needed the extension from the store...
The Objective-C interoperability doesn't fully support generics, so writing iOS apps entirely in Kotlin is inconvenient, but some companies are apparently (it was said at KotlinConf) already using it to share business logic on iOS.