Simpler server-side JavaScript

Open
#178 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
babel, javascript
Domain
backend, tooling

Research direction

Start by reading the linked blog post and the proposal about Babel transforming server-side JavaScript. No repository files, tests, entry points, or concrete acceptance criteria are named, so the first step is to define the design and what successful Node compatibility and async behavior would mean.

Written by the indexing model from the issue text.

Description

In a blog post I wrote:

I’d like to do a new server-side JavaScript environment that’s compatible with Node, ie runs Node apps, no breakage, but it also eliminates the need for callbacks, promises or async/await. I believe it’s technically possible.

A friend suggested using Babel to get started.

"I could imagine a modifier keyword on a function that means this function is internally going to do async things and calls to it should block until until it completes. That could be translated by a Babel plugin into somewhat that internally uses promises queuing to make callers wait for completion. "

This is the way to start. I wonder if anyone reading this has the expertise in Babel to make this work. I'll start a thread over in the repo to discuss.

This is that thread. 💥

Dominant language
HTML
Stars
134
Forks
10
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from scripting/Scripting-News

All issues in scripting/Scripting-News

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.