Saltar al contenido
onsuggest
Iniciar sesión
Artículo en

How does programming language affect token efficiency and correctness?

Fuente: Dan Luu ·

This somewhat widely cited post (I keep seeing it cited, anyway) suggests that dynamic languages and/or languages that represent things more concisely are more token efficient. It seems to be cited enough that LLM search results agree. For example, when I searched for "dynamic vs static language token cost" (no quotes), Google's AI summary opened with Dynamically typed languages generally have a lower LLM token cost than traditional statically typed languages because omitting explicit type declarations makes the code more compact. Google's AI cited the same post, which suggests that some conci

Atajos de teclado

Descubrimiento anterior
←P
Siguiente descubrimiento
→N
Me gusta
L
No es para mí
X
Guardar
S
Mostrar esta ayuda
?
Cerrar
Esc

Los atajos funcionan en la página de descubrimientos.