CommunityNews
Are There Better Languages for Programming with LLMs?
DHH converted his Campfire to several languages with AI and started posting that Rust won. Instead of fighting on X, I built a reproducible benchmark: 7 languages, 4 LLM configurations, 112 implementation attempts, and a queue-under-pressure test with Elixir, Rust, Rails and plain Ruby. Result: no language ranking holds up, concise Ruby cost more tokens than Rust, strong typing spared no repair at all, and under load the four stacks tied on throughput. What matters is testing and discipline, not language.
Read in full here:
First Post!
aicost_tools
I work on aicost.tools, and “concise Ruby cost more tokens than Rust” matches what we see: the count follows the tokenizer, not how short the code looks, and even the model changes it — Anthropic’s new Haiku 5.5 counts the same text as about 30% more tokens than Haiku 4.5. I’d also love to know whether the 112 attempts include the repair turns, because that’s usually where the bill grows. If you want to check your own snippets, we made a free in-browser token counter that shows the count per model: AI Token Counter — Tokens & Cost Across 165 Models · AI//COST
Popular Ai topics
Other popular topics
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /java
- /clojure
- /typescript
- /emacs
- /haskell
- /svelte
- /onivim
- /kotlin
- /react
- /c-plus-plus
- /crystal
- /tailwind
- /gleam
- /ocaml
- /elm
- /vscode
- /flutter
- /html
- /deepseek
- /ash
- /zig
- /opensuse
- /php
- /centos
- /react-native
- /scala
- /lisp
- /textmate
- /sublime-text
- /nixos
- /debian
- /agda
- /deno
- /django
- /kubuntu
- /nodejs
- /arch-linux
- /ubuntu
- /spring
- /revery
- /manjaro
- /julia
- /diversity
- /lua
- /quarkus
- /laravel









