3 ms·
Creator here, thanks for checking out the editor! Here are some more examples: React: https://editor.sunflower.industries/?loadExample=reactExample https://ed
by hollowayaegis 5y ago
Creator here, thanks for checking out the editor!
Here are some more examples:
React: https://editor.sunflower.industries/?loadExample=reactExample https://editor.sunflower.industries/?loadExample=reactExampl... .
A 1500-line React app (in one file) will work just fine.
Hot Swapping: https://editor.sunflower.industries/?loadExample=replExample https://editor.sunflower.industries/?loadExample=replExample
Our goal is to make it easier to see what's happening in programs, and in doing so make coding faster. Eventually we want to build in the ability to deploy both frontend and backend (Node), all from the same editor page.
Please follow us on Twitter if you are interested in updates! https://twitter.com/SunflowerEditor https://twitter.com/SunflowerEditor
EDIT: oh, also collaboration is built in with Yjs. Just share your URL (the one that has ?room=...) with someone else.
- napolux 5y agothis should be a vscode extension! wonderful work!
- pc86 5y agoI'm curious what would happen if two extensions were trying to do this sort of output simultaneously, like this and GitLens.
- deleted 5y ago[deleted]
- gvx 5y agoVery cool. One note: the browser (at least Firefox and Chrome) becomes unresponsive for a while if the code takes too long to run. For example: for (i = 0; i < 1000000; i++) { i; }
- cbm-vic-20 5y agoAnother fun example: function fib(n) { if(n == 0 || n == 1) return 1; else return fib(n-1) + fib(n-2); } fib(100);
- hollowayaegis 5y agoHaha, both of those cases are killing both the iframe and the UI. I have to get around to using totally different domain on the iframe to really take advantage of the Chrome process isolation. Previously I was using a really nice JS interpreter written in JS[0] before to solve that problem, but it ran 200 times slower than the browser interpreter(!) [0] https://github.com/NeilFraser/JS-Interpreter https://github.com/NeilFraser/JS-Interpreter
- hollowayaegis 5y agoFor anyone who wants to be notified specifically when an extension for VSCode/Atom/etc is released, please fill out this form! https://tcjtes71z5j.typeform.com/to/edSjQ9AH https://tcjtes71z5j.typeform.com/to/edSjQ9AH