News for hackers. Stuff that matters.

kishi

Re:Embedding Scheme for a game mission scripting DSL on Tuesday September 02, 2014 @10:31AM (#8257761)
It builds under Mingw32 as well, and at least an earlier version built with VC++ without modification (I don't have access to a windows machine right now to verify). It also builds under Plan 9, which uses a very old and basic C compiler very far from C99.

Some of the optional extension libraries like networking may not work out of the box, but TinyScheme doesn't have these anyway.

Basically, Chibi was designed as a better TinyScheme. It's just as small, can also easily be included statically without a library, has a nicer (optional) FFI, various features like full Unicode, full numeric tower and hygienic macros (all optional), and is an order of magnitude faster.

Re:Chibi-Scheme on Monday October 08, 2012 @09:52AM (#4626808)
It depends on what you mean by real world applications, but Chibi has many features including threads, networking and an FFI suitable for any application. R7RS large will have even more libraries. It will be complete when it's completed, but many of the individual libraries will be usable before then.
Re:Chibi-Scheme on Monday October 08, 2012 @06:17AM (#4626189)
Chibi is about the same size, and unlike TinyScheme is a real Scheme with hygienic macros and a fast VM (TinyScheme is hopelessly slow). It also has features like Huffman compressed immediate symbols to further reduce runtime heap usage - the raw image size isn't the whole story.
Re:Chibi-Scheme on Monday October 08, 2012 @12:02AM (#4625460)
The default heap is 2MB, but will run with 756KB. If you want to skip the init.scm file (-q command-line option) it will run with just 10KB providing only definitions and C primitives, but I haven't tested this extensively - I had no idea they still made devices with such little memory :)
Re:Chibi-Scheme on Sunday October 07, 2012 @10:43PM (#4625281)
I'm the author, if anyone has questions feel free to ask. 0.6 should be released this month with a lot of improvements.
Re:Chibi-Scheme on Sunday October 07, 2012 @08:59PM (#4625046)
Should be back up now - grab it while it lasts.
Re:Elnode, the EmacsLisp webserver, nears release on Wednesday August 08, 2012 @09:22PM (#4359026)
An Emacs web server existed over 10 years ago:

  http://synthcode.com/emacs/phase-0.2.1.tar.bz2
It has no doubt bit-rotted, but had some really nice features, like being able to automatically display any file as HTML with the exact same syntax highlighting that Emacs itself uses.
Re:OOP in Bash on Tuesday July 19, 2011 @10:27PM (#2784044)
This is bad a joke - not only the classes and methods but the individual instances have statically generated names. That means in the examples, for the statically generated "one", "two" and "three" there's no way to assign them to another variable, or pass them as arguments to a function.