Ace – an embeddable code editor
ace.c9.io
ace.c9.io
Ace/ACE is maybe the most overused name or acronym out there. There are over a dozen entries in the Wikipedia disambiguation page in the computing subsection alone. And that doesn't count other domains and non-public projects.
That doesn't happen with the Etherpad editor. The demo at http://etherpad.org/ works well.
source: https://www.concrete5.org/ -- https://github.com/concrete5
A PWA erases the cost of downloading the JS library, so that startup of the app would be the same as relying on having the same library bundled with the browser.
As far as latency goes, browsers won't beat what is already possible in HTML/CSS; or else, they can optimize the engine to match the performance and everyone benefits. That's why browsers' devtool editors are unsurprisingly in HTML/CSS (I believe Chrome/Firefox uses CodeMirror rather than Ace, but it works similarly).
Finally, functionality varies from one app to the other. One may want tabs to autocomplete; another may want them to input actual tabs; another, a number of spaces. Some may need multiple cursors, and some may need the editor's algorithms to not be too slow when the data to edit is compiled text (say, a single-line 100k minified JS file can crush the performance of your text editor if its string data structure is not ready).
There are no outstanding benefits to having a library be bundled in the browser.
This was a project I made using ACE, "an online IDE (code, compile and run)" for competitive programmers: https://www.codechef.com/ide
It'd be nice is someone made a general text editor that was also embeddedable and could also live edit itself (or the program it's running in). The closest I've seen is Nightlight https://sekao.net/nightlight/
But it's not really "general purpose" like Emacs w/ Elisp and it's pretty Clojure specific
We recently created a web interface for docker swarm as part of a university project, part of our requirements were that a compose file could be submitted via the web interface to create a new stack. We used ace for this and it worked quite nicely.
* parser - https://prettydiff.com/parse-framework/runtimes/browsertest....
By turning off Ace and turning it back on you can experience a huge change in user experience
https://beta.observablehq.com/ https://glslsandbox.com https://shadertoy.com https://codesandbox.io/ https://codepen.io/ https://codeanywhere.com/ https://codeshare.io/ https://www.codechef.com/ide https://js.do/ https://codebunk.com/ https://stackblitz.com/ https://coder.com/ https://www.remoteinterview.io/codepad https://vertexshaderart.com https://greggman.com/downloads/examples/html5bytebeat/html5b... https://glitch.com/ https://jsbin.com/ https://jsfiddle.net/ https://webglfundamentals.org
https://github.com/dropbox/hackpad/tree/master/etherpad/src/...
https://github.com/ether/pad/tree/master/infrastructure/ace
> ACE2 is EtherPad's editor, a content-editable-based rich text editor that supports IE6+, FF(2?/)3+, Safari(3?/)4+. It supports collaborative editing using operation transforms (easysync2), undo/redo, copy/paste.
> The name "ACE2" is because this is a rewrite of aiba's original content-editable AppJet Code Editor.
But replit is not opensource, what would I use to have a repl on my site?
e.g.:
http://blog.klipse.tech/lisp/2018/05/07/blog-common-lisp.htm...