logoalt Hacker News

concindstoday at 10:24 AM5 repliesview on HN

They replaced a pretty decent native Swift Mac app (with only some chronic state management bugs), weighing ~100MB ish, with the Codex app that most people don't need, made in Electron, which takes minimum 5GB+ including filesystem cruft. Today I ran into a memory leak that froze the app and made the Renderer process take 5GB, then 10GB of RAM.

That was after I asked it to only touch 3 text files in its working directory, after which it sparked macOS permission prompts to access my Desktop, Documents, Downloads, and other apps' data. Thank god for the web platform and web apps.


Replies

lukantoday at 12:01 PM

"Thank god for the web platform and web apps."

They can be amazing. But you can write shitty code in them like anywhere else.

show 2 replies
rvztoday at 11:02 AM

> They replaced a pretty decent native Swift Mac app (with only some chronic state management bugs), weighing ~100MB ish, with the Codex app that most people don't need, made in Electron.

Not even a $1T dollar company wants to maintain a native Swift Mac app even though they have AI models to build native apps for every platform.

Maybe they thought Electron would save them tokens to build the feature once and it works everywhere rather than spending more tokens on building the same feature on 3 platforms.

show 2 replies
kaycey2022today at 2:03 PM

What! They replaced the native mac app with this?!

jonizzletoday at 10:27 AM

I hate the new app aswell but you can still get the old one called ChatGPT Classic. Just scroll down to the bottom of the download site.

show 1 reply
mgambatitoday at 11:56 AM

It’s apple fault that swift and swift ui is completely garbage.