Hacker News new | ask | show | jobs
by ibash 712 days ago
Thank you for attempting to use swift first. Electron apps are bloated and overused.

Excited to play around with this!

4 comments

Agreed about Electron apps!

But...a really good code editor is a good example of something that's extremely hard to implement using native text controls, but there are great ones based on web tech.

I wonder if embedding system WebKit on macOS or using something like NeutralinoJS would be a good alternative?

The pro is your app is much smaller and lighter.

The con is that any bugs in your system web control are out of your control, and certain tight integration with web APIs might not be possible.

I agree! At the very least I can port this to Tauri to make it have a smaller footprint.
Since your app is currently Electron I'm surprised it doesn't work with Windows. Would it be hard to get the app to play nicely with Windows?
Might be some useful things you can do with the Tauri rust backend too
From the post:

> Full disclosure: it's built with Electron. I originally wrote it in Swift but couldn't get the editor experience to where I wanted it. Now it supports autocomplete, multi-cursor editing, and moving the cursor between cells just like you'd expect from JupyterLab or VS Code.

Consider taking this as evidence that Electron isn't bad, instead of evidence that you shouldn't use this program.

Except you are really can't use Jupyter notebooks without browser. Because of widgets and interactive elements.