--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Being compiled doesn't really mean that the compiler helps the programmer. There is the need for a good type system and from what I see here Elixir is a bit lacking on this regards:
Elixir is a dynamically typed language, so all types in Elixir are inferred by the runtime. Nonetheless, Elixir comes with typespecs, which are a notation used for:
The problem is that typespecs are not required nor enforced by the compiler itself but by Dialyzer, a static analysis tool. And they type system itself is less powerful than Elm's.
I used Haskell, but it's been a while since I've had a chance to work on an app with a backend...
Being compiled doesn't really mean that the compiler helps the programmer. There is the need for a good type system and from what I see here Elixir is a bit lacking on this regards:
Elixir is a dynamically typed language, so all types in Elixir are inferred by the runtime. Nonetheless, Elixir comes with typespecs, which are a notation used for:
- declaring custom data types;
- declaring typed function signatures (specifications).
The problem is that typespecs are not required nor enforced by the compiler itself but by Dialyzer, a static analysis tool. And they type system itself is less powerful than Elm's.
On Sat, 10 Sep 2016 14:25 Jim Freeze, <jimf...@gmail.com> wrote:
Elixir is a compiled language.If you need performance your best option to fully utilize your hardware is the BEAM and OTP.
Sent from my iPhoneHello,I was wondering what programming language you use to implement the back-end for your Elm single page web app.Reading around I see that the Elm/Elixir combo is popular but for how much I think BEAM is an awesome VM I'm a bit sceptical due to Elixir being a dynamic language. How much do you miss the compiler when you write Elixir code?If you're not using Elixir, to what do you use? I played a bit with F# (using Suave.io) and I think it's quite nice.Now I'm in the mood of learning something new so I'd like to know what you use and maybe get an idea of what to look at next.Mario
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscribe@googlegroups.com.
Also I assume you're taking about dynamic types which it has unlike Elm's type system. I've heard however that Elixir's safer than your usual dynamic language due to pattern matching.
Depending on your use case I would alsoseriously consider a DBAAS option like Firebase if your not much for devops or simply don't feel like managing infrastructure. Combined with something like AWS lambda or Google's cloud functions for a microsrrvice architecture (only when you need it) it's pretty close to feature parity with a Phoenix type setup with less effort.
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscribe@googlegroups.com.
I'll buck the trend and share that I'm happily using Java 8 as my backend. I use protocol buffers over websockets to communicate.
https://github.com/jmpspace/jmpspace
https://github.com/johnpmayer/elm-protoc
--
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
If you're not using Elixir, to what do you use? I played a bit with F# (using Suave.io) and I think it's quite nice.Now I'm in the mood of learning something new so I'd like to know what you use and maybe get an idea of what to look at next.
--
You received this message because you are subscribed to a topic in the Google Groups "Elm Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elm-discuss/9GEKEyzyW_U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elm-discuss+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to elm-discuss...@googlegroups.com.
I was wondering what programming language you use to implement the back-end for your Elm single page web app.
I'm just playing around and don't want to learn another language at the moment, so although I'd like to look at Elixir/Phoenix, or F#, or Haskell, or Scala, I'm using Java via Dropwizard.If you already know Java, it's a fairly lightweight (for Java) way to get a backend up and running.
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.