3 ms·
> Compile times: A one-line change could easily take >10 seconds to compile in dev, constantly shattering flow. Has anyone else experienced this? I've mostly r
by Alifatisk 1y ago
> Compile times: A one-line change could easily take >10 seconds to compile in dev, constantly shattering flow.
Has anyone else experienced this? I've mostly read comments on how good Elixir is and if you are a Rails user you will only benefit more from Elixir. This is a bit surprising
- arrowsmith 1y agoNot remotely. Maybe I'm just not working on big enough projects, but I've never experienced any frustration at all with Elixir compile times.
- Kreoss 1y agoNope. I also worked on a Startup with a Full Phoenix LiveView Experience. Codebase was around 300k-400k lines of code and compilation was blazing fast. I would say they have a lot of circular dependencies if they are experiencing that.
- fridder 1y agofor a very large graphql api maybe? I've seen long compiles with a combo of Absinthe, Phoenix, and Elm. Also if you are not a little careful about dependency cycles it can get messy. It is an easy thing to check in CI via mix xref graph --format cycles --fail-above
- ryanrasti 1y agoAh yeah great callout, that's very plausible. We used Absinthe heavily to power our GraphQL API.