by shakna · 8y ago · 0 comments
That's how I handled it. Scheme's syntax is simple enough to teach in 10 minutes, and the syntax is close enough to Python it doesn't take much to get people up and running.
I've used Scheme in production a few times now. A group of decent programmers (with experience in Python or Lua or Ruby) under one senior programmer with Scheme experience is usually more than enough.
Seriously, how does a developer sell his skills later on? “I had programmed in Django... But in LISP.”?
I love DSLs, but what you’re saying makes 0 sense business-wise.
However, "Built a transaction system in FORTRAN, C, and Scheme that is currently running at ~100 billion transactions a second at a major bank" is weighty despite the languages used.
Similarly, "Built a conveyor belt controller on an Xtensa with Scheme, deployed at 40 million sites" isn't going to matter that Scheme was used.
Fortran, C and Scheme: Sounds like an old system. Is it still running?
The conveyor belt controller sounds like an embedded project. Why Scheme?
Thanks again.
I've used:
1. Chicken Scheme for development, Gambit-C for release.
2. Custom baremetal Scheme based around the design of PreScheme and Microscheme. Implemented using Gambit-C and some of it's unique features. They had 8,16, and 32bit variants for half a dozen chip makers. (100% proprietary, and any real details covered by an NDA).
3. Racket for development, Chez Scheme for release.
Racket isn't quite Scheme, but it's IDE makes development so much friendlier, that I'll jump at the chance to use it. However, an amazing compiler is needed for release, at least to meet the standards I tend to need to aim for.
... I've done that too.
It's not a blind 'compile & release', but some compilers optimise better, others are faster. Wildly differing behavior is very, very rare in my experience.
Tradeoff being you have a more limited language subset, and may need to adopt only one compiler in the future.
> I'm assuming you used the R6RS language in Racket for compatibility?
Sometimes, more often r5rs, as that's what Gambit-C aims for.
The fewer interruptions to a programmer's flow, the better.
However, on release, performance, and binary size, often matter, so go with the best.