We're prototyping native language support in Next.js, starting with Route Handlers and Proxy in Go.
This gives you more options for CPU intensive workloads on the server, alongside your React app.
@timneutkens Curious, do you use the new TypeScript 7.1 Content Mappers feature? I did some experiments with direct Rust, C, and C++ imports here: https://t.co/nEGY7Az5Et
Still calling AI through SDKs, duplicating your TypeScript types as JSON Schemas, and wrapping existing functions in tool-calling boilerplate?
I think AI inference has become common enough to deserve its own language constructs.
So I built Nola. 👇
https://t.co/AXWUeHhkVn
Import native C and Rust structs directly into TypeScript.
If you wondering how the types cross language boundaries?
Here's how type marshaling works:
https://t.co/xNzSQWnTKd
ts-polyglot is built on top of TypeScript's recently introduced Content Mappers feature:
https://t.co/uIbi5cEZg4
It lets you customize how TypeScript processes imports.
You can create a loader for any file type:
Incredible what the TS has just unlocked for us with this Content Mapper!
I just experimenting with calling C++ and Rust functions directly from TS without wrapping it in node-addon-api, and here it is:
https://t.co/FCMyHKMXFX
Technically, this was already possible with Volar.js, but now it's much, much easier.
Does the TypeScript team realize what they've just unlocked with the Content Mapper feature?
Using C++ and Rust files directly in TypeScript, with native N-API integration.
Stay tuned.
With all my love for TypeScript, Python, and C#, I've never lost my love for C/C++
I don't know why, but maybe thanks to AI, I finally have more time to get back to it.
And yep, your llama.cpp will load a bit faster now :)
Just released Nola v0.1.14! https://t.co/S7xe3D54Nq
What if interacting with an LLM looked like this?
I'll miss Math.round((0.2 + 0.1) * 10) / 10, but here we are :)
Jokes aside, in this release we made the language clearer and context engineering more straightforward.
Check out the release notes, especially the new agent loop example - https://t.co/SHpw5N3Pbt
Release notes:
https://t.co/4qvHaLYi73
Does that mean Claude, Codex and others will be stuck with the current version of Rails? If no one writes Rails code by hand anymore, who's going to give feedback on what needs improving? And does that mean we'll all be stuck with the current versions of React, shadcn, Tailwind, and everything else?