Rich_Morin
I’m curious whether anyone is using AI (really, LLM) assistance in coding Elixir (especially in Livebooks). If so, which chatbots (etc) seem to be working the best?
Trending in Discussions
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
New
Hey there,
It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Quite interesting article Google brought me. Didn’t find any mentions about it here.
What do you think in general? Would you use togethe...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Hi there! :wave:
@frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
A little off-topic, but I feel like people here have a good head on their shoulders.
I used to be quite good at making software. Was luc...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Just published claude-code-elixir, a plugin marketplace for Claude Code with Elixir support. These are the plugins I’ve been using for my...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex










Showing Posts 21 to 30- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
dimitarvp
LOL
I am stealing your quote!
kEND
I’ve been using Cursor AI for the last six or eight weeks. Been very helpful and a lot of fun!
An LLM can definitely lead you down a rabbit hole. I found that when I go back to good solid techniques, working in small steps with tests, It really, really shines.
sodapopcan
I’ve been lurking on this discussion and it’s all very interesting.
Does anyone have a link to a video of someone live coding proficiently with a coding assistant? I still haven’t used one myself and whenever I see someone using one (be it in person or online) it always kind of looks like hell, lol. Code is flying in their face that they constantly have to stop and read to see if it’s right. Sometimes they accidentally accept it then have to undo… in fact, it really seems like there is a lot of rejecting the wrong thing be it parts of the suggestion of the whole thing. It’s neat when it can write a function for you, though I fall into the camp of this taking away one of the most fun things about programming—I enjoy the mental exercise of figuring out a solution on my own. For boilerplate I still use snippets, and for simple refactoring tasks it seems that so long as you have a certain level of editor mastery I’m not sure there is any improvement here (and again, this is another fun thing about programming for me).
I can absolutely see value in having it write a function for you when have no idea what it is you’re doing. Having it right in editor would be nice, though whenever I’ve used ChatGTP I still find myself looking up other solutions to compare results, thus I’d be switching to my browser anyway.
I may just be holding it wrong, though, and would be great to see someone using it really proficiently.
MrSidecar
I don’t really “use” it so much deliberately but macvim/vimr has a GitHub copilot thing going and I haven’t disabled that. While I experienced quite a bit of hallucinating (eg code that looks good but doesn’t work in the slightest) in Python, the Elixir ideas copilot come up with are much more usable.
I don’t know if that is because I tend to code cleaner in Elixir or what else might be the reason.
xlphs
I use chatgpt 4o canvas for targeted small tasks and high level architect brainstorming. I don’t use LLM for in-editor code completions. I have done enough prompt engineering and DNN models to see LLM as a glorified sentence transformer.
For posterity, I’m sharing how I structure my prompt so it may help everyone. I simply start a chat with sentence “Use your knowledge on elixir [programming language and coding patterns] to advise me.” where the bracket part is optional. Follow with a short blurb about the code I’m about to dump, then dump all the relevant code, finally write my request at the end, like “complete the TODO in the code”.
Here is the chat for that “check to see if two lists have the same members” task. ChatGPT . Since I asked it to advise me, LLM tends to provide options, and I believe the consensus in this thread is to use
Enum.frequenciesdue to “the overhead of sorting”, that’s option 2.sabit990928
I’m using copilot and it’s kinda convenient for PR reviews, on rewriting something simple to the standard you want and sometimes its suggestions are kinda what you really need. But sometimes not)
harrisi
This is incorrect -
Enum.sort(a) == Enum.sort(b)is faster thanEnum.frequencies(a) == Enum.frequencies(b). At least that’s true for lists of numbers, it seems.This is a bit messy, but here’s a bunch of varieties: benchmarking some list comparisons · GitHub
My output looks like this (m2 macbook air 8gb):
the specifics aren’t too important, but it’s pretty clear that
Enum.frequencies/1is the slowest option. This isn’t an excellent test, and you should always profile. The point is, ChatGPT does not (and I would argue cannot) know the answer, so anything it spits out needs to be assumed to be false.Unfortunately, a broken clock is correct twice a day. The same is, of course, true for LLMs, but very few people know if they can read a clock (to continue the analogy).
aloukissas
I am using Cursor and it is pretty epic. Works best if there are good examples in the codebase. 100% recommend.
andzdroid
+1 for cursor and its autocomplete on steroids
ipnon
For the benefit of the community I would strongly advise you all not to use ChatGPT with Elixir. Their models simply do not understand the language. I burnt through easily 10k tokens today getting nowhere on a medium difficulty problem. Out of frustration I reach for the Claude free tier, and set it to “concise.” It solved the problem in 1k tokens “no sweat”! Before today I believed that the “frontier” LLMs were all roughly comparable when writing Elixir, but it’s clear to me no there are order of magnitude differences in capabilities.
Use Claude!