summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Bex <peter@more-magic.net>2019-05-04 16:59:27 +0200
committerPeter Bex <peter@more-magic.net>2019-05-04 16:59:27 +0200
commit8c0dde5693309707c92cf97c66218e7d6ca8853a (patch)
tree9ef6891776214b3ffcdea993e6df1d97047de0ee
parentb31815c0b39e0f28c6b793987a0e44dcfb61fd43 (diff)
downloadt-dose-chicken-5-8c0dde5693309707c92cf97c66218e7d6ca8853a.tar.gz
Dedicate a slide to the community, pick better examples for inexactness
-rw-r--r--chicken-5.org29
1 files changed, 20 insertions, 9 deletions
diff --git a/chicken-5.org b/chicken-5.org
index 2f9e26c..1b3fc20 100644
--- a/chicken-5.org
+++ b/chicken-5.org
@@ -1,6 +1,6 @@
* What's cool about CHICKEN 5?
#+STARTUP: inlineimages
- [[./chicken-logo.png]]
+ [[./chicken-logo.png]]
** Peter Bex
@@ -27,7 +27,7 @@
Dialect of /LISP/, a functional language (impure)
LISP is from 1958, Scheme 1975; still here!
- Other Lisps: Common Lisp, Emacs Lisp, Clojure, ..
+ Other Lisps: Common Lisp, Emacs Lisp, Clojure, ...
Not for everyone -> Love it or hate it!
#+BEGIN_SRC scheme
(display "Hello, world!\n") ;; Obligatory
@@ -66,7 +66,7 @@
;; Does the right thing, i.e. print 2:
(let ((x 1) (y 2))
(swap! x y)
- (display y))
+ (display x))
#+END_SRC
* Scheme superpowers: closures
@@ -108,8 +108,8 @@
Spec defines system, allows subset (see later)
#+BEGIN_SRC scheme
1 ;; exact integer
- 0.5 ;; inexact real number
- 1/2 ;; exact rational number
+ 0.2 ;; inexact real number
+ 1/5 ;; exact rational number
1+2i ;; exact complex number
0.5+0.25i ;; inexact complex number
1/2+3/4i ;; ALSO an exact complex number
@@ -144,8 +144,6 @@
Compiles to C. Uses GCC, clang, ... to generate
machine code, so: very portable
- *Great* community! Produced lots of libraries
-
* CHICKEN: C interop
Interop with C is trivial; just drop down to it
@@ -162,6 +160,19 @@
(display (twice-exp 5)) ;; 296.826318205153
#+END_SRC
+* CHICKEN: Community
+
+** Perhaps the best "feature" of CHICKEN
+
+** Super friendly and helpful
+*** IRC: #chicken on Freenode
+*** Mailing list: chicken-users@nongnu.org
+*** Regular in-person meetups
+
+** Produced lots of libraries ("eggs")
+*** Generally of high quality
+*** Small community, responsive authors
+
* CHICKEN 5: Overhaul of module system
** Most user-visible change
@@ -303,9 +314,9 @@
Made output of Scheme to C conversion stable
C to binary is left to the C tool chain
-** Gives us verifiability
+** Gives us (wider FOSS community) verifiability
- See also [reproducible-builds.org]
+ See also [reproducible-builds.org], Debian, ...
** Nice bonus: Faster builds with ccache