You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# lx: Controllable AI for Gophers!
1
+
# lx: Controllable AI for Gophers
2
2
`lx` restores the [joy of wrangling code](https://tidyfirst.substack.com/p/augmented-coding-beyond-the-vibes) by letting you define the forest, while AI plants the trees under your intentional command.
3
3
4
4
---
@@ -52,6 +52,12 @@ You drive the flow and the contract; `lx` uses runtime traces to fill in the fun
52
52
Code for any target, from any host.
53
53
With Build Tags support, lx bridges the gap between your development machine and your production environment.
54
54
55
+
## Concurrency
56
+
Time is the only non-renewable resource for developers.
57
+
`lx` doesn't process functions sequentially.
58
+
It utilizes an Asynchronous Worker Pool to generate code for multiple functions in parallel.
59
+
Whether you have 5 functions or 50, the total execution time converges to the duration of the single slowest request, not the sum of them all.
60
+
55
61
---
56
62
57
63
# Quick Start
@@ -223,7 +229,7 @@ lx -tags lx_mock .
223
229
1. Injects spies into target functions (wraps returns with `lx.Spy(...)`)
224
230
2. Runs `go run .` inside the target directory to capture real inputs and expected outputs
225
231
3. Reverts the injected spies immediately (restores your source files)
226
-
4. Generates and patches the function bodies based on the captured evidence
232
+
4. Generates function bodies in parallel (Async) and patches them based on the captured evidence
0 commit comments