TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Using Gambit-C Scheme to Create Small, Efficient Native Applications

42 pointsby b-manabout 14 years ago

5 comments

jlongsterabout 14 years ago
I used Gambit Scheme to create a full 3d iPhone game called Farmageddon. It is a very powerful Scheme system, with its focus on being very portable and low-level. Because of this, it lacks certain features you might find in other languages, like a module system and a large community.
评论 #2332519 未加载
评论 #2334437 未加载
wbhartabout 14 years ago
This article looks a lot like a scheme tutorial to me. That is not to say that it isn't interesting and written well. It's just not what's advertised.<p>Anyhow, for some things Scheme can produce efficient applications. However, other things are extremely inefficient in Scheme. There's no way around the fact that C is still much better at producing small, efficient, native apps.<p>It's much easier to get things going in Scheme. But then when you want to finish off a project to a high standard, the language itself becomes the limiting factor. The lack of optional typing, lack of native 32 and 64 bit integers (for some things you really need all 64 bits), inefficient string handling libraries (especially substrings), lack of standardised object oriented stuff and standardised foreign function interface and a general lack of available <i>efficient</i> and full-functioned libraries all end up causing frustration.
FraaJadabout 14 years ago
The article is behind a registration wall. :(
评论 #2332042 未加载
评论 #2332315 未加载
评论 #2332114 未加载
评论 #2332025 未加载
mark_l_watsonabout 14 years ago
Cool, I wrote that article 18 months ago and I am glad to see it on HN. Chichen Scheme and Racket may have a lot more batteries-included type libraries available but Gambit-C with its custom Emacs support makes for a really nice developer experience. The ability to generate small native apps is great and it is a great tool. Marc Feeley also does a great job supporting it.<p>Since the article is 1 1/2 years old, you should check out the wiki <a href="http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Main_Page" rel="nofollow">http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Main_P...</a> because only covered what I needed for my own projects in the article..
pietrofmaggiabout 14 years ago
On OS X + homebrew[1] to install Gambit-C Scheme you just have to do:<p><pre><code> brew install gambit-scheme </code></pre> [1] <a href="http://mxcl.github.com/homebrew/" rel="nofollow">http://mxcl.github.com/homebrew/</a>