Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

TinyScheme

Name: Anonymous 2014-08-29 2:25

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.

http://philosecurity.org/2009/01/12/interview-with-an-adware-author

Name: Anonymous 2014-08-29 2:59

Chibi Scheme is better these days, although it has a slightly larger footprint.

Name: Anonymous 2014-08-29 6:20

>>2

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...

http://synthcode.com/scheme/chibi/

Perhaps I just haven't seen enough examples though.

Name: Anonymous 2014-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: Anonymous 2014-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: Anonymous 2014-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.

What is everything?

Name: Anonymous 2014-08-29 9:24

>>1
http://philosecurity.org/2009/01/12/interview-with-an-adware-author
This dude is cool, It would be a pleasure to allow him to hax my anus

Name: Anonymous 2014-08-29 10:07

>>6

S7... I hadn't heard of that one before. I think I might just look into it. Thank you for mentioning it!

Name: Anonymous 2014-08-29 12:24

It's about the only decent part of gimp, though that's the only time I've ever used it.

Name: Anonymous 2014-08-29 14:25

>>8

My pleasure.

Name: Anonymous 2014-08-29 15:08

>>4

cannot be ported to ... Amiga
Made my day. Amige - because running Scheme on a 90ies gaming console makes total sense.

Name: Anonymous 2014-08-30 1:16

>>11

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: Anonymous 2014-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: Anonymous 2014-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.

Name: Anonymous 2014-08-30 3:01

>>6

s7 scheme requires GMP for bignums

Name: Anonymous 2014-08-30 6:00

I think Scheme is useless. Just use Lua.

Name: Anonymous 2014-08-30 7:01

Lua is shit in the same way python and ruby and javascript are.

Name: Anonymous 2014-08-30 8:26

>>17
Those are all miles ahead of (bracket (shit)))))

Name: Anonymous 2014-08-30 9:23

(parenthesis (you (that (retarded (truly (is (Scheme a) language) to) everywhere))) requires)))

Name: Anonymous 2014-08-30 10:59

>>15
It's shit then!

>>16
One word: THE FORCED FLUSHING OF L1/L2 CACHE PER OPERATION

Name: Anonymous 2014-08-30 17:49

>>16

I think Lua is useless. Just use Ruby.

Name: Anonymous 2014-08-30 17:52

>>17

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: VIPPER 2014-08-30 19:20

>>22
Python is much larger and more of a pain to embed though.

Name: Anonymous 2014-08-30 21:10

>>16
And FFOC is resurrected!

http://dis.4chan.org/read/prog/1296914507

>>17
Exactly this.

>>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: Anonymous 2014-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: Anonymous 2014-08-31 21:52

and use s7 Scheme
Yes, you suck

Name: Anonymous 2014-08-31 22:12

>>25
Lua still sucks. Why not just use Scheme or Lisp?

Name: Anonymous 2014-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: Anonymous 2014-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.

Name: Anonymous 2014-09-01 12:33

painfully easy
It's so easy that it's painful, huh. Can't be good for you.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List