跳转至内容

Arch 是最好的

来自 ArchWiki

Arch is the best 是一个非常复杂且精致、令人自我膨胀且思维震撼(尽管可能有点过度工程化)的项目,它证明了 Arch 的优越性。

历史

这个富有远见的项目最初由 Arch 社区长期成员 lucke 于 2008 年 4 月构思,作为一个简单的 shell 脚本,提供了“Arch is the best”的无可辩驳的证据。它通过一篇论坛帖子向世界宣布,从而启迪了其他人的思想。他们立即开始将其移植到多种不同的语言中,包括编程语言和自然语言,以便地球上的每一个生命都能充分领略并从这一革命性的发现中受益。

代码

“Arch is the best”项目已被移植到许多编程语言中。

1C:Enterprise
一种类似于 VisualBasic 的程序化领域特定编译型动态类型编程语言,广泛用于俄罗斯及其他独联体(Commonwealth of Independent States)国家的“1C:Enterprise”产品中。
Предупреждение("Arch is the best!");
ABAP
高级商业应用程序编程语言。
REPORT zwhat_is_the_best.
WRITE 'Arch is the best'.
Ada
一种系统关键型编程语言。
with Ada.Text_IO;
use Ada.Text_IO;
procedure ArchIsTheBest is
begin
   Put_Line("Arch is the best!");
end ArchIsTheBest;
Agda
一种依赖类型编程语言和证明助手。
open import IO
main = run (putStrLn "Arch is the best!")
아희 (Aheui)
第一个为韩文设计的深奥编程语言。
밞밝따박다맣밬밙따밠따밢다맣밮밤따밦따밪다맣밞밤다밣따맣밣밫따맣밬밚따밠따맣밤발따받다밚따맣밣밥따맣밙밚따밨다밮따맣밡밥다밣따맣밖밮따밦따밚다맣밣밖따맣밣밣따반다맣밥밨따밦따밙다맣밭발따밬다발따맣발밚따밭다밭따맣밦발다받따맣희
APL
一种编程语言 (A Programming Language)。
'Arch is the best!'
AppleScript
由 Apple Inc. 创建的脚本语言,自 System 7 起内置于经典 Mac OS 中,并内置于所有 macOS 版本中。
display alert "Arch is the best!"
say "Indeed, Arch is the best."
ArnoldC
基于阿诺德·施瓦辛格电影台词的编程语言。
IT'S SHOWTIME
TALK TO THE HAND "Arch is the best!"
YOU HAVE BEEN TERMINATED
ATS
一种使用依赖类型来提高程序可靠性的函数式编程语言。
implement main () = println! "Arch is the best!"
Awk
一种专为处理文本数据而设计的数据驱动编程语言。
BEGIN {
   print "Arch is the best!"
}
BASIC
一种脚本语言,是 1960 年代最常用的计算机编程语言之一,被认为是学生在学习 FORTRAN 等更强大语言之前的一个简单过渡。
10 PRINT "Arch is the best!"
Batch
一种用于 Windows 的脚本语言,可用于自动化任务或仅仅是找点乐子。
@echo off
echo Arch is the best!
pause
Befunge
被认为是第一个二维、基于 ASCII 的通用编程语言(意义在于“你可以合理地用它编写《猎杀沃姆普斯》”)。
<v"Arch is the best!"0
 <,_@#:
BIRL
类似于 ArnoldC,但针对的是 Bambam[1]
HORA DO SHOW
    CE QUER VER ESSA PORRA? ("Arch is the best!\n");
    BORA CUMPADE 0;
BIRL
Boo
一种成熟的面向对象静态类型编程语言,适用于 .NET 和 Mono,具有受 Python 启发的语法,并通过宏和自定义编译管道等语言和编译器扩展特性,特别关注元编程。
print "Arch is the best!"
Boolfuck
基于 brainfuck 的图灵焦油坑,但仅在位 (bits) 上操作。
+;+;;;;;+;+; ;+;+;;+;;;+; +;;+;;;+;;+; ;;;+;+;+;;+;
;;;;;+;+;;
+;+;;+;+;+;;+; +;;+;;+;;;+;
;;;;;+;+;;
;;+;+;+;;;+; ;;;+;+;+;;+; +;+;+;+;;+;;+;
;;;;;+;+;;
;+;+;;;+;;+; +;+;+;+;;+;;+; +;;+;;+;;;+; ;;+;+;+;;;+;
+;+;;;;+;+;;
Bourne shell
原始程序,应与任何 shell 兼容。
#!/bin/sh
echo "Arch is the best!"
Bourne shell (备选)
便于将输出通过管道传输到您喜欢的 IRC/电子邮件/IM 客户端。应适用于任何 shell。
#!/bin/sh
yes Arch is the best!
brainfuck
语言名字本身不就说明了一切吗?
++>++++++>+++++<+[>[->+<]<->++++++++++<]>>.<[-]>[-<++>]
<----------------.---------------.+++++.<+++[-<++++++++++>]<.
>>+.++++++++++.<<.>>+.------------.---.<<.>>---.
+++.++++++++++++++.+.<<+.[-]++++++++++.
C
注意该项目使用的三个空格缩进,就像其他高等生物所使用的一样。
#include <stdio.h>
int main(void)
{
   puts("Arch is the best!");
   return 0;
}
C#
旨在成为一种简单、现代、通用的面向对象编程语言。
using System;
Console.WriteLine ("Arch is the best!");
C++ (C++23 之前)
Arch == ++Linux
#include <iostream>
int main ()
{
   std::cout << "Arch is the best!\n";
}
C++23
新的 C++ 标准。
import std;
int main()
{
    std::println("Arch is the best!");
}
C3
C 的符合人体工程学、安全且熟悉的演进。
import std::io;
fn void main() {
   io::printn("Arch is the best!");
}
COBOL
一种简单、轻量级的编程语言。
    IDENTIFICATION DIVISION.
    PROGRAM-ID.  TheBest.

    PROCEDURE DIVISION.
        DISPLAY "Arch is the best!".
        STOP RUN.
