What does /prague/ think of TinyScheme? It's a mostly complete R5RS interpreter, but without hygienic macros and syntax rules. It's painfully easy to embed into C or to extend with C, and is so small it can be shipped on anything, including micro-controllers with maybe a few hundred kilobytes of storage. It's also the most distributed version of Scheme, as it is the main scripting language for The GIMP, and was shipped to over 4 million computers with adware.
It seems a lot more complicated to embed though. In TinyScheme, if you want to make a foreign function, you just need to define a function with two arguments (the scheme environment and a pointer to its argument list), and then use scheme_define. The process for making a foreign function in chibi scheme looks a bit more confusing...
Perhaps I just haven't seen enough examples though.
Name:
Anonymous2014-08-29 6:37
Also, Chibi Scheme appears to have a dependency on POSIX, meaning that it cannot be used in Windows applications without using Cygwin, and it cannot be ported to more obscure systems (say, Amiga) that are not POSIX based.
Name:
Anonymous2014-08-29 8:22
We program all our products in Scheme these days. It makes running programs very easy for our clients, since everyone has GIMP to run the programs. Only concern is performance. Some parts in our programs need good performance (rendering etc.). We are now planning to create a subset of scheme (called asm.scm) that would allow the Scheme implementation to run our programs near native performance. I think Scheme is the future of computing.
Name:
Anonymous2014-08-29 9:13
s7 scheme was originally based on TinyScheme. Therefore, I respect TinyScheme.
I love and respect all of you. Please you are all so wonderful.
Is there any machine that it would not make sense to run Scheme on? Because I'd like to think that any machine that can run a scripting language like, say, Lua, could be better served running Scheme.
Name:
Anonymous2014-08-30 1:57
>>12 Well, then use a Scheme that works on Amiga than. That's why there's multiple implementations, to scratch different itches.
Name:
Anonymous2014-08-30 2:03
If Bill Gates never existed, him and is team of Jews would never have created the BASIC interpreter for the Altair, would never have made BASIC the entry-level language for the personal computer era, and LISP would have been enjoyed by many more people.
lua is mostly ... write-only. You don't really have classes, but only associative arrays with a bit of syntaxic sugar ( object['key'] can be written object.key ), so you easily end up adding a 'member' in an obscure function, completely forget about it, and have side effects later.
For this reason, and this reason only, I'd prefer Python. Boost::Python is the basis for Luabind so both have a similar API (Luabind used to be slightly easier to build but not anymore). In terms of functionality, they are quite equivalent.
Name:
VIPPER2014-08-30 19:20
>>22 Python is much larger and more of a pain to embed though.
>>21 Ruby is bloated shit with tons of overloads of functions that all do the same thing, and everyone has their own favorite subset. Truly retarded.
Name:
Anonymous2014-08-31 21:32
>>20,24 I love Lua and use it all the time. I haven't noticed any flushing, and my PROGRAM runs super quick. You know how I know this? It runs quickly enough to generate real time audio at 16kHz with an interpreted Lua function (not even LuaJIT) called PER SAMPLE on a 1.6MHz non-Lisp Machine. Also, it gets called at 25hz for render calls. I have written my own Lisp Machine based on Lua, and I love it every day. I also read SICP every day and use s7 Scheme.
Now /prog/, please tell me how much I suck.
QED
Name:
Anonymous2014-08-31 21:52
and use s7 Scheme
Yes, you suck
Name:
Anonymous2014-08-31 22:12
>>25 Lua still sucks. Why not just use Scheme or Lisp?
Name:
Anonymous2014-08-31 23:05
>>27 I am using Lisp. My program includes embedded Lisp (s7) and Forth (FICL) alongside Lua. Which of these I use at any given time depends on my mood.
Name:
Anonymous2014-09-01 5:53
>>28 I want it, but I only want to use s7 by typing in an interactive programmable 3d environment with audio and networking and pretend I'm in the wired like lain.