TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Elm and Phoenix/Elixir in Production for France TV

291 pointsby tbassettoover 8 years ago

12 comments

sotojuanover 8 years ago
Elixir and Phoenix are stable and by now they&#x27;re a solid choice (more than enough warranted praise on HN), but I&#x27;m still skeptical about Elm from a &quot;platform&quot; perspective. From what I can tell, Elm apps are a single blob of JavaScript that either loads or doesn&#x27;t (e.g. you can&#x27;t read the Elm site without JavaScript enabled), while the JavaScript ecosystem is moving towards server-rendering, dead code elimination, and &quot;progressive web apps&quot; so to speak. PureScript for example has dead code elimination—you can make a &lt;1kb PureScript &quot;Hello World&quot; app.<p>I know the Elm team is capable of all of these—I just haven&#x27;t heard of anything yet. While they&#x27;re &quot;nice to have&quot; now, these features might become crucial and important.<p>Another interesting thing about Elm is its progressive removal of features (I think the infix operator was or is going to be removed soon) in order to make the language more approachable. I actually support this because if you need &quot;true&quot; ML&#x2F;Haskell features, there&#x27;s PureScript.<p>Anyway, glad to see Elixir and Elm being used productively!
评论 #12718682 未加载
评论 #12719157 未加载
评论 #12718753 未加载
评论 #12719932 未加载
评论 #12718658 未加载
评论 #12727926 未加载
评论 #12721874 未加载
Cyph0nover 8 years ago
Nice writeup. Elixir definitely seems like a solid language for web dev. For the frontend, I prefer Scala.js since I&#x27;m kind of a Scala fanboy, but I&#x27;ve heard great things about Elm.<p>One little comment. At the beginning of the post, you make it seem like the app needs to scale with the number of viewers, when in fact it doesn&#x27;t. I think you should clarify this to avoid confusion.
评论 #12718600 未加载
评论 #12718923 未加载
kevinastoneover 8 years ago
&gt; As a business owner&#x2F;recruiter, I wanted something with a low entry barrier for my future hirings. Elm has a low entry barrier, the JS ecosystem&#x2F;fatigue&#x2F;mess doesn&#x27;t.<p>This is nonsense. There&#x27;s a much greater pool of talent familiar with javascript than Elm.<p>Using Elm might be marketable (&quot;come work with Elm here!&quot;), but it&#x27;s a riskier bet for a developer given it&#x27;s relative immaturity and adoption.
评论 #12720520 未加载
评论 #12722366 未加载
qaqover 8 years ago
Have not had time to try Elm yet but Elixir is such a pleasure to use, it&#x27;s painful going back to JS :)
评论 #12719787 未加载
评论 #12719537 未加载
ggregoireover 8 years ago
Even if you don&#x27;t like JavaScript, it&#x27;s really surprising to me that a CTO picks something like Elm that nobody uses and only a few know or are interested in [1].<p>I&#x27;m curious to know how the author will recruit developers, specially in France. My last company migrated all its backend in Node this year, ONLY because it was the easiest option to recruit full-stack developers. The market is completely saturated here (there are a lot more offers than developpers), you spend months to recruit a front-end developer or a full-stack developer with front-end knowledge, and I don&#x27;t see how you can attract someone with Elm. Having 1 or 2 years of xp in Elm on a resume is not really usefull when all the companies use JavaScript. You don&#x27;t even know if Elm will still be there in 2 years.<p>[1] <a href="http:&#x2F;&#x2F;stateofjs.com&#x2F;2016&#x2F;flavors" rel="nofollow">http:&#x2F;&#x2F;stateofjs.com&#x2F;2016&#x2F;flavors</a>
评论 #12720096 未加载
评论 #12720845 未加载
评论 #12728243 未加载
评论 #12723678 未加载
todd3834over 8 years ago
This was great to read and it inspired me to give both a try soon.<p>Question: Did the app receive millions of visitors or was it basically 1 visitor with millions of viewers via the television showing a recorded screen?<p>At first I thought Phoenix was used because of scaling reasons but now I&#x27;m not so sure.<p>Either way, nice work and thanks for the write up!
评论 #12718655 未加载
dvcrnover 8 years ago
So I saw Elixir+Elm, Elixir+Elixirscript, Elixir+Scala.js here so far.<p>Chiming in with Elixir+Clojurescript. It&#x27;s what I&#x27;ve been using for most of my projects these days and absolutely love it. Pure functional programming on both, server and client, with the server concentrating on well distributed concurrency and parallel processing with GenServers and the client on immutable front-end code while using Go-blocks for async stuff.
mattettiover 8 years ago
&gt; Elm has a low entry barrier<p>Sorry Vincent, you lost me there. Elm is interesting for sure, but it&#x27;s far from having a low entry barrier. Something has basic has having a button play a sound takes forever to figure out. You almost have to learn everything all over again. It&#x27;s a cool project and I&#x27;m glad it&#x27;s working out well for you, but Elm has a serious learning curve.
评论 #12724157 未加载
评论 #12725203 未加载
leshowover 8 years ago
I hope Elm doesn&#x27;t get too closely tied with Elixir. It&#x27;s a great language no matter what backend you choose.
评论 #12720575 未加载
评论 #12719533 未加载
评论 #12720909 未加载
Ericson2314over 8 years ago
Damn, look at this European protectionism &#x2F;s.<p>(I&#x27;m a functional programmer, so yay for them!)
rhlalaover 8 years ago
<i>the guests were Nicolas Sarkozy (12 millions viewers), Arnaud Montebourg (9 millions) and lately Alain Juppé (13 millions).</i><p>I would like to see the results of the two other guests.
评论 #12723439 未加载
conradfrover 8 years ago
As a French trying Elixir these last few months (don&#x27;t have much time for Elm) it&#x27;s great seeing the language picking up some hype.<p>At work I don&#x27;t see it happening though, we&#x27;re a PHP shop now addind nodejs (to my despair) and maybe some Go. I think there is a Haskell fan and that&#x27;s it.