Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> it taking quite a lot of CPU

Yes that is fixed.

The reason for slow performance + high cpu usage on electron/webkit apps was just the sheer amount of mach ipc calls (from the many many <div> layers) needed to be made to fetch the entire UI element tree.

This has been fixed two days ago Heres the solution for those interested: https://github.com/dexterleng/vimac/pull/190

I was also using a bunch of async queues instead of just a single NSThread which likely contributed to high cpu usage, and that has also been fixed.

> warning that I am using a screen reader.

Nope, you should get this warning, although it was a one time prompt for me. This is because Accessibility is opt-in for electron apps for performance reasons, and I have to ask for it through setting the AXManualAccessibility attribute (see https://electronjs.org/docs/tutorial/accessibility#assistive...), which I guess triggers the prompt.



Why did you choose to use electron for something so specific to MacOS?

Awesome project by the way. This will save my wrists from a lot of pain.


The app is written in Swift, not Electron.

Vimac had major performance issues previously when traversing the UI Element tree of Electron/Webkit apps.


> Why did you choose to use electron for something so specific to MacOS?

I think you're mistaken. OP is referring to Discord as the webkit/electron app.


I don’t think they did. They’re just talking about the high cpu usage when trying to navigate an electron app while using vimac.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: