by spankalee · 10y ago · 0 comments
But I don't get one very big thing about Atom: why is it so intimately tied to Electron?
Coming from a company that has a huge web site dealing in source code, and that even has a source code editor embedded in it, I can't understand why they would preclude Atom from running in a browser. Github offering online-IDE functionality seems like a such a natural extension to their business.
Electron is kinda like a browser anyway, you can even open Chromium's dev tools like you would in Chrome.
They haven't precluded Atom from running in a browser, they literally built it in a browser and they just don't have it online.
As a product and a set of building blocks for an IDE, I still don't understand why they would be tied so closely to web-incompatible APIs.
I've tried to get parts of Atom running in a browser, and it's pretty damn hard. Many parts of Atom directly call node APIs and assume synchronous APIs where async would be the only option on the web.
I'm building an electron app that's web compatible and you lose a lot making it work for both and it requires a lot of planning to make feasible.
I can confidently say that I hope that I never have to use a text editor inside my browser.
If memory serves me right, I believe it was conceived to be a standalone commercial product, with tight GitHub integration; but somewhere a long the line, it became a free open source project that it is today.
I still don't understand why so much effort is being put into an editor though. I'm guessing people are drawing a comparison with the web browser war, with who owns the editor, will own the developer mind share.
edit: If you think Atom, or parts of it, running in a browser is a _bad_ idea, maybe say why rather than just click a little down arrow.
I'll point out that GitHub embeds Ace when editing files. Ace is pretty good for quick edits, but Atom's editor is better, as is the whole package of UI. From editing from Chromebooks, to tighter git and GitHub integrations, Atom on the web could do a lot of good. If I were GitHub, I'd look to take advantage of the awesome work done on Atom in the core business somehow.