Let's say a program is something that describes itself, tests itself and improves itself.
I have a special reconnaissance operation that can be performed in less than 2 nanoseconds (sic, see benchmark to the right) on any image stored in a special smart format. Combining a few of these operations allows us to find things in that image very quickly.
So in total, I expect a time of maybe, say, a millisecond?—for recognizing a typical image's major features. We still need to invent some smart algorithms for this to happen, but this is the goal.
And what that cornerstone operation is? Welll... stay tuned is all I can say.
...I extend it. (Have I said that before? Deja vu!)
Let's say I am annoyed by the inability to nest a function inside a function in Java. So I invent the "embedded" keyword.
sS bla() { S x = "hello"; embedded S calc() { ret x + " " + x; } ret calc() + " " + calc(); }
In this useless but instructive example, I embed the function calc in the function bla with access to the local variable x.
How is it translated? Using a function of a mere 21 lines and an anonymous inner class. (Nota bene: It's currently more or less limited to a single embedded function per "mother".)
This is such a wonder. A compiler written in Java compiling a slightly weird, but interesting Logo-inspired special purpose language into actual DOOM levels. Our AI could produce DOOM levels for us from just a simple description.
Oh, ah... link.
But a good one.
Question-dot.
c ?. setDoubleBuffered(b);
=>
if (c != null) c.setDoubleBuffered(c);
New invention.
The demo is word-based, but we have a function for efficient phrase-based translation too.
I invented a new data structure (I think). It's an array (variable-size list) where each add, remove, update and random access completes in O(log n) time.
I call it a Log-N array. The implementation uses an order statistic red-black tree. This could be nice for handling long token lists during JavaX transpilation.
...live on stream. Sadly, frame rate dropped to 6 frames a minute at some point. Hopefully fixed next time. Video here. Code made.
Stefan Reich builds agi.blue, the Google-killing AI database & chat bot making platform. New functions built: Inter-slice links, Delete page, Checkboxes.
Randall Brown & band (including me).