|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"> |
| 6 | + <meta name="theme-color" content="#7239b3"> |
| 7 | + <link rel="stylesheet" href="https://vala.dev/css/global.css"> |
| 8 | + |
| 9 | + <link rel="stylesheet" href="https://vala.dev/css/syntax-theme-light.css" media="(prefers-color-scheme: light)"> |
| 10 | + <link rel="stylesheet" href="https://vala.dev/css/syntax-theme-dark.css" media="(prefers-color-scheme: dark)"> |
| 11 | + <link rel="apple-touch-icon" sizes="57x57" href="https://vala.dev/apple-icon-57x57.png"> |
| 12 | + <link rel="apple-touch-icon" sizes="60x60" href="https://vala.dev/apple-icon-60x60.png"> |
| 13 | + <link rel="apple-touch-icon" sizes="72x72" href="https://vala.dev/apple-icon-72x72.png"> |
| 14 | + <link rel="apple-touch-icon" sizes="76x76" href="https://vala.dev/apple-icon-76x76.png"> |
| 15 | + <link rel="apple-touch-icon" sizes="114x114" href="https://vala.dev/apple-icon-114x114.png"> |
| 16 | + <link rel="apple-touch-icon" sizes="120x120" href="https://vala.dev/apple-icon-120x120.png"> |
| 17 | + <link rel="apple-touch-icon" sizes="144x144" href="https://vala.dev/apple-icon-144x144.png"> |
| 18 | + <link rel="apple-touch-icon" sizes="152x152" href="https://vala.dev/apple-icon-152x152.png"> |
| 19 | + <link rel="apple-touch-icon" sizes="180x180" href="https://vala.dev/apple-icon-180x180.png"> |
| 20 | + <link rel="icon" type="image/png" sizes="192x192" href="https://vala.dev/android-icon-192x192.png"> |
| 21 | + <link rel="icon" type="image/png" sizes="32x32" href="https://vala.dev/favicon-32x32.png"> |
| 22 | + <link rel="icon" type="image/png" sizes="96x96" href="https://vala.dev/favicon-96x96.png"> |
| 23 | + <link rel="icon" type="image/png" sizes="16x16" href="https://vala.dev/favicon-16x16.png"> |
| 24 | + <link type="text/plain" rel="author" href="https://vala.dev/humans.txt"> |
| 25 | + <link rel="manifest" href="https://vala.dev/manifest.json"> |
| 26 | + <meta name="msapplication-TileColor" content="#a56de2"> |
| 27 | + <meta name="msapplication-TileImage" content="https://vala.dev/ms-icon-144x144.png"> |
| 28 | + |
| 29 | + |
| 30 | + <link rel="alternate" type="application/atom+xml" title="Vala - Feed" href="https://vala.dev/atom.xml"> |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | +<title>About Vala</title> |
| 35 | + |
| 36 | +<link rel="alternate" hreflang="en" href="https://vala.dev/about"> |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + <link rel="alternate" hreflang="ru" href="https://vala.dev/ru//about"> |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + <link rel="alternate" hreflang="zh_CN" href="https://vala.dev/zh_CN//about"> |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + <link rel="alternate" hreflang="cs" href="https://vala.dev/cs//about"> |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + <link rel="alternate" hreflang="fr" href="https://vala.dev/fr//about"> |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + <link rel="alternate" hreflang="pt_BR" href="https://vala.dev/pt_BR//about"> |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | +<link rel="alternate" hreflang="x-default" href="https://vala.dev/about"> |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + <meta name="description" content="Vala is an object-oriented programming language with a self-hosting compiler that generates C code and uses the GObject type system."> |
| 67 | + <meta name="twitter:card" content="summary_large_image"> |
| 68 | + <meta name="twitter:site" content="@vala_lang"> |
| 69 | + <meta property="og:type" content="website"> |
| 70 | + <meta property="og:title" content="About Vala"> |
| 71 | + <meta property="og:description" content="Vala is an object-oriented programming language with a self-hosting compiler that generates C code and uses the GObject type system."> |
| 72 | + <meta property="og:url" content="https://vala.dev/about/"> |
| 73 | + <meta property="og:site_name" content="Vala"> |
| 74 | + |
| 75 | + |
| 76 | + <meta property="og:image" content="https://vala.dev/img/vala-hero-wide.png"> |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + <meta property="article:section" content="Vala Programming Language"> |
| 86 | + |
| 87 | + |
| 88 | +</head> |
| 89 | +<body> |
| 90 | + <a id="bypass-block" href="#main-content">Skip to main content</a> |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + <header> |
| 99 | + <div> |
| 100 | + <nav> |
| 101 | + <div> |
| 102 | + <a aria-label="Home" href="https://vala.dev"> |
| 103 | + |
| 104 | +<svg version="1.1" viewBox="0 0 7.9685 3.1998" xmlns="http://www.w3.org/2000/svg"> |
| 105 | + <title>Home</title> |
| 106 | + <g transform="translate(-17.82 -13.53)"> |
| 107 | + <g stroke-width=".26458"> |
| 108 | + <path d="m18.913 16.705-0.06821-2.8918q-0.29766 0.11162-0.46509 0.34933-0.16536 0.23771-0.16536 0.59118 0 0.17156 0.04754 0.25838 0.01034 0.01654 0.01034 0.02894-0.339 0-0.42375-0.21704-0.02894-0.07855-0.02894-0.1943 0-0.21291 0.13229-0.40928 0.13436-0.19844 0.3452-0.3514 0.48162-0.339 1.0087-0.339 0.08682 0 0.1695 0.0083l0.03721 2.6045 0.8909-2.5921h0.29559l-1.1762 3.1543z"/> |
| 109 | + <path d="m22.804 15.946q-0.26872 0.78341-0.84956 0.78341-0.37414 0-0.41548-0.38861-0.27698 0.38861-0.64699 0.38861-0.36794 0-0.50023-0.36174-0.04754-0.13022-0.04754-0.29559 0-0.16743 0.02894-0.3328 0.02894-0.16743 0.08888-0.3328 0.13229-0.3638 0.37827-0.60151 0.24598-0.23771 0.59324-0.23771 0.1819 0 0.26252 0.06201 0.08062 0.05994 0.08062 0.15296v0.03101l0.04547-0.22531h0.60978l-0.30386 1.4387q-0.0186 0.07235-0.0186 0.13643 0 0.1819 0.17363 0.1819 0.22531 0 0.34313-0.39894zm-1.0666-0.95498q0-0.03927-0.03721-0.09922-0.03514-0.06201-0.15296-0.06201t-0.22944 0.12609q-0.26872 0.30386-0.33693 0.8723-0.01034 0.08682-0.01034 0.18397 0 0.1881 0.07855 0.26252 0.04547 0.04548 0.11369 0.04548 0.12609 0 0.22944-0.09922 0.10335-0.10128 0.14263-0.27492z"/> |
| 110 | + <path d="m23.934 15.946q-0.27285 0.78341-0.91157 0.78341-0.16743 0-0.29972-0.11989-0.13022-0.11989-0.13022-0.38654 0-0.11989 0.03307-0.27698l0.45269-2.1208 0.62632-0.08475-0.48576 2.2862q-0.01654 0.07648-0.01654 0.1509 0 0.14263 0.17157 0.14263 0.12402 0 0.22944-0.10749 0.10749-0.10749 0.15296-0.26665z"/> |
| 111 | + <path d="m24.896 16.337q-0.26252 0.39274-0.63872 0.39274-0.3762 0-0.5085-0.36174-0.04754-0.13022-0.04754-0.29559 0-0.16743 0.02894-0.3328 0.02894-0.16743 0.08888-0.3328 0.13229-0.3638 0.37827-0.60151 0.24598-0.23771 0.59324-0.23771 0.1819 0 0.26252 0.06201 0.08062 0.05994 0.08062 0.15296v0.03101l0.04547-0.22531h0.60978l-0.30386 1.4387q-0.0186 0.07235-0.0186 0.14883 0 0.14469 0.17363 0.14469 0.05581 0 0.09302-0.0186-0.08888 0.23771-0.1509 0.30799-0.10955 0.11989-0.27905 0.11989-0.16743 0-0.27492-0.10129-0.10749-0.10335-0.13229-0.29146zm0.19844-1.3457q0-0.03927-0.03721-0.09922-0.03514-0.06201-0.15296-0.06201t-0.22944 0.12609q-0.26872 0.30386-0.33693 0.8723-0.01034 0.08682-0.01034 0.18397 0 0.1881 0.07855 0.26252 0.04547 0.04548 0.11369 0.04548 0.12609 0 0.22944-0.09922 0.10335-0.10128 0.14263-0.27492z"/> |
| 112 | + </g> |
| 113 | + </g> |
| 114 | +</svg> |
| 115 | + |
| 116 | + </a> |
| 117 | + </div> |
| 118 | + <ul> |
| 119 | + <li><a href="https://vala.dev/about/">About</a></li> |
| 120 | + <li><a href="https://docs.vala.dev">Docs</a></li> |
| 121 | + <li><a href="https://vala.dev#community">Community</a></li> |
| 122 | + <li><a href="https://vala.dev/blog/">Blog</a></li> |
| 123 | + <li><a href="https://gitlab.gnome.org/GNOME/vala">Source Code</a></li> |
| 124 | + </ul> |
| 125 | + <button aria-label="Menu" class="menu-toggle"> |
| 126 | + <span class="hamburger"></span> |
| 127 | + </button> |
| 128 | + <!-- Link to Installation section of tutorial --> |
| 129 | + <div> |
| 130 | + <a href="https://docs.vala.dev/installation-guide.html" class="navbar-button">Get Started</a> |
| 131 | + </div> |
| 132 | + </nav> |
| 133 | + </div> |
| 134 | + </header> |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + <div class="container"> |
| 140 | + <main id="main-content"> |
| 141 | + |
| 142 | +<article> |
| 143 | + <h1>About Vala</h1> |
| 144 | +<h2 id="what-is-vala">What is Vala?<a class="zola-anchor" href="#what-is-vala" aria-label="Anchor link for: what-is-vala">#</a> |
| 145 | +</h2> |
| 146 | +<p>Vala is an object-oriented programming language with a self-hosting compiler that generates C code and uses the GObject type system.</p> |
| 147 | +<p>Vala supports modern language features such as:</p> |
| 148 | +<ul> |
| 149 | +<li>Interfaces</li> |
| 150 | +<li>Properties</li> |
| 151 | +<li>Signals</li> |
| 152 | +<li>Foreach statements</li> |
| 153 | +<li>Lambda expressions</li> |
| 154 | +<li>Type inferencing for local variables</li> |
| 155 | +<li>Generics</li> |
| 156 | +<li>Non-null types</li> |
| 157 | +<li>Assisted memory management</li> |
| 158 | +<li>Exception handling</li> |
| 159 | +<li>Type modules (Plugins)</li> |
| 160 | +</ul> |
| 161 | +<h2 id="what-kind-of-language-is-vala">What kind of language is Vala?<a class="zola-anchor" href="#what-kind-of-language-is-vala" aria-label="Anchor link for: what-kind-of-language-is-vala">#</a> |
| 162 | +</h2> |
| 163 | +<h3 id="productive">Productive<a class="zola-anchor" href="#productive" aria-label="Anchor link for: productive">#</a> |
| 164 | +</h3> |
| 165 | +<p>With Vala, you can get up and running quickly, thanks to convenient features like lambda expressions, exception handling, interfaces and generics.</p> |
| 166 | +<h3 id="performant">Performant<a class="zola-anchor" href="#performant" aria-label="Anchor link for: performant">#</a> |
| 167 | +</h3> |
| 168 | +<p>Vala code compiles down to fully native binaries.</p> |
| 169 | +<h3 id="statically-typed">Statically-Typed<a class="zola-anchor" href="#statically-typed" aria-label="Anchor link for: statically-typed">#</a> |
| 170 | +</h3> |
| 171 | +<p>Vala helps you write type-safe code without the verbosity, thanks to type inference.</p> |
| 172 | +<h3 id="integrative">Integrative<a class="zola-anchor" href="#integrative" aria-label="Anchor link for: integrative">#</a> |
| 173 | +</h3> |
| 174 | +<p>Vala is designed to allow access to existing C libraries, especially GObject-based libraries, without the need for runtime bindings. All that is needed to use a library with Vala is an API file, containing the class and method declarations in Vala syntax. Vala currently comes with bindings for GLib and GTK+ and many others from the GNOME Platform.</p> |
| 175 | +<p>Vala can also be used to create C libraries too.</p> |
| 176 | +<h3 id="familiar">Familiar<a class="zola-anchor" href="#familiar" aria-label="Anchor link for: familiar">#</a> |
| 177 | +</h3> |
| 178 | +<p>The syntax of Vala is inspired by C# and Java, so if you have used either of those, you'll seamlessly adapt to writing Vala code.</p> |
| 179 | + |
| 180 | +<div class="cta-stack"> |
| 181 | + <a href="https://docs.vala.dev/installation-guide.html">Get Started</a> |
| 182 | + |
| 183 | + |
| 184 | + <a href="https://gitlab.gnome.org/GNOME/vala">View Source Code</a> |
| 185 | + |
| 186 | +</div> |
| 187 | + |
| 188 | + |
| 189 | +</article> |
| 190 | + |
| 191 | + </main> |
| 192 | + </div> |
| 193 | + |
| 194 | + <footer> |
| 195 | + <div> |
| 196 | + <ul> |
| 197 | + Languages: |
| 198 | + |
| 199 | + <li><a href="https://vala.dev/ru/"> |
| 200 | + |
| 201 | + Русский |
| 202 | + |
| 203 | +</a></li> |
| 204 | + |
| 205 | + <li><a href="https://vala.dev/zh_CN/"> |
| 206 | + |
| 207 | + 简体中文 |
| 208 | + |
| 209 | +</a></li> |
| 210 | + |
| 211 | + <li><a href="https://vala.dev/cs/"> |
| 212 | + |
| 213 | + Čeština |
| 214 | + |
| 215 | +</a></li> |
| 216 | + |
| 217 | + <li><a href="https://vala.dev/fr/"> |
| 218 | + |
| 219 | + Français |
| 220 | + |
| 221 | +</a></li> |
| 222 | + |
| 223 | + <li><a href="https://vala.dev/pt_BR/"> |
| 224 | + |
| 225 | + Português Brasileiro |
| 226 | + |
| 227 | +</a></li> |
| 228 | + |
| 229 | + </ul> |
| 230 | + <div>Made by the Vala Community</div> |
| 231 | + <a href="https://github.com/vala-lang/vala-www">View The Website's Source Code</a> |
| 232 | + <p>This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License.</a></p> |
| 233 | + </div> |
| 234 | +</footer> |
| 235 | + |
| 236 | + |
| 237 | + <script src="https://vala.dev/js/global.js"></script> |
| 238 | + |
| 239 | + |
| 240 | +</body> |
| 241 | +</html> |
0 commit comments