Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Artyom Bologov
Artyom Bologov
@aartaka@merveilles.town  ·  activity timestamp 20 hours ago

It might sound somewhat unexpected from the person that’s just gone through a gargantuan effort of converting a (“small” yet still sizeable) #Scheme standard to #HTML, but… I’m still not sold on Scheme. True, it’s a

• Modern language.

• That gets Unicode and UTF-8 right.

• That has just enough operators to potentially do anything. (Any less ops and it’d become quite hard to accomplish some things.)

• That has reasonable semantics not tied to any machine. With sane memory model that works both in embedded and general programming!

• That is a Lisp. And that’s modernizing some things about family’s handling of… everything!

But still, I’m indecisive. #CommonLisp, exposed by this Scheme comparison as quite crusty with historic accidents, is still a better language in many ways:

• Typing (albeit quite simple) included in the core language.

• eval, read, and write heavily tunable for interpreter building, the very case Scheme should’ve excelled in.

• REPL and debugger behavior specified beyond probably what any language does in this regard.

• Extreme stability and portability of even non-trivial programs; “Triviality as a Virtue” library ethos as I call it.

• The ability to go full stateful and low-level, down to raw bits (not many languages actually can do that without bit masks etc.!) and GOTOs; huge/endless optimization opportunities.

Aaaaaargh. As someone in search of a universal and collapse/shit/future-proof basis for my computation, I’m extremely annoyed. Need to write some things in Scheme to make up my mind. Maybe make an SRFI or two (covering the CL areas above, typing is already covered!), possibly about meta-PL things like parsers and interpreters. Maybe that will expose me to real (yeah, I know, PLs are not “real” programming, but they well are for me!) Scheme and whether I want to commit to it.

  • Copy link
  • Flag this post
  • Block
Konrad Hinsen
Konrad Hinsen
@khinsen@scholar.social replied  ·  activity timestamp 4 hours ago

@aartaka That's an excellent summary of the trade-offs. A good basis for preferring on or the other for a specific project.

Wood or metal? In search of a universal basis for my things...

I doubt you'll ever find that "universal basis for computation". Not even if you opt for designing and building it yourself.

  • Copy link
  • Flag this comment
  • Block
Artyom Bologov
Artyom Bologov
@aartaka@merveilles.town replied  ·  activity timestamp 3 hours ago

@khinsen this is fair, there's no truly universal solution for everything. Still, I can optimize for maximum possible universality with what I have. And that's a hard optimization problem to solve!

Re metal vs. wood: I imagine absurdly rich families picking things like that, ahah.

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.41 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct