On Sat, 5 Jun 2021 06:45:44 -0700 (PDT), dbohdan <danyil.boh...@gmail.com> wrote:
>Has anyone tried making a small embedded implementation of Racket? I mean >"embedded" not in the sense of 8-bit microcontrollers but more powerful yet >still constrained devices, like routers with 64 MB RAM running Linux or the >PlayStation 2. I think you don't have to work from scratch to make one. >You can implement Racket on top of an embedded Scheme like Chibi-Scheme ><https://github.com/ashinn/chibi-scheme>. It doesn't need to be a full, >maximally compatible port of Racket like Racket CS, just a large subset. >For example, you can skip futures and places. > >What features do you need to implement natively in the interpreter rather >than in Scheme? You can implement delimited continuations in terms of >call/cc. The concurrency primitives (threads, boxes, etc.) and the FFI? >You may be able to, but don't have to, optimize the interpreter for >immutable conses. > >This is just something I have been musing about. If no project like this >exists, I am not starting one soon. Racket can run in less than 64MB, but severely limited memory typically results in a lot of GC churn. George -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/3pbnbgtsk18g1dpg8951h9nvjuu448gmja%404ax.com.