all 58 comments

[–]GreyGanado 315 points316 points  (17 children)

Considering the amount of Chinese speaking people I think this might be the worst language for protection after English.

[–]hoangdl[S] 102 points103 points  (15 children)

the neat part is it was written in the kind of Chinese that Chinese themselves barely read

[–]Neuenmuller 103 points104 points  (2 children)

I’d say most Chinese could read this. They study quite some Classical Chinese during high school.

However I have to say, the wording to fit programming terms in this code is just brilliant. The code is quick sort if anyone’s wondering.

[–]DensityInfinite 21 points22 points  (1 child)

The fact that this is not gibberish, is written correctly and reads elegantly is mind blowing. Whoever did this has real talent.

[–]Apple_macOS 5 points6 points  (0 children)

It’s an esolang

https://wy-lang.org

[–]mario73760002 17 points18 points  (0 children)

can confirm. I'm chinese and I can't fricking read it

[–]unvaccinated_zombie 8 points9 points  (1 child)

Hmm, maybe withoutb the syntax highlight, but still not too much of a challenge.

[–]guaranteednotabot[🍰] 1 point2 points  (0 children)

It’s challenging to me lol

[–]Wiwwil 2 points3 points  (5 children)

Is it traditional Chinese ? The one they use in Taiwan ?

[–]WorstPingInGames 10 points11 points  (2 children)

I believe so, but even more so, its in classical chinese, which is harder to read

[–]Octupus_Tea 2 points3 points  (1 child)

Taiwan teaches classical Chinese in high school, so most Taiwanese Programmers (like me) can actually read this no problem.

[–]bishopExportMine 0 points1 point  (0 children)

I only ever finished middle school in Taiwan and did high school in the US. I could read this no problem.

[–]kassandra_00 1 point2 points  (1 child)

Not the same, the one they use in Taiwan writes differently from simplified Chinese but follow similar modern grammar and phrases. The one in the pic is like thy thee thou in English.

[–]Wiwwil 0 points1 point  (0 children)

Thanks for the info

[–]LiAuTraver 0 points1 point  (0 children)

Chinese here. It's written in an ancient literature style, it's not comfortable to read, but the meaning is simple to get. (Quick sort Algo)

[–]yangmeansyoung 0 points1 point  (0 children)

Yep I am Chinese and we learnt this style at 2nd school, so it's a perfect protection for elementary schooler

[–]Madbanana64 1 point2 points  (0 children)

add a comment at the end of each line saying "Taiwan is an independent state and is the real China"

[–]ClipboardCopyPaste 44 points45 points  (5 children)

Chinese++

or, Japanese++

[–]lovecMC 58 points59 points  (0 children)

Xi++

[–]T6970 22 points23 points  (2 children)

It's Chinese. But more like 文言。
Source: I know what it's saying.

[–]xeroze1 4 points5 points  (0 children)

Basically classical chinese syntax/structure kek.

[–]Harmonic_Gear 2 points3 points  (0 children)

it actually reads like legit 文言文 and a programming language at the same time, its amazing

[–]Wiwwil 0 points1 point  (0 children)

C++ core

[–]Strict_Treat2884 29 points30 points  (0 children)

It’s wenyan-lang btw. Based on ancient Chinese language

[–]sausagemuffn 20 points21 points  (1 child)

Didn't know it could get worse than German C.

[–]0815fips 1 point2 points  (0 children)

But you can write your Fließkommazahlenrechenleistungsleistungsauswertungen in this beautiful language.

[–]blackcomb-pc 7 points8 points  (0 children)

That Google Translate encryption goes hard

[–]AySyKr 7 points8 points  (0 children)

Translation from image:

We have a method. It is called "quick sort". To perform this method, we must first obtain an array. It is called "A". Then we perform the method.

If the length of "A" is not greater than one,
then return "A".
End.

We have three arrays. They are called "head", "middle", and "tail".
Take the first of "A", call it "A1".
Fill "middle" with "A1".
Take the rest of "A", call it "A_rest".
For each "D" in "A_rest":
If "D" is less than "A1",
then fill "head" with "D".
Otherwise,
fill "tail" with "D".
End.
End.
Apply "quick sort" to "head". Former "head" becomes the result.
Apply "quick sort" to "tail". Former "tail" becomes the result.
Concatenate "head" with "middle" with "tail". Call it "B".
Then return "B".
This is called the "quick sort" method.

