You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2026/08/12 20:55:38 UTC
(groovy-website) branch asf-site updated: eye candy summaries for the AI post
This is an automated email from the ASF dual-hosted git repository.
paulk-asert pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 0acb899 eye candy summaries for the AI post
0acb899 is described below
commit 0acb89915b0909c7df1ae3869426ffb61db92bc6
Author: Paul King <pa...@asert.com.au>
AuthorDate: Thu Aug 13 06:55:28 2026 +1000
eye candy summaries for the AI post
---
site/src/site/blog/groovy6-ai-friendly.adoc | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/site/src/site/blog/groovy6-ai-friendly.adoc b/site/src/site/blog/groovy6-ai-friendly.adoc
index 715f652..e507994 100644
--- a/site/src/site/blog/groovy6-ai-friendly.adoc
+++ b/site/src/site/blog/groovy6-ai-friendly.adoc
@@ -4,6 +4,18 @@ Paul King <paulk-asert|PMC_Member>
:keywords: AI, agents, LLM, contracts, type checking extensions, AGENTS.md, skills, threat model, groovydoc, markdown, developer experience
:description: What makes Groovy 6 legible to AI agents makes it legible to people: verified declarations, checkers that catch generated-code bugs, docs that can't drift.
+[quote]
+----
+Groovy can be very efficient in terms of lines of code/AI tokens processed ...
+POGO using AST transforms (lines/tokens): Groovy 15/86, Java 126/998
+record with behavior: Groovy 23/190, Java 122/1029
+scalable reading: 288 tokens of source → 83 tokens of verified spec → 0 bodies opened. The reader who needs to know what a class promises no longer pays to read what it does.
+
+Groovy can be fast (compared with CPython and Rust-based pydantic-core) ...
+Ready to serve (spawn + handshake + tools): Python ~215 ms, Groovy JVM ~410–470 ms, Groovy Native ~18 ms
+Steady-state (search n=20): Python 5.6 ms, Groovy JVM dynamic 10.5 ms, Groovy native static 5.1 ms
+----
+
== Introduction
An AI coding agent arriving at your codebase needs exactly what a new