Settings

Theme

CG/SQL – SQL dialect compiler to C for sqlite3 mimicking stored procedures

ricomariani.github.io

24 points by linkdd 2 months ago · 9 comments

Reader

vmsp a month ago

I'm guessing this is a fork of Facebook's abandoned library? https://github.com/facebookincubator/CG-SQL

  • actionfromafar a month ago

    From the repo: "Meta continues to make periodic ad hoc contributions to this fork and merge corrections back to their private repo. The maintainer thanks Meta for this continued informal cooperation."

DenisDolya 2 months ago

CG-SQL = an attempt to give C what Python has had for a long timeconvenient “scripted” work with the database, but without losing speed.This is cool.

HexDecOctBin a month ago

I always wonder why SQLite didn't expose a programmatic way for creating a query (as opposed to parsing SQL statements). Given that it was designed to be embedded, it seems to me that it would have made far more sense to provide an API based interface. Then, for example, stored procedures would just be function pointers passed as callbacks.

fulafel a month ago

Is it safe?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection