News for hackers. Stuff that matters.
Re:Embedding Binary Objects in C by regularfry on Thursday April 16, 2020 @12:55PM (#22891290)
I got about 90% of the way to having a working ruby single-file executable builder which used objcopy to embed a sqlite database of the source files into an MRI build. Then YARV happened and the ruby build chain changed just enough that I needed to throw it out and start again.

Every now and again I ponder having another go with mruby...

Re:Embedding Binary Objects in C by rkeene2 on Thursday April 16, 2020 @02:34PM (#22892149)
FWIW, this is roughly how Tclkits work in the Tcl world. Although by default they use a Metakit database instead of SQLite.

Currently they append the database to the end of the executable, which has some problems and I'm working to make including it in the image more standardized as part of XVFS [0].

[0] https://chiselapp.com/user/rkeene/repository/xvfs/