diff --git a/index.html b/index.html new file mode 100644 index 0000000..a1c0c41 --- /dev/null +++ b/index.html @@ -0,0 +1,294 @@ + + + + + + +
+

编译型 vs 解释型语言对比

+ + +
+

编译型语言 (C)

+ +
+
+ Windows +
Windows
+
+
+ macOS +
macOS
+
+
+ Linux +
Linux
+
+
+ +
#include <stdio.h> + +int main() { + // 模拟耗时操作 + for (int i = 0; i < 100000000; i++) {} + printf("Hello, World!"); + return 0; +}
+ + + + +
+ + +
+

解释型语言 (Python)

+ +
+
+ Windows +
Windows
+
+
+ macOS +
macOS
+
+
+ Linux +
Linux
+
+
+ +
# 模拟耗时操作 +for i in range(100000000): + pass +print("Hello, World!")
+ + + +
执行时间: 0.000s
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+ + + + \ No newline at end of file