We use cookies and other tracking technologies to improve your browsing experience on our site, analyze site traffic, and understand where our audience is coming from. To find out more, please read our privacy policy.

By choosing 'I Accept', you consent to our use of cookies and other tracking technologies.

We use cookies and other tracking technologies to improve your browsing experience on our site, analyze site traffic, and understand where our audience is coming from. To find out more, please read our privacy policy.

By choosing 'I Accept', you consent to our use of cookies and other tracking technologies. Less

We use cookies and other tracking technologies... More

Login or register
to publish this job!

Login or register
to save this job!

Login or register
to save interesting jobs!

Login or register
to get access to all your job applications!

Login or register to start contributing with an article!

Login or register
to see more jobs from this company!

Login or register
to boost this post!

Show some love to the author of this blog by giving their post some rocket fuel 🚀.

Login or register to search for your ideal job!

Login or register to start working on this issue!

Login or register
to save articles!

Login to see the application

Engineers who find a new job through Blockchain Works average a 15% increase in salary 🚀

You will be redirected back to this page right after signin

transpile-and-or-eval in a web worker

Work started
Pull requests: 0
Contributors: 3
Level: Advanced
  • Clojure
  • $300
Work started
Pull requests: 0
Contributors: 3
Level: Advanced
  • Clojure
  • $300

On GitHub

Klipse is a Javacript plugin for embedding interactive code snippets in tech blogs. A simple client-side code evaluator pluggable on any web page: clojure, ruby, javascript, python, scheme, es2017, jsx, brainfuck, c++, reagent, lua, ocaml, reasonml, prolog, common lisp
More info >

Issue posted by: 
fredokun's avatar

Frederic Peschanski

Description

The optional use of web workers would provide potential solutions for issues (as discussed with @viebel)

  • option 0 : the transpilers/evaluators are in the main page, this is the option already available

  • option 1 : the transpiler works in a web worker and the eval is in the main page, which would avoid the main page to freeze during the transpilation (but there's still the evaluation part). Especially useful for the "heavy" transpilers e.g. clojurescript

  • option 2 : everything is in a web worker. This avoids any dom manipulation but it's still ok for textual outputs. This would provide a "safe klipse" variant.

    Use Open Source Issues to hire or get hired

    On GitHub

    Klipse is a Javacript plugin for embedding interactive code snippets in tech blogs. A simple client-side code evaluator pluggable on any web page: clojure, ruby, javascript, python, scheme, es2017, jsx, brainfuck, c++, reagent, lua, ocaml, reasonml, prolog, common lisp
    More info >

    Issue posted by: 
    fredokun's avatar

    Frederic Peschanski

    Use Open Source Issues to hire or get hired

    transpile-and-or-eval in a web worker
    View on GitHub