Kaynağa Gözat

Update readme

sunnycase 6 yıl önce
ebeveyn
işleme
24ae6231be
2 değiştirilmiş dosya ile 19 ekleme ve 10 silme
  1. 17 5
      README.md
  2. 2 5
      src/Native/main.cpp

+ 17 - 5
README.md

@@ -4,8 +4,8 @@ natsu-clr
 ## Introduction
 ## 简介
 
-`natsu-clr` is an il2cpp transpiler and runtime for resource-constrained devices.
-`natsu-clr` 是一个 为资源受限设备设计的 IL2CPP 编译器和运行时。
+`natsu-clr` is an il2cpp transpiler and runtime compatible with .Net Core.
+`natsu-clr` 是一个兼容 .Net Core 的 IL2CPP 编译器和运行时。
 
 ![Screenshots](doc/screenshot1.png)
 
@@ -13,13 +13,17 @@ natsu-clr
 - .Net Core 3.0 compatible
 - Small memory footprint
 - Very portable
-- Compile-time variable initializer (e.g. System.String)
+- Easy to interop with C++
+- Compile-time vtable and variable initializer
+- Assembly-level compile without a full build of programs
 
 ## 特性
 - .Net Core 3.0 兼容
 - 极小内存占用
 - 可移植性强
-- 编译期变量初始化 (例如 System.String)
+- 很容易和 C++ 互操作
+- 编译期虚表和变量初始化
+- 程序集级别编译,不需要整个程序全部编译
 
 ## Supported CLR Features
 ## 支持的 CLR 特性
@@ -28,4 +32,12 @@ natsu-clr
 - Delegate
 - Unsafe
 - Internal Call
-- Unicode
+- Unicode
+- Volatile and Interlocked
+- Thread
+
+## Roadmap
+- [ ] Full support of standard libraries (Wellcome contributors!)
+
+## 路线图
+- [ ] 完整支持标准库 (欢迎贡献者!)

+ 2 - 5
src/Native/main.cpp

@@ -12,12 +12,9 @@ int main()
 {
     InitializeHeap();
     Program::_s_Main();
-#ifdef WIN32
-    while (1)
-        Sleep(0);
-#else
+
+    // Should not reach here
     while (1)
         ;
-#endif
     return 0;
 }