Better HN
topnewbestaskshowjobs
Log inSign up

kishi

11 karma · joined Aug 7, 2008 (18y ago) · 8 submissions

Submissions

comment 12y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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 :)

comment 14y ago · link · parent

I'm the author, if anyone has questions feel free to ask. 0.6 should be released this month with a lot of improvements.

comment 14y ago · link · parent

Should be back up now - grab it while it lasts.

comment 14y ago · link · parent

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.

comment 15y ago · link · parent

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.