importance is now how organ donations are managed.
2,499 karma · joined June 10, 2010
importance is now how organ donations are managed.
csrutil disable
nvram boot-args="amfi_get_out_of_my_way=0x1"
I really wouldn't recommend doing either, but you do you.
That means the core of Hammerspoon goes from being incredibly complicated, to really just a protocol conformance.
I have a feeling that letting people do what Hammerspoon can do, but in a TypeScript environment that they're much more likely to know, than Lua, will be huge for the project.
Beyond my enjoyment/productivity on the developer side though, I think v2 will be a big boost to user enjoyment/productivity, mostly because they'll be able to get much nicer IDE integrations for their config file, and be able to do things like write their config in TypeScript.
Honestly, in 2026, I do not want to be maintaining a 100k line Objective C program.
So, my current experimentation with a v2 is to see how easily I can catch up with where v1 is, just using Swift and JavaScriptCore.
There are lots of things about the Lua APIs that I don't like, and I'm addressing some of those as I go, but I'm currently in a phase where I'm targeting parity with everything I need for my v1 config, at which point I can cut over to running v2 and then see how things are looking and what can be refined/reworked.
Where JS massively wins here, to my mind, is that there is so much tooling available for it, to the point that I'm already not actually writing my v2 config in JS at all, I'm writing it in TypeScript and compiling it to JS.
The more complex answer is that Hammerspoon is currently about 100k lines of Objective C, and none of us really want to work on it anymore when Swift is the much nicer place to be doing macOS development.
Technically we could slowly convert in-place from ObjC to Swift, but there will always be a need for "LuaSkin", the bridging code we've accumulated over the last 13+ years, and rewriting that in Swift would be significantly complicated.
JavaScript, however, is already bridged for us because WebKit needs it.
Then one day I decided enough was enough and I just shaved my head. 20 years later I wouldn't go back to a full head of hair.
It's easier than having a hairstyle, quicker than having a hairstyle, cheaper than having a hairstyle, and best of all, any time I've gotten hot and sweaty, I can just chuck some water over my head in a sink and enjoy whole-scalp-cooling!
That could be one of them, some of them or all of them, but it's not really a law that automatically applies to all of them.