Live data from Hacker News

24-core CPU and I can’t type an email

randomascii.wordpress.com

71–80 of 320 posts

Re: 24-core CPU and I can’t type an email

#71
post #46

I just kind of figured we'd stop having UI lag by now. I work on a 24 core workstation with 64GB of RAM and things lag all the time. Not slow to complete, like jittery key entry and non-responses. Haven't we figured out thread prioritization by now? Can't we make sure something draws 60 times per second while things are going on in the background? My Android Studio build should be totally isolated from my inbox. I kn…

Could this be because many programs are still single threaded (eg. javascript on the browser), but multi-cores workstations usually have a lower performance per single-thread?

Re: 24-core CPU and I can’t type an email

#72

Great article! The only thing I wish was explained a bit better was the 2 TiB CFG memory reservation. What's that for, again?

CFG == function pointer checks prior to calling them.

The sparse/virtual bit mask is an optimisation technique so the validation of the target address is quick.

Re: 24-core CPU and I can’t type an email

#73

Earlier quoted context omitted.

I just tried that, and noticed promotions in the inbox, the non-HTML version separated the "primary" from the "promotions". Are they merging them to keep HTML version annoying?

The HTML version is the legacy UI from a few generations ago, before features like inbox categories were implemented.

I always assumed the behaviour and categorization was in their backend. I think its weird that the view (HTML vs javascript) is not decoupled from the model?

Re: 24-core CPU and I can’t type an email

#74
post #36

Earlier quoted context omitted.

I hate material design. I don't want more vacant space, I want density. Ive always loved Japanese website layouts. Content is beauty.

do you have any examples or resources on Japanese style web design?

It's everywhere. Simple example: Compare the differences--and even the subtleties--in information density between yahoo.co.jp and Yahoo.com.

Re: 24-core CPU and I can’t type an email

#75
post #38

Earlier quoted context omitted.

I usually append /h/ to the URL (/mail/h/) and get a HTML version. It can work even without JS and it has classic design with small rows that works well on my small screen. No Material Design and no huge elements with large offsets.

this does not work for me. when I type "gmail.com" it redirects to: https://mail.google.com/mail/u/0/#inbox where should I put the /h/?

https://mail.google.com/mail/h/

Re: 24-core CPU and I can’t type an email

#76
post #46

I just kind of figured we'd stop having UI lag by now. I work on a 24 core workstation with 64GB of RAM and things lag all the time. Not slow to complete, like jittery key entry and non-responses. Haven't we figured out thread prioritization by now? Can't we make sure something draws 60 times per second while things are going on in the background? My Android Studio build should be totally isolated from my inbox. I kn…

The "C++, threads and locks" programming model is inherently performance-unpredictable, since a high priority thread can't interrupt a low priority thread holding a lock to a contended resource.

The field has made progress in "figuring out" the general problem in the form of other programming models but that stuff is not close to gaining popularity on the desktop. Things like STM, lockless peristent data structures, and shared-nothing concurrency.

There are also attempts to make C++ & locks real-time friendly, but the programming model is already prohibitively hard wrt correctness, and the added complexity explosion from handling aborted locks would make it completely unmanageable.

Re: 24-core CPU and I can’t type an email

#77
post #35

Interesting story in particular, but in general, performance and memory behave like any other resource that is plentiful: they get used up until things are slowish again. Like road space. Things get added on top of each other until the reduction in speed becomes visible. Because these days, unlike in the 90's, it's no help waiting for the next Pentium processor to come out this usually results in a heavy optimisation…

As someone who remembers those times, web apps have been a terrible movement. On the other hand I'm kind of happy that I can do almost everything the same between Linux and Windows, so it's not all bad.

Re: 24-core CPU and I can’t type an email

#78

Earlier quoted context omitted.

The HTML version is the legacy UI from a few generations ago, before features like inbox categories were implemented.

I always assumed the behaviour and categorization was in their backend. I think its weird that the view (HTML vs javascript) is not decoupled from the model?

While that is possible it would make no sense. Why spend time refactoring code to improve a legacy UI for old browsers almost nobody is using? Legacy UI doesn't know anything about categorization because it was added later.

Actually Gmail's approach is sane. They just keep old UI working as it used to many years ago although the backend could have changed completely.

Re: 24-core CPU and I can’t type an email

#79

Earlier quoted context omitted.

The HTML version is the legacy UI from a few generations ago, before features like inbox categories were implemented.

I always assumed the behaviour and categorization was in their backend. I think its weird that the view (HTML vs javascript) is not decoupled from the model?

Maybe the categorisation is metadata against each email. Maybe even so they could use it without breaking the old legacy systems.

Re: 24-core CPU and I can’t type an email

#80

Earlier quoted context omitted.

do you have any examples or resources on Japanese style web design?

It's everywhere. Simple example: Compare the differences--and even the subtleties--in information density between yahoo.co.jp and Yahoo.com.

Oh wow that is a stark contrast. yahoo.co.uk, yahoo.co.in, yahoo.co.id, etc. are all incredibly low-density as well. I have always loved the Japanese aesthetic, I wonder if any other cultures have a similar preference for websites.
Post reply on HN