Tuesday, September 03, 2024

AI for code: Cursor vs GitHub Copilot


Cursor wants to write all the world's code (Changelog News #110)

The team behind Cursor (an AI code editor) made a splash last week, announcing their $60 million Series A funding. People are excited about what the editor can do today (better than GitHub Copilot, some say) and what it might be able to do in the future:


Already, in Cursor, hours of hunting for the right primitives are being replaced by instant answers. Mechanical refactors are being reduced to single “tabs.” Terse directives are getting expanded into working source. And thousand-line changes are rippling to life in seconds. Going forward, we hope Cursor will let you orchestrate intelligent background workers, view and modify systems in pseudocode, instantly scan your creations for any trace of a bug, and much more.

Mobile Apps with VanillaJS & Capacitor (Ionic)

Create Powerful Native Mobile Apps with Capacitor & VanillaJS - Ionic Blog

CapacitorJS is an open-source framework that allows developers to build cross-platform mobile apps using web technologies. It provides a set of APIs and plugins to access native functionality and device features that are not typically available in web applications, such as the camera or File system.

With Capacitor, every web developer can create high-performance native mobile apps for iOS and Android using familiar web development tools and workflows, without having to learn a completely new language.

While Capacitor can be used with popular JavaScript frameworks like Angular and React, it is also possible to use it with VanillaJS. In this tutorial, we will learn how to use Capacitor with VanillaJS to create powerful native iOS and Android apps.


saimon24/capacitor-vanilla-js-tailwind @GitHub


Capacitor: Everything You've Ever Wanted to Know - Ionic Blog

We often describe Capacitor as “Electron for mobile” because Capacitor is basically the mobile-focused analog to Electron. However, there’s nuance here. Capacitor can target Electron as a deployment platform because Capacitor is a higher level abstraction than Electron.

The best way to think about this here is that if you only ever need to target desktop, Electron will do everything you need. But if you’d like to build cross-platform including mobile, web, and desktop, Capacitor will allow you to do that in addition to supporting Electron.
  • Ionic – the company that makes Capacitor, Ionic Framework, Stencil, Appflow, and many other app development-focused products. Appflow Pricing | Ionic.io (free with less than $1M)

  • Capacitor – the toolkit that handles the native side of the app and the communication between the native app and the Web View. Capacitor is completely agnostic of the frameworks and technologies used in the Web View app itself, including Ionic Framework.

  • Ionic Framework – the Mobile UI toolkit that was Ionic’s first product and started it all. Confusingly, Ionic Framework is often referred to just as “Ionic”. Ionic Framework runs in the Web View of a Capacitor app and provides a ton of powerful UI components that enable your web app to look and feel native, including navigation, modals, datetime controls, and more.

Ionic Framework - The Cross-Platform App Development Leader