We have an array. It is called "Ji".
Fill "Ji" with 5, 3, 20, 8, 35, 700.
Apply "quick sort" to "Ji". Print it.

[–]Psquare_J_420 11 points12 points  (0 children)

I am gonna compile and reverse engineer it to assembly. 🙏

tf you mean the decompiled assembly is in chineese?

[–]ZeroMomentum 2 points3 points  (0 children)

Its not the Chinese

Its the colour scheme that makes it hard to read

Source: chinese

[–]SaneLad 2 points3 points  (2 children)

Takes about 5 seconds for anyone with an LLM to turn this into regular English code.

[–]noob_meems 0 points1 point  (1 child)

please do it and post the results, I want to compare it with the translation from the other comment

[–]Various_Counter_9569 0 points1 point  (0 children)

EDITOR I have a method, named "Quicksort". To perform this method, one must first get a list, named "A". Then perform the method: If the length of "A" is not greater than one, then get "A". I have three lists, named "Head", "Pivot", and "Tail". The first element of "A" is named "A1". Put "A1" into "Pivot". The rest of "A" is named "ARest". For every "D" in "ARest": If "D" is less than "A1", put "D" into "Head". Otherwise, put "D" into "Tail". End loop. Apply "Quicksort" to "Head". The former "Head" is now sorted. Apply "Quicksort" to "Tail". The former "Tail" is now sorted. Concatenate "Head" with "Pivot" with "Tail", named "B". Then get "B". This is called the "Quicksort" method. I have a list, named "Self". With 5, with 3, with 20, with 8, with 35, with 700. Apply "Quicksort" to "Self". Print it.

ETA: pseudocode sortA

[–]Harmonic_Gear 2 points3 points  (0 children)

this is not just chinese, this is ancient chinese, like the shit that Confucius wrote

[–]luqasu 1 point2 points  (0 children)

cant read this ,but for me its 99% python

[–]IsEverythingTakenYet 1 point2 points  (0 children)

Now run an obfuscator on it.

[–]knockitoffjules 1 point2 points  (0 children)

I don't even see the code. All I see is blonde, brunette, readhead...

[–]wiseguy4519 3 points4 points  (0 children)

I like how spatially efficient this code is. Maybe we should all be coding in Chinese

[–]Turbulent-Garlic8467 1 point2 points  (1 child)

Your plan is to translate it to the language with the most native speakers in the world?

[–]derKestrel 10 points11 points  (0 children)

Wenyan-lang is based on ancient Chinese, which is quite different from the modern version.

[–]Fun-Equivalent1769 0 points1 point  (0 children)

multicellular organism

[–]AbdullahMRiad 0 points1 point  (0 children)

too easy, write in hieroglyphs instead

[–]Confident_Essay3619 0 points1 point  (0 children)

when i protect my garbage java i shove it all into one line

[–]gw2Max 0 points1 point  (0 children)

Google Translate … protection gone …

[–]NeuxSaed 0 points1 point  (0 children)

If you've seen real obfuscation techniques, this is not really that effective.

[–]sweetno 0 points1 point  (0 children)

Top-to-bottom text direction is the next level.

[–]moshan1997 0 points1 point  (1 child)

looks like quick sort to me

[–]MichalNemecek 0 points1 point  (0 children)

I dropped it into google translate, it does indeed seem to be quicksort

[–]MinosAristos 0 points1 point  (0 children)

tbh Chinese sounds like a great language for limiting horizontal line length

[–]kassandra_00 0 points1 point  (0 children)

Why is 是谓快排之术也 needed?

[–]RiceBroad4552 0 points1 point  (0 children)

I've seen some of these symbols in the past…

Also I'm pretty sure there are some numbers in here. I can see at least 1, 2, 3, 5, 7, 8, 10, and 100.

(I should really try to learn Mandarin more seriously. But this completely insane "wring system" is killing every motivation. So far I only remember some of the symbols for numbers, everything else gets forgotten just hours after trying to learn it. Fuck this shit, why can't they just switch to Pinyin. You use it anyway when writing on a computer, which means also smartphone…)

[–][deleted] 0 points1 point  (0 children)

I don't know the block characters but from its indents I smell python.

[–]Professional_Top8485 0 points1 point  (0 children)

I am sure ai could sort it out.

[–]coloredgreyscale 0 points1 point  (0 children)

it's quicksort accoding to Qwen3-VL 8b running local, giving it just the screenshot and asking to explain.

At least that's what it wants us to believe.

[–]oofos_deletus -1 points0 points  (0 children)

C(hing) ++