4 ms·
Ah Chicken. I’ve commented on Chicken before. While I might prefer some of the language choices of Racket, Chicken has just such a fantastic deployment story.
by peatmoss 7y ago
Ah Chicken.
I’ve commented on Chicken before. While I might prefer some of the language choices of Racket, Chicken has just such a fantastic deployment story. You can whip up a quick little script in Chicken and run it through “csc” and voila! You have a compiled executable.
Given how easy the C FFI is, the package collection tends to have pretty decent coverage of functionality you might want. In general I’ve found that most of the things I’ve gone looking for have been pretty easy to find.
The ability to compile little self-contained blazing fast startup time executables immediately makes me think of writing serverless / Lambda functions in Chicken. Unfortunately, there isn’t yet a lot of cloud SDK support for scheme yet, but maybe I’ll look at replicating Cognitect’s (and others’) autogenerated AWS SDK for Clojure some rainy weekend (https://github.com/cognitect-labs/aws-api/blob/master/README.md https://github.com/cognitect-labs/aws-api/blob/master/README...)
Congrats, Chicken, on another release!
- kristianp 7y agoHow does Chicken compare to Gambit/Gerbil, which also compiles to C? Edit, looks like Gambit supports R5RS, Gerbil supports R7RS ( https://cons.io/guide/r7rs.html https://cons.io/guide/r7rs.html ).
- jonathanstrange 7y agoChicken has a lot of useful libraries called "eggs" [1], including many bindings to C libraries. I'd say it's the most practically useful among the three implementations. [1] http://eggs.call-cc.org/5/ http://eggs.call-cc.org/5/
- rmrfchik 7y agoOf all schemes I tried, chicken has the easiest way to jump to scheme wagon. Add friendly community here.
- masukomi 7y ago> Unfortunately, there isn’t yet a lot of cloud SDK support for scheme yet aws no longer cares what language you create your lambda in. > You can implement an AWS Lambda runtime in any programming language. A runtime is a program that runs a Lambda function's handler method when the function is invoked. You can include a runtime in your function's deployment package in the form of an executable file named bootstrap. - https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom...