// ExampleApp.vala
public
// Compile command (requires "glib-2.0" package on version 2.74 or higher and "gtk4" package to be installed):
// valac --target-glib=2.74 --pkg gtk4 ExampleApp.vala
为什么选择 Vala?
-
性能
- Vala 将代码编译成极快的、完全原生的二进制文件。 您还可以在 Vala 程序中重用现有的 C 代码,以及从 Vala 生成 C 代码。
你能开发什么?
-
图形用户界面应用程序
- GTK、Libadwaita 和 Granite 的完美集成让开发变得超级简单。轻松在 Flathub 上发布您的应用程序,而无需臃肿的包。
-
命令行应用程序
- 使用大型标准库并使用可在 Vala 中使用的大量其他库。
-
库
- 无需手工处理即可为许多其他语言和 API 文档提供绑定。 此外,还支持动态和静态链接。
有什么新鲜事?
查看博客作品展示
-
elementary OS
The thoughtful, capable, and ethical replacement for Windows and macOS
-
Dino
A modern open-source chat client for the desktop. Focuses on providing a clean and reliable Jabber/XMPP experience while having your privacy in mind.
-
Monitor
Manage processes and monitor system resources
-
GNOME Connections
A remote desktop client for the GNOME desktop environment
-
Timeshift
System restore tool for Linux. Creates filesystem snapshots using rsync+hardlinks, or BTRFS snapshots.
-
TextSnatcher
Copy Text from Images with ease, Perform OCR operations in seconds.
社区
社交媒体
在这些平台上关注 Vala 项目