News for hackers. Stuff that matters.
Re:Open-source high-performance RISC-V processor by DeathArrow on Sunday March 26, 2023 @05:19PM (#35319749)
China already surpassed US economy according to some studies. And it was at 1/100 of US economy tens of years ago.

Part of this rise to power is due to US companies investing there, buying and giving know-how in the process, but the huge part is they've built some of the world best learning systems, the state is massively investing in education, they invest more than any other country in research. And, perhaps one of the biggest factors, unthinkable in the West, is that Chinese economic entities are cooperating instead of being secretive. If one Chinese company will develop something, you can bet the rest will learn that fast and will use it in the next economic cycle. In China all knowledge is in fact a big open source scheme. Every new startup can benefit from the know how, experience and research done by others. This accelerates accomplishments like crazy.

So, to recap: CCP makes good plans for very large time scales, they have one of best education systems, they try to educate as much people as possible, they invest heavily in research, companies are more likely to cooperate instead of competing, knowledge is shared.

It's a perfect recipe for success. And I just wonder why other countries can't apply the same recipe.

Re:Open-source high-performance RISC-V processor by still_grokking on Sunday March 26, 2023 @06:07PM (#35320145)
> It's a perfect recipe for success. And I just wonder why other countries can't apply the same recipe.

Because in capitalistic market economies you need to compete. This is a law of nature! Or something like that… /s

I would indeed like to see how this works in reality on side in China. But China has one big issue: Its written language. This is something that makes me really fear the idea to go there. If they would just manage to finally switch to some proper writing system, so even dumb boys like me could learn it, I would invest some time and try to learn the language. But as long as you need to memorize thousands of signs (and can't even use a dictionary…) this is really off-putting. I'm dyslexic and have already problems to write correctly in my mother tongue (German), and had a very hard time to learn English. The second most useful language to put effort in would be Chinese, sure. But this writing system, oh boy…

The Chines are smart and have a powerful government. Why can't they make this Pinyin finally happen? It would make learning reading and writing likely even easier for the still illiterate people on the Chines country side. (And no, I don't buy the argument that you need the signs to distinguish meaning for things that sound alike. The spoken language has no signs and it still works fine. And the whole language is anyway very context depended, so you need to think about the meanings of words or phrases quite precisely anyway.)

Re:Open-source high-performance RISC-V processor by DeathArrow on Sunday March 26, 2023 @06:25PM (#35320299)
Well I was formally diagnosed with dislexia and ADHD, which is worse. I can tell you what I did. I worked hard, read a lot, taught myself to finish projects. And I did lots of accomplishments and way more than my peers without ADHD.
Re:Open-source high-performance RISC-V processor by tomcam on Sunday March 26, 2023 @07:00PM (#35320623)
Why convert to Pinyin? Simplified Chinese is about 80% more efficient. How would you like to see every piece of English take up 400% more space?

The more I think about your comment the more I suspect you’re trolling, though. Good work!

Re:Open-source high-performance RISC-V processor by still_grokking on Sunday March 26, 2023 @07:35PM (#35320903)
No, I'm not trolling. This is honestly me true opinion.

And no, I don't believe in the "more efficient" argument. I was told that before, and I've played with quite some translations, and came to the conclusion that written Chinese isn't "more efficient" than say English or German. It's maybe ~20% to max. ~25% more concise. That's not a big win.

In the end that's not even surprising to me. To get some amount of information over you need some encoding that can be processed and understood by human brains, and I guess there is more or less some kind of natural limit to how "compressed" information can be before it gets incomprehensible for the average human. If you compare translations of longer texts in different languages and writing systems you will notice that all of them are more or less the same in length. Some are a little bit longer, some are a little bit shorter, but all in all it's the same magnitude. It's not like the same content can be expressed in one language a few times more concise than in another.

-- A quick test with the help of deepl.com | Chinese translation --

不,我不是在开玩笑。这确实是我的真实想法。

不,我不相信 "更有效 "的说法。我以前被告知,我已经玩了很多翻译,得出的结论是,中文书写并不比英语或德语 "更有效"。它可能比英语或德语 "更有效",最多也就20%。~这不是一个大的胜利。这并不是一个大的胜利。

最后,这对我来说甚至都不令人惊讶。为了获得一定数量的信息,你需要一些可以被人类大脑处理和理解的编码,我想在普通人无法理解之前,信息的 "压缩 "程度或多或少有一些自然限制。如果你比较不同语言和书写系统中较长文本的翻译,你会发现所有这些文本的长度或多或少都是一样的。有的长一点,有的短一点,但总的来说都是一样的幅度。这并不是说同样的内容在一种语言中可以比另一种语言表达得更简洁几倍。

-- German translation | by deepl.com as I'm lazy --

Nein, ich scherze nicht. Dies ist ehrlich meine wahre Meinung.

Und nein, ich glaube nicht an das Argument "effizienter". Das hat man mir schon mal gesagt, und ich habe mit einigen Übersetzungen gespielt und bin zu dem Schluss gekommen, dass Chinesisch nicht "effizienter" ist als etwa Englisch oder Deutsch. Es ist vielleicht ~20% bis maximal. ~25% prägnanter. Das ist kein großer Gewinn.

Letztendlich ist das für mich nicht einmal überraschend. Um eine gewisse Menge an Informationen zu erhalten, braucht man eine Kodierung, die von menschlichen Gehirnen verarbeitet und verstanden werden kann, und ich schätze, es gibt mehr oder weniger eine Art natürliche Grenze dafür, wie "komprimiert" Informationen sein können, bevor sie für den Durchschnittsmenschen unverständlich werden. Wenn Sie Übersetzungen längerer Texte in verschiedenen Sprachen und Schriftsystemen vergleichen, werden Sie feststellen, dass sie alle mehr oder weniger gleich lang sind. Manche sind etwas länger, manche etwas kürzer, aber alles in allem sind sie gleich lang. Es ist nicht so, dass derselbe Inhalt in einer Sprache ein paar Mal prägnanter ausgedrückt werden kann als in einer anderen.

-- Korean translation by deepl.com | just to try out some other "compact" signs --

아니요, 트롤링이 아닙니다. 이것은 솔직히 제 진심입니다.

그리고 저는 "더 효율적"이라는 주장을 믿지 않습니다. 저도 그런 말을 들은 적이 있고, 꽤 많은 번역을 해본 결과 중국어 문장이 영어나 독일어보다 '더 효율적'이지 않다는 결론에 도달했습니다. 적게는 20%에서 최대. 최대 ~25% 더 간결합니다. 이는 큰 이득이 아닙니다.

결국 그다지 놀랍지도 않습니다. 어느 정도의 정보를 전달하려면 인간의 두뇌가 처리하고 이해할 수 있는 인코딩이 필요하며, 일반인이 이해할 수 없을 정도로 정보를 '압축'하는 데에는 어느 정도 자연적인 한계가 있다고 생각합니다. 다른 언어와 문자 체계로 된 긴 텍스트의 번역본을 비교해 보면 모든 번역본의 길이가 거의 같다는 것을 알 수 있습니다. 어떤 것은 조금 더 길고 어떤 것은 조금 더 짧지만 대체로 같은 크기입니다. 같은 내용을 한 언어가 다른 언어보다 몇 배 더 간결하게 표현할 수 있는 것은 아닙니다.

-- Russian translation by deepl.com | trying out some alternative western script in a different language family --

Нет, я не троллю. Это мое искреннее мнение.

И нет, я не верю в аргумент "эффективнее". Мне говорили это раньше, и я играл с некоторыми переводами, и пришел к выводу, что китайский язык не "более эффективен", чем, скажем, английский или немецкий. Он, может быть, на ~20% максимум. ~25% более лаконично. Это не большая победа.

В конце концов, меня это даже не удивляет. Для того чтобы передать какое-то количество информации, вам нужна кодировка, которая может быть обработана и понята человеческим мозгом, и я полагаю, что существует более или менее естественный предел того, насколько "сжатой" может быть информация, прежде чем она станет непонятной для среднего человека. Если вы сравните переводы длинных текстов на разные языки и системы письма, вы заметите, что все они примерно одинаковы по длине. Некоторые немного длиннее, некоторые немного короче, но в целом это одна и та же величина. Не то чтобы одно и то же содержание можно было выразить на одном языке в несколько раз лаконичнее, чем на другом.

-- Japanese translation by deepl.com | another eastern language with sings --

いや、荒らしているわけではありません。これは正直に私の本当の意見です。

そして、私は「より効率的な」議論を信じていません。以前、そのように言われたことがありますが、私はかなりの数の翻訳で遊んでみて、中国語の文章は英語やドイツ語よりも「効率的」ではない、という結論に達しました。20%から最大で25%程度です。~25%程度です。それは大きな勝利ではありません。

結局のところ、それは私にとって驚くべきことでもないのです。ある程度の情報量を得るには、人間の脳が処理し理解できるエンコーディングが必要で、平均的な人間にとって理解不能になる前に情報を「圧縮」できる自然な限界というものが多かれ少なかれあるのでしょう。異なる言語や文字体系で書かれた長い文章の翻訳を比較すると、どの文章も多かれ少なかれ同じ長さであることに気づきます。少し長いものもあれば、少し短いものもありますが、全体として同じ大きさなのです。同じ内容でも、ある言語では別の言語より数倍簡潔に表現できるわけではないのです。

----

My conclusion: Yes, Chinese is the most compact one. But like I've said, it's the typical ~25% less, so not a big difference. To my surprise Japanese is almost as "chatty" as German. (But OK, their writing system—or better said their three mixed writing systems—is even more crazy than Chinese, which is at least somehow consequent, even that's historically not true). It's also interesting to see that Korean seems to strive a very good balance. It's quite concise, but the writing system is much much simpler than the Chinese or Japanese one.

The other thing is how long it would take to read the text aloud in all the different languages. Chinese is quite concise when written, yes, but it's actually not when spoken out. Reading even a few signs aloud takes some time…

Re:Open-source high-performance RISC-V processor by tomcam on Sunday March 26, 2023 @07:51PM (#35321024)
Sorry, I guess I misunderstood your idea. I meant Simplified Chinese is more compact than Pinyin.
Re:Open-source high-performance RISC-V processor by still_grokking on Sunday March 26, 2023 @08:21PM (#35321284)
Sure it is! But Pinyin is more or less what you need to spell out, and there you can see that Chinese is actually not a very "compact" language. But it makes no big difference at all, imho. Human languages seem to have a more or less common "information density".

My point is: I would really like to learn the language. But the writing system is just off-putting.

This is imho an unnecessary high barrier to entry. OTOH I can understand why it isn't an issue for China. They don't "need" any foreigners. They have enough people.

Re:Open-source high-performance RISC-V processor by geysersam on Sunday March 26, 2023 @08:31PM (#35321366)
Honestly learning mandarin is not as difficult as you might think. There's a lot of structure and rules that allow you to "memorize thousands of signs".

Of course it requires work, it's a language that's very different from English.

Also, the ROI (in terms of new potential conversation partners) is probably larger for mandarin than for any other language just because of its sheer size and non-overlap with English speakers.

Re:Open-source high-performance RISC-V processor by freeopinion on Sunday March 26, 2023 @10:42PM (#35322277)
--Japanese translation by deepl.com modified by me.--

いいえ。トロールではありません。本当の意見です。

24 characters compared to 35 in translation posted above. I think it is a better translation but not because of the written language. I think it is more idiomatic of how a native person would speak, though I am not a native speaker and others more knowledgeable may disagree.

My point is that you should not judge from the alphabet or dictionary how concise a language is. And you certainly should not go off a saas translation (although I think deepl is very good).

Now back to the topic of high performance CPUs...

Re:Open-source high-performance RISC-V processor by fspeech on Tuesday March 28, 2023 @01:26PM (#35344677)
The person you're responding to already mentioned variations in pronunciation. There's also the problem of homophones. Then there's the even bigger problem of reading speed. You can comprehend a lot at a glance with characters, which you can't do with pinyin due to homophones. And the biggest problem is losing access to existing literature. While the 繁体/简体 gap can be easily overcome, at least for reading, the character pinyin gap is pretty much impossible to bridge.
Re:Open-source high-performance RISC-V processor by copymoro on Sunday March 26, 2023 @09:15PM (#35321733)
oh no! you're going to have to scroll!

it's not like you need more materials of any sort to deal with a 400% increase in the space occupied by text

Re:Open-source high-performance RISC-V processor by dontlaugh on Monday March 27, 2023 @07:22AM (#35325261)
Hanzi is necessary because there are many regional dialects with significantly different pronunciation (and thus different pinyin, or even none), but mostly the same spelling.

It takes a while to learn for sure, but it's not that hard. The relationship between the written and spoken language isn't that much worse than in English. And at least the grammar is trivial.

Re:Open-source high-performance RISC-V processor by tomcam on Sunday March 26, 2023 @06:52PM (#35320562)
Yeah no. The education system you’re referring to is optimized strictly for performance on standardized tests. From a very early age kids are trained to answer test questions, not to understand those questions or how to apply them in real life. It has been this way in China for thousands of years; their civil service exams were the only way to move ahead of your station in life without connections.

Innovating is not done in polite company in China. If you come up with a clever new way of doing something, there is an extremely high possibility that your superiors will suppress it on the off chance that it could embarrass them (“lose face“).

These big long term plans you’re referring to exist, but in the plane of reality you imagine. There is nothing like a meritocracy in the CCP. That is even more true now than 10 years ago, because Xi has systematically removed dissenting voices in what you have heard is an anti-corruption campaign. Companies like Blackrock and Boeing are breathtakingly corrupt and are taking us taxpayers for a huge ride. But they can usually do a pretty competent job of getting the job done. They are run by technocrats, who often have an engineering background.

Imagine if the top 10 levels or so of any of these companies were nothing but connected people and their friends and children. That’s what happens to all of these projects in China. China can’t build a 5m chip or a new type of wing or a useful new programming language. Most of the people who could even do that job are either out of the country or unable to be recognized for their work.

Re:Open-source high-performance RISC-V processor by cft on Sunday March 26, 2023 @07:43PM (#35320973)
We are doing well then by abandoning SAT. Fruits soon to be ripped.

https://www.npr.org/2023/03/26/1164832694/to-help-new-studen...

Re:Open-source high-performance RISC-V processor by sanxiyn on Sunday March 26, 2023 @08:02PM (#35321130)
> China can't build a 5 nm chip or a new type of wing or a useful new programming language.

You are saying this in a reply to the post to open source RTL of high performance CPU from China?

China also can demonstrably build a competitive distributed database like TiDB. I think PL vs DB boils down to that it is hard to create a profitable business building PL, compared to a profitable business building DB.

Re:Open-source high-performance RISC-V processor by unmole on Monday March 27, 2023 @01:34PM (#35329656)
Have you lived in China? Or worked for a Chinese company? Have you spoken to Chinese engineers about how they work?

I'm asking because your comment reads like culture essentialist bullshit that doesn't match my experience.

Re:Open-source high-performance RISC-V processor by tomcam on Tuesday March 28, 2023 @01:06AM (#35336163)
Vast majority of my family is Chinese nationals, many of them software engineers, EEs, mathematicians. Have done extensive business in China, mostly real estate. Not getting into any more detail publicly.

I don't know what "culture essentialist" means, sorry. And it's good to hear your experience is unusual. I'm quite surprised. But the simple fact is conformity is treasured in China, and has been for untold generations.

Re:Open-source high-performance RISC-V processor by newuser94303 on Sunday March 26, 2023 @07:52PM (#35321031)
The US has always made up for it's poor planning and educational system by accepting immigrants. SV is full of immigrants. By limiting immigrants, the US is limiting it's best advantage.

It is not like Washington is going to stop fighting culture wars and stabbing each other in the back.

Re:Open-source high-performance RISC-V processor by rayiner on Sunday March 26, 2023 @08:56PM (#35321570)
That’s complete historical revisionism. Historically, america took in the poorest and least educated immigrants. There was a major influx of highly educated German immigrants during World War II, but the modern system of skilled immigration through H1B didn’t exist until 1990.
Re:Open-source high-performance RISC-V processor by copymoro on Sunday March 26, 2023 @09:15PM (#35321727)
immigrants which mostly arrived BEFORE 1990... I don't actually see contradictions between your comment and the parent you're replying to.
Re:Open-source high-performance RISC-V processor by rayiner on Sunday March 26, 2023 @11:44PM (#35322633)
The parent comment said that america always made up for its poor educational system by accepting immigrants, and then used SV as an example. But having educated immigrants is a relatively recent phenomenon. Nearly all immigrants before H1B were refugees or poor and poorly educated.

You’d be surprised how relatively recently most of the skilled immigrant groups have been in the US. In 1990 there were 781,000 Indian Americans. Today there are 2,800,000. The non-Hispanic white population grew 8% over that time (and birth rates aren’t any higher among Indian Americans). The other 1.95 million or so are immigrants and their kids who came here after 1990.

Re:Open-source high-performance RISC-V processor by Steltek on Sunday March 26, 2023 @08:41PM (#35321445)
> In China all knowledge is in fact a big open source scheme.

This is not strictly true. Witness anyone trying to get a Chinese company to produce GPL source code or contribute back. Open source is something to be taken for free and we don't need to worry about silly obligations, moral or otherwise.

I think a more accurate statement is "patents and copyrights do not functionally exist in China" so open source is synonymous with "public domain". Some try to protect their work through encryption or DRM, to give them a head start on the clones that will inevitably follow but that's not the same thing at all.

Re:Open-source high-performance RISC-V processor by hahamaster on Sunday March 26, 2023 @09:41PM (#35321890)
> If one Chinese company will develop something, you can bet the rest will learn that fast and will use it in the next economic cycle.

Where exactly is an incentive for a Chinese private company to share its knowledge with other private or state companies?

Re:Open-source high-performance RISC-V processor by MangoCoffee on Monday March 27, 2023 @04:50AM (#35324391)
>they have one of best education systems, they try to educate as much people as possible

"Approximately 500 million people in China, or 70% of the labor force, do not have a high school education. By this metric, China is the least educated middle-income economy in the world"

https://sccei.fsi.stanford.edu/china-briefs/invisible-china-...

from standford 2021

Re:Open-source high-performance RISC-V processor by panick21_ on Monday March 27, 2023 @06:18AM (#35324870)
I think you are extrapolating from to few cases to something that is way broad.

How do you know China is successful because if its investing in education and research. Maybe it was investment in housing. Or transportation. Or whatever. Economists do not agree on the relative importance in those things.

> they invest more than any other country in research

Is that true in per-captia terms, because I don't think so.

> If one Chinese company will develop something, you can bet the rest will learn that fast

This is like cooperating companies here. They might talk a big game but we all no that there is a huge amount of internal infighting.

The same kind of things were said about the Soviet Union. "Oh look at the cooperation" but when we actually got the documents, what it showed was bitter infighting.

So I would be careful with claims that all these companies are just perfectly willing to share all their technology even if you assume the all belong to CPP memebers.

> In China all knowledge is in fact a big open source scheme.

That sound like you are projecting. I have seen no evidence that this is the case.

Maybe China isn't that special. Maybe its just late to the party and is really fucking damn big with a huge amounts of people and resources. Once the US was reasonably poor and then it grew as fast as anybody ever had in history, and it didn't have massive state driven education and industrial policy and yet by the 1910s it was matching Britain and Germany in many things.

Before that Britain was matched an partly overtaken by Germany. And it looked like Germany was magic because its companies were organized by the state in corporatism fashion. Yes they also invested in education, infrastructure and research. But its not a magic pill and the companies in Germany were just as competitive against each other as those in Britain.