amp-web-push-widget button.amp-subscribe { display: inline-flex; align-items: center; border-radius: 5px; border: 0; box-sizing: border-box; margin: 0; padding: 10px 15px; cursor: pointer; outline: none; font-size: 15px; font-weight: 500; background: #4A90E2; margin-top: 7px; color: white; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .amp-logo amp-img{width:190px} .amp-menu input{display:none;}.amp-menu li.menu-item-has-children ul{display:none;}.amp-menu li{position:relative;display:block;}.amp-menu > li a{display:block;} /* Inline styles */ img.acss139cf{background-color:#0866FF;}img.acss6ea51{background-color:#12AF0A;}img.acss43e08{background-color:#888990;}img.acss69ec8{background-color:#1A1A1A;}img.acssc8f88{background-color:#0166ff;}div.acss138d7{clear:both;}div.acssf5b84{--relposth-columns:3;--relposth-columns_m:2;--relposth-columns_t:2;}div.acss0c357{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2020/04/microsoft-launches-a-grammarly-alternative-also-available-as-a-chrome-extension-529609-2-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss6bdea{color:#333333;font-family:Arial;font-size:12px;height:75px;}div.acsscdf4e{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2024/06/Apple-WWDC24-macOS-Sequoia-Passwords-app-240610_big.jpg.large_2x-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acssf6f73{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2019/12/2020-iphone-battery-up-because-of-this_00-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss70efa{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2023/05/pixel-fold-hero-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;} .ai-align-left * {margin: 0 auto 0 0; text-align: left;} .ai-align-right * {margin: 0 0 0 auto; text-align: right;} .ai-center * {margin: 0 auto; text-align: center; } .icon-widgets:before {content: "\e1bd";}.icon-search:before {content: "\e8b6";}.icon-shopping-cart:after {content: "\e8cc";}
即時新聞

中國成功自主開發編程語言「木蘭」! 卻被踢爆抄襲 Python!

講起「木蘭」,不少香港人會想起(或決定杯葛)劉亦菲飾演的迪士尼《花木蘭》電影,但最近在中國科技界講起的「木蘭」,卻是編程語言的一個「自主創新」……醜聞。

中科院計算所編譯實驗室最近發佈自家開發的編程語言「木蘭」,聲稱是自主開發、易學、易教、強兼容、支援人工智能和物聯網、支援 iOS/Android/Linux/Windows 跨平台操作、支援龍芯、寒武紀等中國國產處理等等,他們更即席示範利用「木蘭」捉圍棋(下圖),顯示這編程語言的能力。在美國限制出口中國 AI 軟件的時候,不少中國人編程界人士對「木蘭」的出現均感到高興,感到中國人起來了,有了自家編程語言,什麼美帝制裁也不怕。[the_ad_placement id=”ad2″]

「木蘭」被踢爆只是換皮的 Python

其中一位名為「沈迷單車的追風少年」的開發者心頭一震,覺得「木蘭」「看起來很牛逼,於是下載看看」,可是他開始發覺不妥,一個 8.4MB 的檔案也要下載超過 10 分鐘之外,下載完了,「一看圖標就覺得不對勁,這不明顯是 pyinstall 打包的嗎?」 [the_ad_placement id=”ad2″]

隨後他在 MS-DOS 模式發現大量類似 Python 函數,而且沒有加密,破解之後卻出現了大量 pyd 檔案,而 pyd 檔案正正就是 Python 常見的語言格式。原來,自主開發的「木蘭」只是 Python 的換皮版本…… [the_ad_placement id=”ad2″][the_ad_placement id=”ad2″]

開發者劉雷被起底後終道歉

中國有不少從外國的系統底層再開發的操作系統,例如建基於 Linux 的紅旗、建基於 Android 系統(加 iOS 介面)的小米 MIUI 等等,但將 Python 換皮改名然後講成自家開發的,已經令中國開發者質疑這不是真的「自主創新」,網民更憂慮這事件會像漢芯事件般令公眾失去對中國國產科技的信心。
[the_ad_placement id=”ad2″]

結果,網民透過起底找到「木蘭」編程語言的開發者,他是中科院的劉雷,除了是中科院計算所編譯實驗室的員工之外,還是一家持有中科智芯(北京)科技有限公司 70% 的中科編易(北京)科技有限公司的大股東。最後在眾怒難犯之下,劉雷在中國青年報的訪問之中承認「木蘭」編程語言只是用於中小學教育,用於人工智能這點存有誇大成份,並願意為此道歉。
[the_ad_placement id=”ad2″]

PLAN

曾是過去 PC3 雜誌記者,現時是 PC3 網站的編輯,渡過接近 10 年科技媒體生涯,至今依然為大家提供科技和生活資訊