When comparing Atom vs pkgsrc, the Slant community recommends Atom for most people. In the question“What are the best developer tools for Mac OSX?” Atom is ranked 23rd while pkgsrc is ranked 28th. The most important reason people chose Atom is:
Atom has a built-in package manager and an extensive [list of packages](https://atom.io/packages).
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Extensive list of packages
Atom has a built-in package manager and an extensive list of packages.
Pro Built-in package management
Atom was built from the ground up with the community in mind. Package management is therefore a first class feature.
Pro Multiplatform
Atom can run on Mac, Windows, and Linux.
Pro Extendable
Due to its modular design, almost any aspect of the editor can be changed. Even seemingly core packages, like those taking care of search and replace functionality, can be forked on GitHub, and changed and replaced in the editor.
The documentation for creating new plugins is also great, making it easier for developers to jump in and create plugins for Atom.
Pro Free and open source
Atom is free, open source, and written in C++, LESS, and CoffeeScript.
Pro Beginner friendly
One of the goals of Atom is to be a text editor for both experienced and beginner programmers. You can add keyboard shortcuts, change themes, install plugins, and change core settings by clicking through a GUI, or by manually editing config files the old-fashioned way. It has the added advantage of being built using the same engine that powers Google Chrome, so actions like opening and closing tabs feel familiar, even to new or non-programmers.
Pro Embedded Git control
Atom will highlight folders, files, and lines that have any uncommitted edits made. It also integrates really well with GitHub.
Pro Multi-line select and edit
Multiple cursors and column selection allow for versatile ways of editing.ctrl + d
will select the current word and each time the command is repeated, it adds the next occurrence of the word to the selection.ctrl + click
or middle-mouse click
will place another cursor in the place that's clicked. Cursors can then be controlled together. This also allows for selecting vertically.
Pro Command Palette support
The Command Palette permits fuzzy searching all available functions, settings, snippets, etc.
Pro Allows for instant file switching
By pressing Ctrl or Command + T and using fuzzy search, you can look for a file in your project.
Pro Themes
You can theme and customize Atom to your liking.
Pro Command line integration out of the box
Installing Atom adds two command line commands - atom
and apm
. The first one runs the application itself while the second is the Atom Package Manager that's used to add and remove various components from the package listing. While these features can be set up with other editors as well, Atom takes care of them out of the box.
Pro HiDPI support
Atom has built-in HiDPI support with zero scaling issues.
Pro Modern feel and very customizable and extendable
Pro Vim plugin turns Atom into a modernized vim
Pro Best support for Arduino with Platformio
Arduino is the most important platform for developing embedded systems.
Pro Could also be used as an IDE
Atom qualifies to be a good IDE because of the packages like linters, atom browser and hydrogen.
Pro pkgin is an apt-like tools for installing binaries from pkgsrc
pkgin aims to be a tool similar to apt/yum for managing pkgsrc binaries by relying on pkg_summary for installing, removing and upgrading packages and dependencies, using a remote repo.
Pro Adapted for use on over a dozen different operating systems
Has been adopted to be used on several Unix-like operating systems and Windows. It's also the default package manager of DragonflyBSD and of the (now discounted) Bluewall Linux distro.
Pro Installs and works in the same way as MacPorts
Installs its own dependencies which means that it is very secure. Cannot install anything unless you use the "sudo" command which is in keeping with the Unix philosophy.
Pro Both binary packages and source build possible
Fast software installation is possible by using binary packages. It's also easy to build from source which allows for different compile-time options (like different UI backends) as well as gaining access to pre-release versions of software in certain cases.
Pro Offering tooling for backporting fixes
Backporting fixes can be done by cherry-picking updates from a newer branch (pkgsrc is released every 3 months) and creating a package. Sometimes bugs need to be fixed for production and there is neither a fix in newer pkgsrc nor the softwares upstream. So pkgsrc has tools like pkgdiff, mkpatches, etc. that help with developing patches and building binary packages from that. A bit of documentation about that process can be found here.
Pro Does not need Xcode command line tools or Xcode.
This means that you can install it fresh on a new installation of MacOS and have all your favorite apps installed right from the start.
Pro Works easily with Ansible
Can be used from within Ansible to install packages on macOS.
Pro Easy installation if you use 3rd party scripts
This one works brilliantly.
Cons
Con Very slow startup time
Atom is very slow to startup, which is a big disadvantage if you are accustomed to using it to make quick changes on your files.
Con High memory usage
Atom has a relatively high memory usage, especially when compared to some other text editors not based on Electron. For those who develop on the go, this also tends to mean shorter battery life.
Con Has difficulty with large text files
Tends to crash or hang with large >(10MB) text files, making it less useful as a general text editor.
Con Slows down exponentially with plugins
Extending it needs sacrificing responsiveness.
Con Not suitable for older computers
Atom requires a lot of system resources to run, so it will most probably be painfully slow on an older machine.
Con Doesn't handle RTL (right-to-left text) well
Text can't be highlighted and manipulated properly, cursor isn't displayed visually according to where it is logically (you have to type to find out), and similar issues.
Con Indent errors
Sometimes, especially when given a file that has different indentation that the current setting, the programm seems to get confused.
Con Not known when a new window will open
It's not really clear why and when a new window is opened when you open a file out of the tree view.
Con No text UI
Con Bloated - too many packages, too little productivity
Unable to use package to even convert a C file to PDF.
Con Slow because of Electron
Atom is not a native application. As such performance is subpar and the lag is especially noticeable on larger projects. It also opens a surprising amount of sub-processes and leaks a considerable amount of memory.
Con Crash and data loss
Repeated data loss when the app crashes.
A bugreport about that was closed automatically after some time, nobody cares.
Con Missing additional touches
As Atom is still relatively new, it's missing nice little touches that other text editors have implemented over the years. From simple ease-of-use items like middle-mouse button multi-cursor select, to the ways pasted information from a spreadsheet is interpreted in multi-select situations.
Con Doesn't recognize some keyboards
Con Relatively complicated setup and installation
Installing and setting pkgsrc up is a bit more complicated than in other package managers where it often consists in running a single script.
Con Not so broadly used on MacOS as compared with MacPorts
You do not hear about Pkgsrc as openly as you hear the words "HomeBrew" or "MacPorts".
Con Outdated packages
Some packages are outdated.
Con Can't install some packages
Even building well known packages (except MacPorts) from source using the ports can fail.