Hacker News new | ask | show | jobs
by gunapologist99 1773 days ago
Another, probably not insurmountable, issue with SQLite in the browser (without having a formal specification that could produce cross-language alternatives):

Using SQLite results in a new, built-in reliance on a C library. Even though most languages can use C library bindings, it does present some issues in some build scenarios, such as static builds, and, given the enormous scope of SQLite, would prevent anyone from ever achieving a 100% rust browser.

1 comments

I find this an odd comment. Is a 100% Rust browser something anyone is clamoring for?

At any rate, if that really is your goal for some reason, rendering engine is going to be your first problem anyway. Then a JS runtime.

> I find this an odd comment. Is a 100% Rust browser something anyone is clamoring for?

A 100% memory-safe browser is definitely something I'm clamouring for.

> At any rate, if that really is your goal for some reason, rendering engine is going to be your first problem anyway. Then a JS runtime.

Mozilla is working on the rendering engine. Memory-safe JS runtimes already exist (e.g. Nashorn).