TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Vala Programming Language

144 点作者 biggestfan将近 3 年前

13 条评论

voidfunc将近 3 年前
Does Vala have any use outside of Gnome? I remember my buddy writing it circa 2008ish and it seemed pretty niche back then.
评论 #32114755 未加载
评论 #32115404 未加载
评论 #32125282 未加载
评论 #32115465 未加载
WoodenChair将近 3 年前
I&#x27;ve always found Vala intriguing but a little too niche for my tastes. That said, if I wanted to write a cross-platform app in it today with a visual GUI builder (Glade?), what is the best IDE&#x2F;tools on macOS to edit programs of it with? Visual Studio Code with some plugin?<p>Does Glade work okay on macOS and with Vala?
评论 #32115671 未加载
评论 #32118003 未加载
评论 #32127831 未加载
rurban将近 3 年前
&gt; Gtk.Application( &quot;com.example.App&quot;, ApplicationFlags.FLAGS_NONE );<p>Don&#x27;t they have optional arguments? Weird<p>Gtk.Application(&quot;com.example.App&quot;);<p>would look much nicer for such a glue language.
评论 #32118078 未加载
josephcsible将近 3 年前
Not to be confused with the Vale programming language.
Hayvok将近 3 年前
Props to the language creator for showing us example code right away, at the top of the page.<p>Half the time a new language gets introduced here and I spend 15 minutes hunting for some page somewhere on the site that deigns to share what the code looks like.
评论 #32115108 未加载
评论 #32117231 未加载
iddan将近 3 年前
I always found it quite odd that the recommended way to start building GTK apps is to use Vala. As a young developer it was pretty intimidating (even though the syntax seemed pretty close to what I already knew) and also it was a little disheartening I can’t use JS because I really wanted to use React. Anyway, I think it’s a cool language, but I kinda wish Swift, Vala, Kotlin etc could have consolidated to one language
评论 #32116069 未加载
ZuLuuuuuu将近 3 年前
Oh, I didn&#x27;t notice Vala had this new(?) web site, it looks good.<p>From my early experiments with Vala, years and years ago, what I remember is that it had nice error messages and the author was very consistent in releasing new versions even when there wasn&#x27;t too much momentum.
LeFantome将近 3 年前
I just learned that the Budgie Desktop is written in Vala.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;BuddiesOfBudgie&#x2F;budgie-desktop" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;BuddiesOfBudgie&#x2F;budgie-desktop</a><p>Also, on Arch I use Pamac as a GUI for package management and it is written in Vala as well.<p>I have used apps for quite a long time before realizing they were written in Vala. Not great for marketing but otherwise I would consider that one of its strengths.
transfire将近 3 年前
I thought Guile was the preferred Gnome language.
评论 #32116258 未加载
评论 #32116327 未加载
Syzygies将近 3 年前
Rob Pike famously explained that C needed its space-insensitive braces and semicolons in case code was transmitted through a channel that mangled whitespace.<p>Those days predate most people reading this, yet many new language syntaxes opt for &quot;familiarity&quot;. I wish that all language design went through a filter where every character mattered like the designer was in an episode of Squid Game.<p>Bill Joy famously explained that syntax matters, a dense syntax puts more on screen. This is true even now. I struggle with this; my favorite syntax is a preprocessor that eliminates the need for most Lisp parentheses. The result is code poetry. Nevertheless, Haskell is more expressive.<p>(Here&#x27;s an easy test: Anyone who proposes a way to minimize Lisp parentheses, who hasn&#x27;t introduced a symbol for missing outline levels, is just pulling out chunks and hasn&#x27;t used their system to write thousands of lines of code.)<p>I&#x27;ve written most of my lifetime of code in C, established my career in C, and C syntax is ground glass in my eyes.
评论 #32114935 未加载
评论 #32114778 未加载
评论 #32114784 未加载
评论 #32116358 未加载
评论 #32115500 未加载
评论 #32114863 未加载
cemuka将近 3 年前
It looks perfect(as a c# developer standpoint). I wish I could use it to make cross-platform desktop application but it&#x27;s only gnome distros I guess.
评论 #32119987 未加载
TekMol将近 3 年前
<p><pre><code> int main (string[] args) { var app = new Gtk.Application( &quot;com.example.App&quot;, ApplicationFlags.FLAGS_NONE ); app.activate.connect(() =&gt; { var win = new Gtk.ApplicationWindow(app); var btn = new Gtk.Button.with_label(&quot;Hello World&quot;); btn.click.connect(win.close); win.child = btn; win.present(); }) return app.run(args); } </code></pre> Is this the equivalent of this html code?<p><pre><code> &lt;button onclick=&quot;window.close()&quot;&gt;Hello World&lt;&#x2F;button&gt;</code></pre>
评论 #32116057 未加载
评论 #32115714 未加载
评论 #32115578 未加载
sylware将近 3 年前
isn&#x27;t that rust, but better?
评论 #32115405 未加载
评论 #32115737 未加载
评论 #32115518 未加载
评论 #32114218 未加载
评论 #32116190 未加载
评论 #32114971 未加载