News for hackers. Stuff that matters.
Re:iTerm2 has a new drawing engine that uses Metal 2 by gnachman on Saturday July 28, 2018 @08:41PM (#17635846)
It's a funny feeling opening hacker news and seeing your project at the top :)

In iTerm2's case it's because of bad decisions about a decade ago. The data model is read & written on the main thread. The main thread is solely responsible for drawing operations if you use the standard drawRect: interface on NSView. That means that a slow draw blocks it from processing more data. Other work, like reading from the socket and parsing bytes into tokens was offloaded onto other threads years ago. Unwinding all the assumptions about single-threadedness is nearly impossible. The only way to reduce the main thread's workload is to use a GPU renderer because building the data structures the GPU needs can be done off the main thread after a quick copy of the necessary state.

Re:iTerm2 has a new drawing engine that uses Metal 2 by hoistbypetard on Sunday July 29, 2018 @10:33AM (#17638323)
Thanks for iTerm2. I've been using iTerm since 2006-ish and iTerm2 since approximately whenever it came out (2011-ish?) :)

Apple's sorry hardware situation recently pushed me to move to Linux on a ThinkPad for most of my daily use, so I don't use iTerm2 as much now as I used to. (And, naturally, just after the return period on my ThinkPad expired, Apple rolled out a MBP with 32GB RAM X()

Your software made my life better every day for years. It was the first program I downloaded and installed after LittleSnitch when I set up a new Mac. Thank you.

Re:iTerm2 has a new drawing engine that uses Metal 2 by dpkonofa on Saturday July 28, 2018 @11:30PM (#17636366)
Just want to add my thanks for iTerm2. Having an IRL Quake-style console at work just makes me feel like a kid all day long even though I'm not messing around anymore but doing real work. :-P
Re:iTerm2 has a new drawing engine that uses Metal 2 by bgdkbtv on Monday July 30, 2018 @07:58PM (#17649364)
Somewhat unrelated to the topic, but why did you decide to host source code on GitHub, but project issues and feature suggestions on GitLab?
Re:iTerm2 has a new drawing engine that uses Metal 2 by chris_st on Saturday July 28, 2018 @09:02PM (#17635906)
Hey, happy user here -- thanks for doing iTerm2!
Re:iTerm2 has a new drawing engine that uses Metal 2 by rbanffy on Sunday July 29, 2018 @02:16AM (#17636787)
Thanks a lot for iTerm2.

BTW, I'd love to help to add overline support. Mind if I open an issue and ask for some pointers?

Re:iTerm2 has a new drawing engine that uses Metal 2 by gnachman on Sunday July 29, 2018 @03:15PM (#17639771)
File an issue! There are only a few bits left for style so they have to be used judiciously. Or come up with a better scheme for storing character attributes.
Re:iTerm2 has a new drawing engine that uses Metal 2 by __blockcipher__ on Sunday July 29, 2018 @10:38PM (#17641669)
Really dumb question here: how can I map cmd+ctrl+w to “close other tabs”? It’s the default in Terminal.app, but I just installed iTerm2 a day ago and havent found an option in the settings for it.
Re:iTerm2 has a new drawing engine that uses Metal 2 by rbanffy on Tuesday July 31, 2018 @01:56AM (#17650865)
Re:iTerm2 has a new drawing engine that uses Metal 2 by natvert on Saturday July 28, 2018 @10:52PM (#17636254)
Yes, thank you! Perhaps this has been asked before, but is there any hope of an Ubuntu port?
Re:iTerm2 has a new drawing engine that uses Metal 2 by gnachman on Saturday July 28, 2018 @11:04PM (#17636293)
Only if openstep catches up with Apple, or I retire. I wouldn’t hold my breath.
Re:iTerm2 has a new drawing engine that uses Metal 2 by natvert on Sunday July 29, 2018 @11:07AM (#17638498)
Haha, ok. Thank you again for all your hard work! Iterm2 is 90% the reason I pay a premium for a Mac. I would gladly skip paying the apple tax and put the funds toward iterm2 on other platforms if it ever becomes available :)
Re:iTerm2 has a new drawing engine that uses Metal 2 by fooker on Sunday July 29, 2018 @03:02AM (#17636916)
Try yakuake, if you haven't.
Re:iTerm2 has a new drawing engine that uses Metal 2 by samirez on Sunday July 29, 2018 @04:17AM (#17637080)
Appreciate the insights here - and also the pragmatic approach!
Re:iTerm2 has a new drawing engine that uses Metal 2 by xtreak29 on Saturday July 28, 2018 @10:46PM (#17636228)
Thanks much for iTerm 2 :)
Re:iTerm2 has a new drawing engine that uses Metal 2 by isczhu on Monday July 30, 2018 @06:10AM (#17643365)
Thanks for iTerm2!