klipse icon indicating copy to clipboard operation
klipse copied to clipboard

transpile-and-or-eval in a web worker

Open fredokun opened this issue 6 years ago • 10 comments

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.

fredokun avatar Dec 07 '17 09:12 fredokun

If you successfully complete this Issue via WorskHub there's a $300 reward available. Start work via WorksHub Issue Details page.

workshub[bot] avatar Jun 02 '20 15:06 workshub[bot]

@rodmoioliveira started working on this issue via WorksHub.

workshub[bot] avatar Aug 09 '20 22:08 workshub[bot]

@Mortida started working on this issue via WorksHub.

workshub[bot] avatar Aug 11 '20 16:08 workshub[bot]

Hi, @viebel. I am going to work on this issue. I'm aiming for the solution in option 2. Are there any additional specifications about this feature that you like to share with me?

rodmoioliveira avatar Aug 12 '20 17:08 rodmoioliveira

Option 2 is fine.

Make sure your solution works with JavaScript snippets and also other languages. Also, make sure snippets are able to share data and code.

For instance,

  • snippet 1 defines a function f, snippet 2 can call f
  • snippet 1 defines a global var a, snippet 2 can acces a

Feel free to reach out for more details and questions

viebel avatar Aug 12 '20 19:08 viebel

Has there been any progress on the issue?

aka-bash0r avatar Feb 10 '21 17:02 aka-bash0r

A user started working on this issue via WorksHub.

workshub[bot] avatar Feb 16 '21 07:02 workshub[bot]

@khzouroussama started working on this issue via WorksHub.

workshub[bot] avatar Nov 16 '21 22:11 workshub[bot]

@suhitk001 started working on this issue via WorksHub.

workshub[bot] avatar Mar 23 '24 23:03 workshub[bot]

The bounty is not available any more

On Sun, 24 Mar 2024, 01:34 workshub[bot], @.***> wrote:

@suhitk001 https://github.com/suhitk001 started working on this issue via WorksHub https://www.works-hub.com/issue/c2030508-1c11-4a72-81f8-c8a0c865c620.

— Reply to this email directly, view it on GitHub https://github.com/viebel/klipse/issues/298#issuecomment-2016631407, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHJKPRRD644U6KGFAOJYKDYZYGPTAVCNFSM4EHFBZB2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBRGY3DGMJUGA3Q . You are receiving this because you were mentioned.Message ID: @.***>

viebel avatar Mar 24 '24 03:03 viebel