These are chat archives for ChaiScript/ChaiScript

27th
Sep 2016
Jared Boone
@jboone
Sep 27 2016 00:31
Hi! I spent about five minutes on the project Web site and didn't see answers to my questions, so here I am... I'm curious about compiling and using ChaiScript on a deeply embedded (10s of Kbytes RAM) ARM Cortex-M4 processor. What is the typical code size and runtime heap/stack requirement for a simple "hello world", or to call a few simple host functions from script?
(My platform is a software-defined radio with a small LCD-based user interface. I'd like to make UI development easier for non C++ people.)
Jason Turner
@lefticus
Sep 27 2016 01:41
@jboone ChaiScript's runtime size is closer to 3MB, it's unlikely you'd get it working on such a small system. For something like that I'd recommend sol2 from @ThePhD
John Lagerquist
@RallyTronics
Sep 27 2016 02:34
@jboone You might want to take a look at Squirrel http://squirrel-lang.org/ There are currently people running it on a Cortex M3, I think there are one or two commercial projects using it on Cortex.
Jared Boone
@jboone
Sep 27 2016 02:39
@lefticus Thanks for the tip, I was starting to look at sol2 after finding it in this channel's scrollback. (P.S. Great talk at CppCon -- watched video last night, my 2nd computer was also a C64. 38911 Bytes Free 4Eva!)
@RallyTronics I'll check out Squirrel, sounds ideal... Thanks!
Jason Turner
@lefticus
Sep 27 2016 14:59
@jboone thanks, it was a very fun talk to give