Pekka Enberg
Pekka Enberg
This implements libSQL compatible Rust API on top of Limbo's core. The purpose of this is to allow libraries and apps that build on libSQL to use Limbo.
I am seeing the simulator hit 100% CPU utilization but with nothing happening at all: ``` $ cargo run Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s Running `/home/penberg/src/penberg/limbo/target/debug/limbo_sim`...
Add support for `sqlite3_bind_*()` functions. At the core, let's just add `bind()` method to `Statement` object.
Fix `IO::get_current_time()` to return an integer or a timestamp object and use instead of things like `chrono::Local::now()`, which are non-deterministic.
The `ExternalFunc` type is meant for Limbo extensions in `core/ext` so let's convert `ExtFunc` usage to it and delete `ExtFunc`.
The JavaScript API bindings target `libsql` package compatibility (and by proxy better-sqlite3). Let's implement the missing functions.
Like commit 0aabcddf18fed76be57bb12ed0aa44585f205808 but for the rest of it. There's some core hacking required to support things like function parameters.