Hi fellow Newspeakers!
I wanted to share some of things I have been able to accomplish with this wonderful tool. It turns out the browser APIs offer quite the plethora of shiny toys with which to play.
I wrote an ORM using IndexedDB. I learned many things, mixins, mirrors, tons of fun. The repo contains a modified Todo app to persist your Todos and a bank account app where your deposits no longer disappear. Both are available directly from
https://chalculator.com/newspeak.html
Google has a $12k prize available for the best app using chrome's experimental, early preview Built-In AI. After only a few hours getting it to "work" I am fairly certain that my 8GB Mac Book is not up the challenge of loading an LLM. If you have a beefier machine you might like to try it, I have no idea how many GB you will need. Documentation is scant.
This article gives a good rundown of the setup needed to use it. For these early previews there are some sign up steps as well. Chrome Canary is required.
Gemini
In
Newspeak is not very many lines of code; but the easter egg is sublime if I do say so.
The most challenging API, also experimental: Direct Sockets. These are only available to an Isolated Web App.
platform js global at: 'TCPSocket' => [object TCPSocket] { [ native code ] }
I hope you find some of this useful.
Happy Trails,
John