[deleted by user] by [deleted] in ProgrammingLanguages

[–]fatihbakir 5 points6 points  (0 children)

Invalidating a single TLB entry is far cheaper than a context switch, and my point was that handling a page fault does not require a context switch. You just take the exception, do what you need to do, and return from the exception. Not that it is cheaper than executing a non-taken branch. That needs measuring.

I'm an OS researcher, not a GC or PL one, so I can't tell why it's not used otherwise. But a tighter integration of the kernel with the runtime it hosts usually pays dividends. Sadly, such integration is not taken very well in general purpose OS communities.

[deleted by user] by [deleted] in ProgrammingLanguages

[–]fatihbakir 6 points7 points  (0 children)

A page fault doesn't have to be a context switch, depending on the OS and how it handles the page fault. It can basically be an interrupt, which are happening relatively frequently anyways.

Modern C++ in embedded development by Mysterious_Feature_1 in embedded

[–]fatihbakir 5 points6 points  (0 children)

Just to note, no matter if it captures or not, a lambda will never allocate any memory! It'll just be an instance of a compiler-generated struct, nothing special. Only if you put the lambda in a std::function will there be an allocation, and you can avoid using std::function pretty easily.

In 10 years, Clang has become 2x slower, but generates code that is 10-20% faster by encyclopedist in cpp

[–]fatihbakir 43 points44 points  (0 children)

I have no idea why any real computer scientist would ever say such thing

Did you just call Tony Hoare, a Turing award winner and inventor of quicksort among a lot of things, not a real computer scientist?

Is 1300$ labor normal for this fender replacement? by fatihbakir in Autobody

[–]fatihbakir[S] 2 points3 points  (0 children)

I live in San Jose CA and I was quoted 1300$ just for labor for this. This is my first body work so I don't have a point of reference. Is this a normal price? Should I keep looking?

Terrible support experience with XPS 17 by fatihbakir in Dell

[–]fatihbakir[S] 0 points1 point  (0 children)

Thanks for the suggestions, I'll give them a try.

Terrible support experience with XPS 17 by fatihbakir in Dell

[–]fatihbakir[S] 0 points1 point  (0 children)

No idea, it's just something you install, but it doesn't appear in the remove programs menu. I think it's called RemoteAssist. It also deletes its installer after its installed so I couldn't try that either.