Hacker Newsnew | past | comments | ask | show | jobs | submit | pgAdmin4's commentslogin

Why C with pthreads missing in this benchmark ?


I don't think 1M posix threads is a thing. 1K is no big deal though.


~100k is a thing on Linux.


On Linux, 400k threads was a thing on even on 2002 hardware that was 32-bit and thus limited to 4GB: https://news.ycombinator.com/item?id=37621887

In the titular post there's a link to a previous comparison between approaches, and plain OS threads used from Rust fare quite well, even if the author doesn't up the OS limits to keep that in the running for the higher thread cases: https://pkolaczk.github.io/memory-consumption-of-async/


that. Or just using a C coroutine lib.


I have pixel3a without any case or screen protector. I am using it from last 2 years and it dropped like 100 times, so far no issue. Still going strong. Waiting for Pixel 6Pro to be launched in India.


I am naive here, can someone explain what is the economic utility of a stock market ?

For example, its easy to understand utility of food, cloths, car, house, money. But I am not able to find a reason about stock market existence for day-to-day trading, where secondary stocks are traded daily after IPO. It seems none of the day-to-day trading money/profit ever goes back to business to help them to improve that business.


Secondary markets provide liquidity for primary investors which makes making primary investments much more attractive. A stock market is just a highly organized kind of secondary market. How many VC investors there would be if they could never sell, or if they could only sell at prices which were random? Without a secondary market all investments would be permanent and that would make investing much less attractive.

Secondary markets also provide important capital allocation benefits. They make it easier for good companies to raise additional capital (e.g. via a rights issue) or buy other businesses (using their shares). They also provide an important benchmarking role allowing non-listed companies to price transactions on the basis of listed company valuations.


I am naive here, can someone explain what is the economic utility of a stock market ?

For example, its easy to understand utility of food, cloths, car, house, money. But I am not able to find a reason about stock market existence for day-to-day trading, where secondary stocks are traded daily after IPO. It seems none of the day-to-day trading money/profit ever goes back to business to help them to improve that business.


I thought about this long ago.

The answer is that the casino-like activity of the secondary market provides a great incentive to companies to primary-list. This engine drives business formation through the valuations it can provide to companies. And companies can issue more shares to raise more capital from the very liquid casino. So it's helpful in that way.


The utility comes from the utility of having the chance to sell your IPO shares on the day and date of your choosing. That liquidity makes the shares more valuable to the buyer, who might find herself in a "oops I have to sell now" situation.


This reminds me of this article [0] where more than 50% of world population lives inside of the circle compared to outside; which is fascinating as it covers only 20% of land-area.

https://www.weforum.org/agenda/2017/07/more-people-live-insi...


As an Microsoft Teams Ex-Dev, I can vouch that message retrieval after vacation puts a lot of stress on storage systems before it stabilizes :)


Yeah, makes sense. A system typically optimized for performance and real time delivery is suddenly asked to perform multiple batch retrievals in large chunks. Ouch!


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

Search: