kripken/sql.js
View on GitHub ↗ ★ 140 HTML
33 mentions on Hacker News by 30 people: 5 stories, 28 comments · first 2012-03-06 · latest 2022-10-28
20082026
-
…2012, but the initial core api with 3 functions 'open', 'exec', and 'close' still works today. https://github.com/kripken/sql.js/commit/cebd80648dbd369b348...
comment by lovasoa · 2022-10-28 · in SQLite in the browser with WASM/JS -
well, it's a bit of a hack - it's using https://github.com/kripken/sql.js/ in JS from go via https://github.com/matrix-org/go-sqlite3-js , and persisting its data by snapshotting it to indexeddb via https://github.com/skaegi/idbfs every 30…
comment by Arathorn · 2020-06-02 · in P2P Matrix -
…posted), at https://news.ycombinator.com/item?id=7661236 . The top comment thread there points to https://github.com/kripken/sql.js , which was started pre-WebAssembly but now builds for WASM, and the network tab in devtools is telling me…
comment by exikyut · 2019-12-19 · in WebAssembly becomes a W3C Recommendation -
I've used sql.js ( https://github.com/kripken/sql.js ) which is SQLite compiled to WASM. It works pretty well, for some use cases.
comment by edko · 2019-11-23 · in Removing WebSQL Support -
…SQLite C code with Emscripten to generate sql.js, which I have found very useful for teaching SQL. https://github.com/kripken/sql.js
comment by bobochan · 2019-10-28 · in SQLite is easy to compile -
▲ 1
SQLite Compiled to JavaScriptstory by ngaut · 2019-05-05 · 0 comments
-
I'm actually in the midst of converting SQL.js to use WASM primarily instead of asm.js ( https://github.com/kripken/sql.js/pull/255 ). By disabling some less-known features and optimizing for size, the WASM build is currently 631KB. When…
comment by TheTaytay · 2019-01-14 · in AlaSQL.js – JavaScript SQL Database for Browser and Node.js -
Perhaps they're using SQLite compiled to JS via Emscripten: https://github.com/kripken/sql.js/
comment by lioeters · 2018-12-25 · in SQLite as an Application File Format (2014) -
…mobile apps for iOS and Android), so that wouldn't really be an issue. On the other hand, sql.js ( https://github.com/kripken/sql.js/ ) packs to about 2,6MB (see http://kripken.github.io/sql.js/js/worker.sql.js ). I don't know about…
comment by p0peax · 2018-09-11 · in WatermelonDB, a database for React and React Native apps -
https://github.com/kripken/sql.js/ I have used this and it is slow. But it was interesting!
comment by beiller · 2018-08-15 · in SQLite Release 3.25.0 adds support for window functions -
…a very weird and badly documented async API, but it is possible to lift out the data and, say, use https://github.com/kripken/sql.js . If you’ve got something good going in VSTO though, I wouldn’t waste time trying to port it. Most people…
comment by btown · 2018-04-06 · in I wandered off and built an IDE -
…the SQL language), but I don’t remember it being a standard or even a primary use of SQLite. [0]: https://github.com/kripken/sql.js/
comment by tejasmanohar · 2018-02-12 · in Appropriate Uses for SQLite -
There's SQL.js: https://github.com/kripken/sql.js/
comment by icebraining · 2018-02-12 · in Appropriate Uses for SQLite -
…emscripten or wasm, or write a SQL engine in JS and use that in the browser. That is totally fine. https://github.com/kripken/sql.js
comment by sitkack · 2018-02-11 · in Feasibility of low-level GPU access on the Web -
…user doesn't have to pay the price of downloading a large binary (on top of already large SPA). [1] https://github.com/kripken/sql.js/
comment by virtualwhys · 2018-01-27 · in Extensions in Firefox 59 -
…do that in production?" type hack, but there is a pure JS compile of SQLite3 that you could use: https://github.com/kripken/sql.js/ Possible problems: * Nearly half an MB of library to add to your project which might be a concern on mobile…
comment by dspillett · 2017-11-08 · in Work on SQLite4 has concluded -
Well, if you're looking at this maybe you'll find https://github.com/kripken/sql.js/ useful.
comment by fiatjaf · 2017-05-26 · in Show HN: SQLiteProxy – A Simple HTTP JSON Proxy for SQLite -
…any software. I found Alon Zakai's absolutely fantastic version of SQLite in JavaScript here: https://github.com/kripken/sql.js I coupled that library with a CodeMirror editor and got a working web based environment very quickly.
comment by bobochan · 2017-05-09 · in SQL Notebook -
▲ 199
SQLite compiled into JavaScript via Emscriptenstory by sea6ear · 2015-09-10 · 55 comments
-
Have you tried the emscripten port of SQLite? It's worked well for me... http://github.com/kripken/sql.js
comment by beefman · 2015-09-10 · in Lovefield – A relational database for web apps -
…it is completely client-side . This is possible because somebody compiled SQLite to JavaScript: https://github.com/kripken/sql.js/ Thus, I would have a bias against adding a classroom management system which would require some kind of…
comment by rhc2104 · 2015-05-12 · in Learn SQL Interactively on Khan Academy -
That would be SQL.js, from the emscripten guys! Props to them! https://github.com/kripken/sql.js/
comment by kgen · 2015-05-04 · in Show HN: SQLBolt – Learn SQL with simple, interactive examples -
SQL-like? How about your use a real SQL used in SQLite, https://github.com/kripken/sql.js/
comment by ivanceras · 2014-11-25 · in Lovefield: Cross-browser, SQL-like, relational query engine on top of IndexedDB -
▲ 9
Sql.js – SQLite Compiled to JavaScript Through Emscriptenstory by jumasheff · 2014-11-11 · 3 comments
-
▲ 6
SQL.js – SQLite Compiled to JavaScript Through Emscriptenstory by wtetzner · 2014-11-05 · 0 comments
-
Related: SQL.js, which is sqlite compiled with emscripten https://github.com/kripken/sql.js
comment by Sir_Cmpwn · 2014-11-04 · in LokiJS – Lightweight JavaScript in-memory database -
sql.js is 2 MB big ( https://github.com/kripken/sql.js/blob/master/js/sql.js ) And it's an in-memory database, not like WebSQL. So one has to store the data (array) to localStorage or rather IndexedDB (HTML 5 NoSQL storage).…
comment by frik · 2014-05-17 · in The Multiple SQLite Problem -
The great thing is that we're on the verge of not needing Web SQL anymore. sql.js ( https://github.com/kripken/sql.js ) is SQLite compiled to JS (via Emscripten). It can do everything you'd normally do with SQLite. You can take the db and…
comment by actsasbuffoon · 2014-04-28 · in Web SQL Database: In Memoriam -
…one called SQL.js - SQLite compiled to JavaScript through Emscripten (probably a big library too): https://github.com/kripken/sql.js
comment by frik · 2014-04-11 · in NoSQL No More -
…is not even a standard. Besides, if you want to use SQLite in the browser, you don't need WebSQL: https://github.com/kripken/sql.js
comment by icebraining · 2014-03-28 · in Servo passes Acid2 -
…In my post I link to a pure-JavaScript port of SQLite that runs in Node.js (using Emscripten): https://github.com/kripken/sql.js Presumably either Node would have to switch to Mozilla's Spidermonkey or V8 would have to implement full…
comment by jeresig · 2013-04-03 · in Asm.js: The JavaScript Compile Target -
From the [readme]( https://github.com/kripken/sql.js/blob/master/README.markdow... ): >sql.js is a port of SQLite to JavaScript, by compiling the SQLite C code with Emscripten. sql.js itself is 1 line of (incomprehensible) code, 907kB in…
comment by bartl · 2012-03-07 · in SQL.js: SQLite Compiled to JavaScript via Emscripten -
▲ 4
SQLite compiled to JavaScript through Emscriptenstory by nephics · 2012-03-06 · 1 comment