@MRGA2k@jarredsumner I always wanted to have something like bun but run it in the browser.
maybe have a look at https://t.co/Vo3UV2csmo which you can use to write your own little bun. cool thing about bare is that you can use v8,jsc,quickjs,mquickjs,jerryscript as a js engine
We recently completed Fastcc — a self-hosting C compiler built from scratch with minimal human involvement.
In ~10 days, an AI agent implemented ~35k LOC, reached self-hosting, and compiled real-world C code, including tcc and quickjs.
Repo:https://t.co/Z7YIeIjxon
Full Write-up:https://t.co/WUim05kEXr
We happen to build a brand new C compiler which can compile SQLite/QuickJS, in the brand new language under the budget of less than time 200 dollars, We'll share what we find soon.
This has been said a thousand times before, but allow me to add my own voice: the era of humans writing code is over. Disturbing for those of us who identify as SWEs, but no less true. That's not to say SWEs don't have work to do, but writing syntax directly is not it.
@fcoury@mitchellh yeah man. imagine zigttp serving a wasm version of itself on the first request in the browser. then continue doing “ssr on the client” with sqlite + wasi + opfs
@MegaBr2@iamdevloper common, i think that should be obvious. ts is king in terms of tooling and is way more stable. currently moonbit is super unstable and every month it has new syntax, which is super annoying when used with llms.
@zack_overflow just fake AST directly, so zig ast to ts source file and send it to the new ts lsp. or print the zig ast to ts and use volarjs for remappings and BOOM, instant turbo lsp. and with const type parameters you resolve all the dynamic zig structs. also automatic return typs on fns…
@foreplaygolf11@CsTominaga@realTonalDrum lol whats your point dude? that was so easy i wouldnt even bother to try and detect smth here. what matters is the truth, sooner or later your tool will fail. and guess what, you also just used an AI tool, proofing your inability to detect the simplest stuff by yourself
@thepaperdave in vscode settings, add:
"typescript.preferences.importModuleSpecifierEnding": "js"
in tsconfig.json, add:
"allowImportingTsExtensions": true
that should do the trick
This is going to be fantastic for SQLite! Will be so simple to just setup a backup box. Hell even read replicas. No cloud or PaaS required to make this work. And now SQLite will scale much higher still! 🚀