Earlier quoted context omitted.
Elixir/Erlang is concurrent, not parallel though.
To best of my knowledge, Erlang was not built for parallelism, but concurrency. When the language was created, multicore CPU where not yet available. The following article can explain better the point. http://jlouisramblings.blogspot.com/2011/07/erlangs-parallel...
Ask HN: Go-to web stack today?
391–400 of 453 posts
Re: Ask HN: Go-to web stack today?
#392Earlier quoted context omitted.
Would recommend Vue as a front end framework. It’s much simpler than the others, and every web dev I spoke to in 2018 recommended learning it. Backend, Flask for smaller stuff, moving up to Django or maybe Go for bigger stuff. Database Postgres. YMMV depending on what you’re doing, but the above is a good bet if you want to make the project accessible to other programmers, and it doesn’t need to quickly scale.
Have you seen React Hooks? I do not believe Vue is better than that.
Re: Ask HN: Go-to web stack today?
#393Earlier quoted context omitted.
Can you point to any writeups on this? Would love to reduce the boilerplate a bit, while still needing a global state management tool for a smaller app.
Hi, I'm a Redux maintainer. Here's a few resources. First, the docs already have a page called "Reducing Boilerplate", which shows patterns like writing a function that accepts a lookup table of reducers [0]. Second, a while back I wrote a pair of posts called "The Tao of Redux" [1] [2]. Part 1 discusses the implementation and intent behind how Redux is meant to be used, and Part 2 looks at why common usage practices…
Re: Ask HN: Go-to web stack today?
#394Earlier quoted context omitted.
Can you point to any writeups on this? Would love to reduce the boilerplate a bit, while still needing a global state management tool for a smaller app.
Hi, if you mean how to get rid of switch statements, you can check my comment bellow - about "action-reducer". I've seen https://github.com/erikras/ducks-modular-redux and it's close to what I do. Also you can check - https://github.com/reduxjs/redux/issues/1167#issuecomment-38...
Re: Ask HN: Go-to web stack today?
#395Re: Ask HN: Go-to web stack today?
#396Earlier quoted context omitted.
Although I think it's not a big issue, I'd look into Vue instead of React. Imo it's simpler and give you a more complete solution out of the box (routing, reactive data layer). Now, I've barely tested Django, but I would not go the python way unless you have a good (other) reason. Rails seems to have a much more developed web development community. Node might be a great choice due to you being able to use the same la…
> Now, I've barely tested Django, but I would not go the python way unless you have a good (other) reason. Rails seems to have a much more developed web development community. Having used both Django and Rails extensively recently, I disagree. Maybe 5 years ago, yes. For two examples I ran into yesterday, check out https://github.com/rails/rails/issues/32790 and https://github.com/rails/rails/issues/31419 which featu…
Re: Ask HN: Go-to web stack today?
#397Earlier quoted context omitted.
I thought jwt was pretty okay solution for authentication and authorization. any particular reason that you dont recommend?
Interesting ask recently regarding it. https://news.ycombinator.com/item?id=18767767
Re: Ask HN: Go-to web stack today?
#398Earlier quoted context omitted.
At this point this would prolly be my advice as well. From React/TS, to Kotlin, to PG, to the JOOQ shout out. I hoped a strongly(ish) language that spans from BE to FE, like ReasonML, would be ready by now, but it isn't. Kotlin to JS is not there I'm afraid: https://kotlinlang.org/docs/tutorials/javascript/kotlin-to-j...
What's not there about Kotlin/JS for you, out of curiosity?
Re: Ask HN: Go-to web stack today?
#399Frontend: (vanilla) React with TypeScript. - TypeScript is more important than React, static typing is such a productivity boost, even for projects of all sizes. - Start with vanilla React and create-react-app, monitor for painpoints and look for solutions for these pain points in the community, don't look at the whole ecosystem before you start building stuff. Backend: Kotlin on the JVM. Kotlin is a really nice lang…
Going back to old projects using various ORM products makes me cringe nowadays, JOOQ + Postgres are such a powerful combo!
Re: Ask HN: Go-to web stack today?
#400Frontend: (vanilla) React with TypeScript. - TypeScript is more important than React, static typing is such a productivity boost, even for projects of all sizes. - Start with vanilla React and create-react-app, monitor for painpoints and look for solutions for these pain points in the community, don't look at the whole ecosystem before you start building stuff. Backend: Kotlin on the JVM. Kotlin is a really nice lang…