logoalt Hacker News

matheusmoreiratoday at 1:45 AM1 replyview on HN

Thanks for reading and for your interest in lone!

> I also love the APE setup

Yeah, jart's cosmopolitan is awesome. I've even sent some floating point code her way!

I have my own take on the "embed data into the executable" problem too. It's the one thing I've made that I think is truly novel. I developed a tool to copy the data into the ELF in such a way that Linux mmaps it in automatically. Lone can just reach it at runtime via the auxiliary vector. No need to read /proc/self/exe.

You might enjoy this article:

https://www.matheusmoreira.com/articles/self-contained-lone-...

The ELF editor is written in C right now. I'm getting the language ready to host it as a lone application. That'll make it easy to redesign this feature and develop even more high level features on top of the code loading.

https://github.com/lone-lang/lone/issues/8


Replies

lioeterstoday at 4:04 AM

Really enjoyed the interview, and love the ideas behind Lone Lisp. I was curious, does it run on jart's Blink project, the tiny x86-64-linux emulator? https://github.com/jart/blink/

show 1 reply