Discussion:
[Larceny-users] Fast Scheme for Raspberry Pi
Daniel Langner
2013-09-24 13:04:22 UTC
Permalink
Hello everyone!

I have this r6rs scheme framework that I'd like to get running as
efficiently as possible on a Raspberry Pi. My idea was to use Petit
Larceny in order to compile the scheme code into C code and have a
resulting binary for the Pi. Is this even feasible? How would I have to
go about it? Thanks for your help.

Regards,

Daniel
Felix S Klock II (Larceny-users list proxy)
2013-09-24 13:49:06 UTC
Permalink
Daniel (cc'ing larceny-users)-

It sounds plausible.

But it might not be the easiest way for you to go, given that we've got
support for ARM native Larceny in the works. (We haven't been discussing
this on the mailing list, its been a project that Lars worked on in his
spare time.)

I haven't tested it yet on my own Raspberry Pi, only on an ARM Chromebook,
but you can download a pre-release tarball that I made from here:


http://larcenists.github.io/LarcenyReleases/larceny-0.98b2-bin-native-armv7l-linux.tar.gz

(Note however that the above has not been given very much testing, I have
only run it on that chromebook; I largely put it up there because I didn't
want to worry about losing it as I reformat SD cards for the chromebook.)

Cheers,
-Felix
Post by Daniel Langner
Hello everyone!
I have this r6rs scheme framework that I'd like to get running as
efficiently as possible on a Raspberry Pi. My idea was to use Petit
Larceny in order to compile the scheme code into C code and have a
resulting binary for the Pi. Is this even feasible? How would I have to
go about it? Thanks for your help.
Regards,
Daniel
_______________________________________________
Larceny-users mailing list
https://lists.ccs.neu.edu/bin/listinfo/larceny-users
Lars T Hansen
2013-09-24 13:54:50 UTC
Permalink
Petit Larceny would probably work in this setting and I know it works
OK on Linux-like systems in general, so it might not be much work at
all. Couldn't tell you off the top of my head exactly what you'd need
to do, though.

(If it's performance you want then consider another option: I actually
have Larceny running native on my Raspberry Pi, with some patches on
top of the ARM code that is currently on github. I'm not going to
claim that this code is always completely stable, so buyer beware and
so on. That said, I could send you some patches... how much work do
you think you're willing to put into this?)

--lars
Post by Daniel Langner
Hello everyone!
I have this r6rs scheme framework that I'd like to get running as
efficiently as possible on a Raspberry Pi. My idea was to use Petit
Larceny in order to compile the scheme code into C code and have a
resulting binary for the Pi. Is this even feasible? How would I have to
go about it? Thanks for your help.
Regards,
Daniel
_______________________________________________
Larceny-users mailing list
https://lists.ccs.neu.edu/bin/listinfo/larceny-users
Loading...