CoffeeScript
一种转译为 JavaScript 的编程语言。
alert 'Arch is the best!'
Clojure
一种运行在 JVM 上的 Lisp 方言。
(prn "Arch is the best!")
Common Lisp
一种 Lisp 方言
(princ "Arch is the best!")
Crystal
一种面向对象的、类似 Ruby 的语言。
puts "Arch is the best!"
Crystal (通过 Web 服务器)
用于同时向多个朋友发布消息。
# For giving the message to your friends
require "http/server"

server = HTTP::Server.new(80) do |context|
  context.response.content_type = "text/plain"
    context.response.print "Arch is the best!"
end

puts "Listening."
server.listen
csh
一种类似 C 的 shell。
#!/bin/csh
echo "Arch is the best!"
CSS
一种样式表语言,主要用于设置网页样式。
body * {
    display: none;
}

body::before {
    content: "Arch is the best!";
    font-family: monospace;
    font-size: 2.7rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
CVC5
来自斯坦福大学和爱荷华大学的 SMT 求解器。
(set-logic QF_SLIA)
(set-info :status sat)
(set-option :produce-models true)
(define-const arch String "Arch is the best")
(declare-fun result () String)
(assert (= arch result))
(check-sat)

(get-value (result))


D
一种 C 风格的语言。拥有事后诸葛亮的优势,并配备现代化的便利设施。
 import std.stdio : writeln;
 void main()
 {
     writeln("Arch is the best");
 }
Dafny
一种具有验证意识的编程语言。
 method Main() {
     print "Arch is the best!";
 }
Dart
Google 的 JavaScript 杀手。
 main(){
   print('Arch is the best');
 }
DreamBerd
一种完美的编程语言。
 print("Arch is the best")!

或者更好

 const const const arch = "the best"!
Dogescript
Doge 友好的 JavaScript。
 console.loge with '                So Arch'
 console.loge with '     Much Good'
 console.loge with '                          Wow'
Ebuild
Gentoo 的构建脚本格式。
DESCRIPTION="Arch is the best!"
SRC_URI="https://wiki.archlinux.org.cn/index.php/Arch_is_the_best"

LICENSE="GFDL_1.3"
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND=""
RDEPEND=""

src_compile() {
einfo "Arch is the best!"
}
Enkelt
基于 Python,但语法是瑞典语。
skriv ("Arch är bäst!)
Emacs Lisp
GNU Emacs 和 XEmacs 文本编辑器使用的 Lisp 编程语言的一种方言。
 (message "Arch is the best!")
Emojicode
一种无分隔符、面向对象、命令式、高级、混合语言,使用表情符号作为定点和方法。
🏁 🍇
    😀 🔤Arch is the best!🔤❗️
🍉
Elixir
一种旨在构建可扩展且可维护应用程序的动态函数式语言。
IO.puts "Arch is the best!"
Erlang
一种并发的、垃圾回收的编程语言和运行时系统。
-module(arch).
-export([is_the_best/0]).
   is_the_best() -> io:fwrite("Arch is the best!\n").
或在进程之间使用消息传递。
 -module(arch).
 -export([ultimate_question/0,the_answer/0]).
 the_answer() ->
     receive
         {Client,who_is_the_best} ->
             Client ! {self(),"Arch is the best!"};
         {Client,_} ->
             Client ! {self(),"Taco Taco Taco!"}
     end,
     the_answer().
 ultimate_question() ->
     Pid = spawn(arch,the_answer,[]),
     Pid ! {self(),who_is_the_best},
     receive
         {Pid,Response} -> io:format("~s~n",[Response])
     end.
Esofur
一种毛茸茸主题的深奥语言 (esolang)。
OwO What's This?
Notices Your Distro
"Arch is the best" Pounces On Distro
Howl Distro
QwQ
F#
一种强类型的、函数式优先的编程语言,用于编写简单的代码来解决复杂的问题。
printfn "Arch is the best!"
Factor
高级栈式语言。
"Arch is the best" print
FIM++
一种冗长的、命令式的、动态类型的解释型语言,可以使用 Java 类。
Dear Princess Celestia: Letter About Arch Linux.
Today I learned:
    I wrote "Arch is the best!".
Your faithful student, Twilight Sparkle
Fish
用户友好的命令行 shell。
 function arch_is_the_best --on-event fish_prompt
   echo -ne "\e[94mArch is the best!\e[0m"
 end
Forth
栈式语言。
." Arch is the best" cr -- kiss way
Fortran95
program arch
   print *,"Arch is the best!"
end program arch
Gallina
交互式定理证明器 Coq 的规范语言。
Require Import String.
Open Scope string_scope.
Compute ("Arch is the best!").
GDScript
一种为 Godot 构建的高级、面向对象、命令式且逐步类型的编程语言。
print("Arch is the best!")
Genie
一种新的编程语言,它允许更现代的编程风格,同时能够毫不费力地原生创建和使用 GObjects。
init
 print "Arch is the best"
Gjs
GNOME 的 Javascript 绑定。它主要基于 Spidermonkey javascript 引擎和 GObject 自省框架。
#!/usr/bin/env gjs
print ('Arch is the best');
Gleam
一种快速、友好且函数式的语言,用于构建类型安全、可扩展的系统。
import gleam/io

pub fn main() {
  io.println("Arch is the best!")
}
Go
由 Google 创建的语言,是 C、C++ 和 Python 的结晶。
package main

import "fmt"

func main() {
	fmt.Println("Arch is the best!")
}
Groovy
一种适用于 Java 虚拟机的敏捷且动态的语言。
println 'Arch is the best!' 
Guile
GNU Ubiquitous Intelligent Language for Extensions(GNU 通用智能扩展语言)。一种可移植、可嵌入的 Scheme 实现。
#!/usr/local/bin/guile -s
!#
(display "Arch is the best!")
(newline)
Hare
一种旨在简单、稳定和健壮的系统编程语言。
use fmt;

export fn main() void = {
    fmt::println("Arch is the best!")!;
};
Haskell
IO 简单且无问题的语言。
main = putStrLn "Arch is the best!"
Haxe
一种基于 ActionScript 的面向对象语言,具有函数式风味。
package;

class Main {
   public static function main() {
       Sys.println("Arch is the best!");
   }
}
Hexagony
Hexagony 是一种在六边形网格上的二维深奥编程语言。
    A ; r ; c
   < l i n u x
  > ; b ; e ; s
 \ 2 3 * ; e ; h
; h ; * 3 2 ; i ;
 ; G N U @ ; < /
  ; t ; * 3 3 /
   ; t ; 2 < /
    s ; * 3 /
HolyC
由 Terry A. Davis 创建的有趣娱乐编程语言,用于构建 TempleOS。
"Arch is the best!\n";
HTML
一种用于创建和定义网页及其内容的标记语言。
<!DOCTYPE html>
<html lang='en'>
   <head>
      <title>Arch is the best!</title>
   </head>
   <body>
       

Arch is the best!

</body> </html>
I use Arch btw (顺便说一下我用 Arch)
一种基于 brainfuck 的编程语言,其命令是 "i", "use", "arch", "linux", "btw", "by", "the", "way" 和 "gentoo"。
arch arch arch arch arch the i arch arch arch arch arch arch arch arch arch arch arch arch arch use linux way i btw the linux way i arch arch arch arch arch arch arch the use arch arch arch arch arch arch arch arch arch arch arch arch arch arch arch arch i linux way use arch arch btw linux linux linux linux linux linux linux linux linux linux linux linux linux linux linux btw arch arch arch arch arch btw i i arch arch arch arch arch arch arch arch the use arch arch arch arch i linux way use btw use arch btw arch arch arch arch arch arch arch arch arch arch btw i btw use arch btw linux linux linux linux linux linux linux linux linux linux linux linux btw linux linux linux btw i btw use linux linux linux btw arch arch arch btw arch arch arch arch arch arch arch arch arch arch arch arch arch arch btw arch btw i arch btw i arch arch arch arch arch arch arch arch arch arch btw
Idris
一种具有依赖类型的通用纯函数式编程语言。Haskell,但更疯狂。
module Main

main : IO ()
main = putStrLn "Arch is the best!"
initcpio
初始 ramdisk 环境

hook

#/bin/bash
run_hook() {
    echo "Arch is the best"
}

install

install() {
   inst_hook "$moddir/arch_is_the_best" "$hookdir/arch_is_the_best"
}

build() {
    add_runscript
}


INTERCAL
“由两名至今仍试图掩盖这段历史的黑客于 1972 年 5 月的一个清晨设计。”
PLEASE NOTE THAT THIS WAS MADE FOR C-INTERCAL
       DO ,10 <- #18
       DO ,10SUB#1 <- #126
       DO ,10SUB#2 <- #52
       DO ,10SUB#3 <- #136
PLEASE DO ,10SUB#4 <- #176
       DO ,10SUB#5 <- #18
       DO ,10SUB#6 <- #110
       DO ,10SUB#7 <- #200
PLEASE DO ,10SUB#8 <- #202
       DO ,10SUB#9 <- #214
       DO ,10SUB#10 <- #24
       DO ,10SUB#11 <- #112
PLEASE DO ,10SUB#12 <- #162
       DO ,10SUB#13 <- #190
       DO ,10SUB#14 <- #160
PLEASE DO ,10SUB#15 <- #216
       DO ,10SUB#16 <- #160
       DO ,10SUB#17 <- #170
PLEASE DO ,10SUB#18 <- #52
       DO READ OUT ,10
       DO GIVE UP

还有一个更大的 ASCII 转码版本

(必须使用不可移植的 C-INTERCAL I/O,因为 INTERCAL-72 不允许任意字符。)

Io
一种受 Smalltalk、Self、Lua、Lisp、Act1 和 NewtonScript 启发的纯面向对象编程语言。
"Arch is the best!" println
Java
一种极其可移植的语言,几乎可以在任何设备上运行,甚至可能在你的烤面包机上运行!
public class ArchIsTheBest {
   public static void main(String[] args) {
       System.out.println("Arch is the best!");
   }
}
JavaScript
也称为 ECMAScript,一种基于原型的面向对象脚本语言。
console.log('Arch is the best!');
JavaScript (在网页浏览器中)
alert('Arch is the best!');
Julia
数值计算的新方法。
println("Arch is the best!")
jq
命令行 JSON 处理程序。
seq 1 100 | jq '"Arch is the best!"'
Kochanowski
基于 JavaScript 的波兰语编程语言。
Drukuj("Arch is the best!").
Kotlin
JetBrains 试图统治世界的尝试。
fun main() {
   println("Arch is the best!")
}
LaTeX
一种在 TeX 之上实现的排版框架和生态系统(讽刺的是,它比 TeX 更出名)。排版数学公式和图表的“终极”框架。
\documentclass{standalone}

\begin{document}
  Arch is the best!
\end{document}
Lean
一种用于编写形式化证明的纯函数式语言。
def main : IO Unit := IO.println "Arch is the best!"
LilyPond
一种功能强大的乐谱雕刻程序,具有直观的类 LaTeX 输入语言。
\version "2.12.3"
\include "english.ly"
\header { title = "Arch is the best!" }
\score
{
   <<
      \relative c' { c4 e g c \bar "||" }
      \addlyrics   { Arch is the best! }
   >>
}
Latino
一种用西班牙语编写的编程语言。
poner("Arch es el mejor")
LOLCODE
为什么不呢?
HAI
CAN HAS STDIO?
VISIBLE "ARCH IS TEH PWNZ LOL!"
KTHXBYE
LTac
交互式定理证明器 Coq 的策略语言。(在平凡证明内部。)
Goal True. idtac "Arch is the best!". trivial. Qed.
Lua
一种轻量级、可扩展的编程语言。
print "Arch is the best!"
Malbolge
一种旨在使编程尽可能困难的语言。
bCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]
\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9y16543210/.-,+*)('&}C#"!~}|{zyxwvu
tsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLK-CgGFEDCBA@?>=<;:98x6543210/
.-,+*)('&%$#"!~}|u;yxwpun4rqpRhmf,jihgIe^$ba`_^]\[ZYXQVUTMqQPONMFjJI+A
eEDC%A:^>=<|:981U54t21*/.-&Jk)('&}C#"!aw={z\xwvun4lqpi/mlkjiKaf_%p
Makefile
Makefile 是一个包含“代码”的文件,有助于编译 Linux 内核等大型程序。
archisthebest:
       echo Arch is the best!
Matlab
由 MathWorks 开发的专有编程语言。
disp('Arch is the best!');
MCFunction
Minecraft 游戏中使用的批处理命令,作为开发数据包或附加组件的编程语言。简单版本
say Arch is the best!

或者是吓唬你朋友的华丽标题版本(仅适用于 Java 版)

title @a title ["",{"text":"Arch","color":"aqua","bold":true},{"text":" is the best!"}]
Monicelli
Monicelli 是一种深奥的编程语言,基于意大利喜剧杰作电影《我的朋友们》(Amici Miei) 中所谓的“supercazzole”。
Lei ha clacsonato
   voglio antani, Mascetti come se fosse 0
   voglio carattere, Mascetti
   stuzzica
       carattere come se fosse brematurata la supercazzola scrivi con antani o scherziamo?
       carattere a posterdati
       antani come se fosse antani più 1
   e brematura anche, se antani minore o uguale di 16
   carattere come se fosse 13 carattere a posterdati carattere come se fosse 10 carattere a posterdati
vaffanzum!
blinda la supercazzola Mascetti scrivi con ingresso Mascetti o scherziamo?
   voglio spazio, Mascetti come se fosse 1 con scappellamento a sinistra per 5
   voglio esci, Mascetti
   che cos'è l'ingresso?
       0: esci come se fosse 65
       o magari 1: esci come se fosse 114
       o magari 2: esci come se fosse ingresso per 49 più 1
       o magari 3: esci come se fosse ingresso per 34 più 2
       o magari 4: esci come se fosse spazio
       o magari 5: esci come se fosse ingresso per 21
       o magari 6: esci come se fosse 115
       o magari 7: esci come se fosse spazio
       o magari 8: esci come se fosse 116
       o magari 9: esci come se fosse 104
       o magari 10: esci come se fosse ingresso per 10 più 1
       o magari 11: esci come se fosse spazio
       o magari 12: esci come se fosse 66
       o magari 13: esci come se fosse 101
       o magari 14: esci come se fosse ingresso per 8 più 3
       o magari 15: esci come se fosse ingresso per 7 più ingresso meno 4
       o tarapia tapioco: esci come se fosse spazio più 1
   e velocità di esecuzione
vaffanzum esci!
Morpho
Morpho 是一种支持过程式、面向对象和函数式编程的多范式编程语言。
writeln("Arch is the best!");
mr-hashemi
其他语言太难了。让 Hashemi 先生为您做好这份工作!
bebin azinja() {
  bechap("Arch is the best!");
}
Myrddin
一种旨在实现控制和简洁的系统编程语言,具有强大的类型检查、泛型、类型推断、闭包和 traits。
/* mbld -b aitb aitb.myr */
use std
const main = {
  std.put("Arch is the best!\n")
}
NASM / Yasm (i686)
注意该字符串位于 .text 节中,这感觉更高级。
;nasm -f elf32 arch.asm
;ld -o arch arch.o
;./arch

section .text
global _start
_start:
    mov edx,len
    mov ecx,msg
    mov ebx,1
    mov eax,4
    int 0x80
    xor ebx,ebx
    mov eax,1
    int 0x80
msg:
    db "Arch is the best!",10
len equ $-msg
NASM / Yasm (x86_64)
具有 AMD 性感的 syscall 新指令。
;nasm -f elf64 arch.asm
;ld -o arch arch.o
;./arch

section .text
global _start
s:
    db 'Arch is the best!',0ah
l equ $-s
_start:
    mov rax,1
    mov rdi,1
    lea rsi,[rel s]
    mov rdx,l
    syscall
    mov rax,60
    xor rdi,rdi
    syscall
Nim
便携式轻量级编程语言。
echo "Arch is the best!"
node.js
一个构建在 Chrome 的 JavaScript 运行时上的平台,用于轻松构建快速、可扩展的网络应用程序,使用事件驱动的非阻塞 I/O 模型,使其轻量且高效,非常适合运行在分布式设备上的数据密集型实时应用程序。
console.log('Arch is the best!');
node.js (http 服务器)
一个使用 HTTP 广播 'Arch is the best!' 信息的 node.js 程序。
require('http').createServer((req,res) => {res.writeHead(200, {'Content-Type': 'text/plain'});res.end('Arch is the best!');}).listen(80);
Objective-C
一种反射式、面向对象的编程语言,它将 Smalltalk 风格的消息传递添加到了 C 编程语言中。
NSLog(@"Arch is the best!");
OCaml
Caml 编程语言的主要实现。
print_endline "Arch is the best!"
Octave
高级解释型语言,主要用于数值计算。
printf("Arch is the best!\n")
Odin
编程乐趣的 C 语言替代品。
package arch
import "core:fmt"

main :: proc() {
   fmt.println("Arch is the best!")
}
Ook!
brainfuck,翻译成了猩猩语。
Ook. Ook. Ook. Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook. Ook. Ook. Ook! Ook? Ook. Ook? Ook! Ook? Ook! Ook! Ook. Ook? Ook. Ook. Ook? Ook. Ook? Ook! Ook? Ook. Ook! Ook! Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook. Ook? Ook! Ook. Ook? Ook. Ook? Ook! Ook. Ook? Ook. Ook! Ook? Ook! Ook! Ook? Ook! Ook. Ook? Ook! Ook? Ook! Ook! Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook? Ook! Ook? Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook! Ook! Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook? Ook! Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook! Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook! Ook. Ook! Ook? Ook! Ook! Ook? Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook.
Opa
一种用于 JavaScript 的全栈开源 Web 开发框架。
Server.start(
   Server.http,
   { title: "Arch is the best"
   , page: function() { <h1>Arch is the best!</h1> }
   }
 )
Pascal
一种具有影响力的命令式和过程式编程语言。
program ArchIsTheBest;
begin
  writeln('Arch is the best!');
end.
PDF
一种用于与打印机对话的语言。
%PDF-1.1

1 0 obj
<< /Type /Catalog
/Pages 2 0 R
>>
endobj

2 0 obj
<< /Type /Pages
/Kids [3 0 R]
/Count 1
/MediaBox [0 0 595 842]
>>
endobj

3 0 obj
<<  /Type /Page
/Parent 2 0 R
/Resources
<< /Font
<< /F1
<< /Type /Font
/Subtype /Type1
/BaseFont /Times-Roman
>>
>>
>>
/Contents 4 0 R
>>
endobj

4 0 obj
<< /Length 48 >>
stream
BT
/F1 72 Tf
55 460 Td
(Arch is the best!) Tj
ET
endstream
endobj

xref
0 5
0000000000 65535 f 
0000000016 00000 n 
0000000066 00000 n 
0000000148 00000 n 
0000000303 00000 n 
trailer
<<  /Root 1 0 R
/Size 5
>>
startxref
402
%%EOF
Perl
一种高级、通用、解释型、动态编程语言。
#!/usr/bin/env perl
print "Arch is the best!\n";
PHP
一种通用脚本语言。
#!/usr/bin/env php
<?php echo "Arch is the best!\n" ?>
Pixilang
为我制作像素。
print("Arch is the best!",0,0,#1897D1)
frame
PL/1
IBM 开发的一种过程式命令式编程语言。
ArchIsBest: proc options (main);
  put skip list("Arch is the best!");
end ArchIsBest;
Pony
一种面向对象、Actor 模型、能力安全的高性能编程语言。
actor Main
  new create(env: Env) =>
    env.out.print("Arch is the best!")
便携式 GNU 汇编器
as -o arch.o arch.s && ld -o arch -O0 arch.o
   .section .data
archIsBest:
   .ascii  "Arch is the best!\n"
archIsBest_len:
   .long   . - archIsBest
   .section .text
   .globl _start
_start:
   xorl %ebx, %ebx
   movl $4, %eax
   xorl %ebx, %ebx
   incl %ebx
   leal archIsBest, %ecx
   movl archIsBest_len, %edx
   int $0x80
   xorl %eax, %eax
   incl %eax
   xorl %ebx, %ebx
   int $0x80
Porth
基于栈,像 Forth 一样,但用 python 编写。
include "std.porth"
proc main in
   "Arch is the best!" puts
end

Portugol
也称为结构化葡萄牙语,Portugol 是一个基于葡萄牙语的编程语言家族。
inicio
 escrever "Arco é o melhor!"
fim
PostScript
一种较旧的用于与打印机对话的语言。
%!PS
/monospace 60 selectfont
10 420 moveto
(Arch is the best!) show
showpage
Powershell
一种基于 .NET 的任务驱动命令行 shell 和脚本语言。
Write-Output "Arch is the best!"
Processing
一种为电子艺术和视觉设计而构建的开源编程语言和 IDE。
println("Arch is the best!");
Prolog
一种与人工智能和计算语言学相关的通用逻辑编程语言。
format('Arch is the best~n',[]).
Python
一种通用高级编程语言。
print('Arch is the best!')
q (kdb+)
一种用于数组处理的编程语言,用作 kdb+ 的查询语言。
show "Arch is the best!"
QBASIC
BASIC 编程语言变体的解释器,基于 QuickBASIC。
PRINT "Arch is the best!"
QML
JavaScript 的超集,用于以声明式方式构建 GUI。Qt 框架的一部分。
import QtQuick.Controls 2.15

Label{
    text: "Arch is the best!"
    font.pixelSize: 22
}
R
一种用于统计计算(以及更多!)的语言。
archIsBest <- function() { cat("Arch is the best!\n") }
archIsBest()
Racket
Lisp-Scheme 家族中的一种通用多范式编程语言。
#lang racket

(let ([str "Arch is the best!\n"])
    (write-string str)
    (values))
Raku
Perl 家族的最新成员(前身为 Perl 6)。
#!/usr/bin/env raku
say 'Arch is the best!';
Rockstar
一种以摇滚歌曲歌词风格编写的语言。
The passion was strong!
The message is "Arch is the best!"

While the passion is higher than nothing
Shout the message
Knock the passion down
Ruby
一种动态、反射式、通用面向对象编程语言。
#!/usr/bin/ruby -w
puts 'Arch is the best!'
Rust
Rust 是一种系统编程语言,运行速度极快,可防止几乎所有崩溃,并消除数据竞争。
fn main() {
    println!("Arch is the best!");
}
Salt
Salt 是一个自动化框架。
 salt '*' event.fire '{"data":"Arch Is the best!"}' 'arch/best'
Scala
一种运行在 JVM 上的多范式语言。
 object ArchIsBest extends App {
     println("Arch is the best!")
 }
Scratch
由 MIT 制作的块状编程语言。

链接到 scratchblocks,你可以在那里看到它作为实际 scratch 代码的样子。

when green flag clicked
say [Arch is the best!]
Scheme
Lisp 的一种方言。
(display "Arch is the best!\n")
Seed
一个库和解释器,动态地将 WebKit JavaScriptCore 引擎与 GNOME 平台连接起来。
#!/usr/bin/env seed
print ('Arch is the best');
莎士比亚编程语言 (Shakespeare Programming Language)
旨在“编写一种具有优美源代码的语言 [...]”
Arch is the Best.

Arthur, a young man who is the best.
Isabella, a likewise young woman who be.
The Ghost, an undead who is the article.
Beatrice, a young woman who is an adjective.


                    Act I: Setting of the Variables.

                    Scene I: Setting of Isabella and Arthur.

[Enter Arthur and Isabella]

Arthur:
 You are as dirty as the square of the sum of a rotten smelly foul devil
 and a vile lie! You are as bold as the sum of yourself and an evil hog!

Isabella:
 Thou art as big as the square of a cute fair sweet flower! You are as proud
 as the sum of thyself and a cow.

[Exit Arthur]

                    Scene II: Setting of The Ghost.

[Enter The Ghost]

Isabella:
 You art as loving as myself. Thou are as huge as the sum of yourself and twice
 a red old hair. You are as cowardly as the sum of yourself and a fat goat!

[Exit Isabella]

                    Scene III: Setting of Beatrice.

[Enter Beatrice]

The Ghost:
 Thou are as good as the sum of Isabella and a mighty fine rich noble King.

[Exeunt The Ghost and Beatrice]

                    Act II: Printing Arch is the Best.

                    Scene I: Arch.

[Enter Arthur and Beatrice]

Beatrice:
 Speak thy mind! You art as peaceful as the quotient between thyself and the
 clearest Lord.

Arthur:
 Speak your mind!

[Exeunt Arthur and Beatrice]

[Enter Isabella and The Ghost]

The Ghost:
 Thou are as normal as the sum of thyself and a town. Speak thy mind!

Isabella:
 Speak your mind!

[Exit Isabella]

[Enter Arthur]

The Ghost:
 Speak thy mind!

[Exit Arthur]

                    Scene II: is.

[Enter Beatrice]

Beatrice:
 Thou are as old as the sum of yourself and a nose. Speak your mind!

The Ghost:
 You art as pretty as the sum of thyself and a face. Speak your mind.

[Exit The Ghost]

[Enter Arthur]

Beatrice:
 Speak thy mind.

                    Scene III: the.

Arthur:
 You are as blue as the sum of yourself and a hamster. Speak thy mind!

[Exit Arthur]

[Enter The Ghost]

Beatrice:
 You are as prompt as the sum of thyself and a lie! Speak your mind.

[Exit Beatrice]

[Enter Isabella]

The Ghost:
 You art as happy as the sum of thyself and a large moon. Speak thy mind!

[Exit The Ghost]

[Enter Arthur]

Isabella:
 Speak thy mind.

[Exit Arthur]

                    Scene IV: Best.

[Enter Beatrice]

Beatrice:
 Thou are as blue as the sum of the sum of a curse and thyself and a bad
 codpiece. Speak your mind! You art as lovely as the sum of the sum of the
 happiness and yourself and a blossoming flower. Speak thy mind.

Isabella:
 You are as healthy as the sum of yourself and a plague! Speak thy mind.
 Thou art as huge as the sum of thyself and a hero. Speak your mind!

[Exit Beatrice]

[Enter Arthur]

Isabella:
 You art as green as the sum of thyself and a mother. Speak your mind.

[Exeunt]
Shoes
使用 Shoes 进行 GUI 的 Ruby 版本。
Shoes.app :width => 135, :height => 30 do
    para "Arch is the Best!"
end
Smalltalk
Smalltalk 是一种面向对象、动态类型、反射式的编程语言。
Transcript show: 'Arch is the best!'.
Solidity
用于以太坊智能合约的面向对象编程语言。
pragma solidity ^0.6.0;

contract ArchIsTheBest {
  function archIsTheBest() external pure returns (string memory) {
    return "Arch is the best!";
  }
}
SQL
结构化查询语言,关系数据库的查询语言。
SELECT 'Arch is the best!';
SELECT 'Arch is the best!' from dual; -- for Oracle DB
Squirrel
一种轻量级脚本语言,经常用于 Valve Source 引擎内的游戏中。
// assumes Team Fortress 2
::ROOT  <- getroottable()
::CONST <- getconsttable()

printl("Arch is the best!")                                                // print to console
ClientPrint(null, Constants.EHudNotify.HUD_PRINTTALK, "Arch is the best!") // print to chat

// show an annotation at the map origin for 5 seconds
SendGlobalGameEvent("show_annotation",
{	
	worldPosX = 0,
	worldPosY = 0,
	worldPosZ = 0,
	id = 0,
	text = "Arch is the best!",
	lifetime = 5,
	visibilityBitfield = 0,
	play_sound = "common/null.wav",
})
Standard ML
一种具有编译时类型检查和类型推断的通用模块化函数式编程语言。
print "Arch is the best!\n"
Swift
由 Apple Inc. 开发的一种通用多范式编译编程语言。
print("Arch is the best!")
Tcl/Tk
一种常用于快速原型设计、脚本化应用程序、GUI 和测试的脚本语言。
#!/usr/bin/env tclsh
puts "Arch is the best!"
TeX
一种针对科学出版的排版语言。以能够以纯文本格式描述复杂方程式而闻名。更著名的 LaTeX 的基础。
Arch is the best!
\bye
TrumpScript
一种基于特朗普总统言论的脚本语言。
say it with me, "Arch is the best!";
america is great.
Typst
一种基于标记的排版系统,设计为与 LaTeX 一样强大,同时更易于学习和使用。
#text(fill: gradient.linear(..color.map.rainbow))[Arch is the best!]
UEFI
一种可扩展的固件框架。
#include <Uefi.h>
EFI_STATUS EFIAPI
ArchIsTheBest (
              IN EFI_HANDLE        ImageHandle,
              IN EFI_SYSTEM_TABLE  *SystemTable
              )
{
   SystemTable -> ConOut-> OutputString(SystemTable->ConOut, L"Arch is the best!\n"); 
   return EFI_SUCCESS;
}
Uiua
一种通用数组导向编程语言,专注于简洁、美感和隐式代码。
$ Arch is the best!
V
简单、快速、安全、编译型语言,用于开发可维护的软件。
fn main() {
        println('Arch is the best!')
}
Vala
Vala 是一种新的编程语言,旨在为 GNOME 开发人员带来现代编程语言特性,而无需施加任何额外的运行时要求,并且与用 C 编写的应用程序和库相比,不使用不同的 ABI。
void main(string[] args) {
stdout.printf("\nArch is the best!\n\n");
}
var'aq
战士的编程语言。
"Arch maj law' Hoch maj puS!" cha'
Verilog
一种硬件描述语言,标准化为 IEEE 1364。
module top;
  initial $display("Arch is the best!");
endmodule
VHDL
VHSIC 硬件描述语言。
use std.textio.all;

entity top is
end top;

architecture behaviour of top is begin
  process begin
    write (output, String'("Arch is the best!"));
    wait;
  end process;
end behaviour;
Vim script
Vim 文本编辑器的脚本语言。
echo "Arch is the best!"
Visual Basic
微软为其组件对象模型 (COM) 编程模型开发的第三代事件驱动编程语言和集成开发环境 (IDE)。
Module Arch
  Sub Main()
      MsgBox("Arch is the best!")
  End Sub
End Module
文言 (wenyan-lang)
为古人设计的编程语言。
吾有一言。曰「「阿祺,盡善矣。」」。書之。
Whenever
Whenever 是一种没有紧迫感的编程语言。它随心所欲地做事,而不是按照程序员指定的任何顺序。
42 print("Arch is the best!");
Whitespace
一种所有非空白字符均为注释的语言。

这种语言在 wiki 中运行得不是很好,所以这里是代码

Wiring (Arduino)
构建于 Processing 之上,这是麻省理工学院开发的开源编程语言。
void setup()
{
   Serial.begin(9600);
}
void loop()
{
   Serial.print("Arch is the best!");
}
Wolfram
Wolfram Inc 开发的专有编程语言,强调符号计算、函数式编程和基于规则的编程。
Print["Arch is the best"]
X11
X11 是一个与架构无关的图形用户界面显示系统。

cc -lX11 arch.c

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <X11/Xlib.h>

int main()
{
       Display *d;
       Window w;
       XEvent e;
       int s;

       if (!(d = XOpenDisplay(NULL))) {
               fprintf(stderr, "Couldn't open display, but Arch is the best!\n");
               exit(1);
       }

       s = DefaultScreen(d);
       w = XCreateSimpleWindow(d, RootWindow(d,s), 0, 0, 110, 20, 0, 
                               0, WhitePixel(d,s));
       XSelectInput(d, w, ExposureMask | KeyPressMask);
       XMapWindow(d,w);

       while (1) {
               XNextEvent(d, &e);
               if (e.type == Expose) {
                       XDrawString(d, w, DefaultGC(d, s), 5, 15, "Arch is the best!", 17);
               }
       }

       XCloseDisplay(d);
       return 0;
}
Z3
来自微软研究院的定理证明器。
(define-const arch String "Arch is the best")
(simplify (str.++ arch))
Zig
一种用于维护健壮、优化且可重用软件的通用编程语言和工具链。旨在取代 C。
const std = @import("std");

pub fn main() !void {
    std.debug.warn("Arch is the best!\n", .{});
}
Zimbu
一种快速、易学且类似 JS 的编程语言。
FUNC Main() int
  IO.write("Arch is the best!")
  RETURN 0
}
Zsh
一种 UNIX 命令解释器 (shell),非常接近 ksh,但包含许多增强功能。
#!/bin/zsh -f
setopt extendedglob
print -- $(echoti setaf 2) ${$(<<<${${${(@j: :)${(@s:_:)${:-What_Linux_is_the_best?}}}/* (#b)([A-Z]i)/Arch $match[1]}} tr '?' '!')} $terminfo[sgr0]

© . This site is unofficial and not affiliated with Arch Linux.

Content is available under GNU Free Documentation License 1.3 or later unless otherwise noted.