Skip to content
andychu edited this page Dec 6, 2018 · 28 revisions

Why should anyone use OSH over bash?

  • Shell crash dumps. Implemented with OSH_CRASH_DUMP_DIR but not documented / deployed.
  • Lower latency with coprocesses. Prototyped but not yet in OSH.
  • Better parse time and runtime error messages. The infrastructure is there, but it needs more polish.
  • Minor: OSH has a repr builtin which may aid in debugging.

Maybe:

  • In addition to crash dumps, potentially better tracing (set -x and $PS4).

Not implemented:

  • Portable .rc files? To solve the admin problem on remote servers.
  • Migration path to a better language: Oil!

Oil Carrots

It's too early for this since it isn't implemented :-/ There are some potential benefits listed on Why Create a New Unix Shell?

Clone this wiki locally