by sjamaan on 12/17/24, 12:18 PM with 71 comments
by fouric on 12/17/24, 2:04 PM
Opinion: this is great. The aversion of Lispers to static types is historical rather than intrinsic and reflects the relative difference in expressiveness between program semantics and type semantics (and runtime vs tooling) for much of computing. Now that types and tools are advancing, static Lisps are feasible, and I love that.
by rollcat on 12/17/24, 3:54 PM
Notable is the lack of call/cc, but in my "armchair expert" opinion, it's the ugliest part of the language. Yes, continuations as a first-class object are elegant and succinct, but in order to do anything actually useful with them (like implementing exceptions), you need library code, which makes them much less composable.
I think there's a much more pleasant and practical language lurking somewhere between R6RS "big" and traditional "small" Scheme, but I feel it would take a BDFL to flesh it out.
(Meanwhile, back to fixing my init.el.)
by iainctduncan on 12/17/24, 4:34 PM
I will be watching this closely!
by davexunit on 12/17/24, 12:52 PM
by ta8645 on 12/17/24, 3:57 PM
(define (main) (display "Hello world\n"))
Doesn't compile, but instead gives error: Error: main: global variable `scheme#display' has unknown type
by VyseofArcadia on 12/17/24, 3:14 PM
by JonChesterfield on 12/17/24, 5:28 PM
The freestanding macro suggests most of the heavy lifting is done. Stuff the GPU targets will struggle with in no particular order:
- setjmp / longjmp
- signals (if used?)
- threads
- fast alloc/free
- stack will be smaller than chicken expects
I don't know how to do signals. The rest are merely difficult.
by nudpiedo on 12/17/24, 12:44 PM
Also its small size would make it a perfect target to compile to typescript/deno/wasm without rejecting the s-exp power and runtime possibilities in its full chicken code at the backend...
by soegaard on 12/17/24, 4:12 PM
by jxy on 12/17/24, 3:27 PM
I'm not sure about how people would feel about this. I have mixed feelings. It feels like a loss of many things. What are the gains from ditching continuations?
by JonChesterfield on 12/17/24, 3:20 PM
by Imustaskforhelp on 12/17/24, 2:47 PM
by hassleblad23 on 12/17/24, 7:26 PM