<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja"><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://zevic-lang.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://zevic-lang.github.io/" rel="alternate" type="text/html" hreflang="ja" /><updated>2026-11-18T18:29:01+09:00</updated><id>https://zevic-lang.github.io/feed.xml</id><title type="html">Zevic</title><subtitle>Zevic は、ソースコードをテキストの LLVM IR に変換し、clang で機械語にする、小さくて書きやすいネイティブ言語です。</subtitle><entry xml:lang="ja"><title type="html">公式サイトを公開しました</title><link href="https://zevic-lang.github.io/blog/2026/11/17/website-launch/" rel="alternate" type="text/html" title="公式サイトを公開しました" /><published>2026-11-17T00:00:00+09:00</published><updated>2026-11-17T00:00:00+09:00</updated><id>https://zevic-lang.github.io/blog/2026/11/17/website-launch</id><content type="html" xml:base="https://zevic-lang.github.io/blog/2026/11/17/website-launch/"><![CDATA[<p>Zevic の公式サイトを公開しました。言語の概要、インストール方法、入門、リリースの記録、開発者の紹介を載せています。</p>

<ul>
  <li>初めての方は<a href="/start/">はじめての Zevic</a>から</li>
  <li>他の言語を使っている方は<a href="/from-other-languages/">他の言語から来た方へ</a>から</li>
  <li>最新のリリースは <a href="/releases/#v0.4.5">v0.4.5</a> です</li>
</ul>

<p>サイトのソースは <a href="https://github.com/zevic-lang/zevic-lang.github.io">zevic-lang.github.io</a> にあります。誤りや分かりにくいところがあれば、Issue でお知らせください。</p>]]></content><author><name></name></author><summary type="html"><![CDATA[Zevic の公式サイトを公開しました。言語の概要、インストール方法、入門、リリースの記録、開発者の紹介を載せています。]]></summary></entry><entry xml:lang="en"><title type="html">The official website is open</title><link href="https://zevic-lang.github.io/en/blog/2026/11/17/website-launch/" rel="alternate" type="text/html" title="The official website is open" /><published>2026-11-17T00:00:00+09:00</published><updated>2026-11-17T00:00:00+09:00</updated><id>https://zevic-lang.github.io/en/blog/2026/11/17/website-launch</id><content type="html" xml:base="https://zevic-lang.github.io/en/blog/2026/11/17/website-launch/"><![CDATA[<p>The official Zevic website is open. It has an overview of the language, installation instructions, tutorials, the release record and the developers.</p>

<ul>
  <li>New to programming? Start with the <a href="/en/start/">tutorial</a></li>
  <li>Already using another language? Read <a href="/en/from-other-languages/">Coming from other languages</a></li>
  <li>The latest release is <a href="/en/releases/#v0.4.5">v0.4.5</a></li>
</ul>

<p>The source of the site is in <a href="https://github.com/zevic-lang/zevic-lang.github.io">zevic-lang.github.io</a>. If something is wrong or hard to follow, please tell us in an issue.</p>]]></content><author><name></name></author><summary type="html"><![CDATA[The official Zevic website is open. It has an overview of the language, installation instructions, tutorials, the release record and the developers.]]></summary></entry><entry xml:lang="ja"><title type="html">Zevic 0.4.3: Comparable と Equatable の演算子</title><link href="https://zevic-lang.github.io/blog/2026/11/16/zevic-0-4-3/" rel="alternate" type="text/html" title="Zevic 0.4.3: Comparable と Equatable の演算子" /><published>2026-11-16T00:00:00+09:00</published><updated>2026-11-16T00:00:00+09:00</updated><id>https://zevic-lang.github.io/blog/2026/11/16/zevic-0-4-3</id><content type="html" xml:base="https://zevic-lang.github.io/blog/2026/11/16/zevic-0-4-3/"><![CDATA[<p>v0.4.3 では、比較演算子が、自分で定義した型でも使えるようになりました。</p>

<ul>
  <li><code class="language-plaintext highlighter-rouge">Comparable</code> を実装した struct / class では、<code class="language-plaintext highlighter-rouge">&lt;</code> <code class="language-plaintext highlighter-rouge">&lt;=</code> <code class="language-plaintext highlighter-rouge">&gt;</code> <code class="language-plaintext highlighter-rouge">&gt;=</code> が <code class="language-plaintext highlighter-rouge">Compare</code> メソッドを呼びます</li>
  <li><code class="language-plaintext highlighter-rouge">Equatable</code> を実装した struct の <code class="language-plaintext highlighter-rouge">==</code> は、<code class="language-plaintext highlighter-rouge">Equals</code> メソッドを呼びます。以前は、フィールドをそのまま比較していました</li>
  <li><code class="language-plaintext highlighter-rouge">Async.Spawn</code> は、デタッチされた <code class="language-plaintext highlighter-rouge">Thread.Thread</code> でタスクを開始します（<code class="language-plaintext highlighter-rouge">Thread</code> に <code class="language-plaintext highlighter-rouge">Detach()</code> が加わりました）</li>
  <li>使い方のメッセージに <code class="language-plaintext highlighter-rouge">zevic</code> の名前が出るようになりました</li>
</ul>

<p>0.4.2 には、<code class="language-plaintext highlighter-rouge">Comparable</code> を実装した型の <code class="language-plaintext highlighter-rouge">&lt;</code> が生成されないという既知の不具合があり、この版で直りました。</p>]]></content><author><name></name></author><summary type="html"><![CDATA[v0.4.3 では、比較演算子が、自分で定義した型でも使えるようになりました。]]></summary></entry><entry xml:lang="ja"><title type="html">Zevic 0.4.4: Windows のスレッドと既定の最適化</title><link href="https://zevic-lang.github.io/blog/2026/11/16/zevic-0-4-4/" rel="alternate" type="text/html" title="Zevic 0.4.4: Windows のスレッドと既定の最適化" /><published>2026-11-16T00:00:00+09:00</published><updated>2026-11-16T00:00:00+09:00</updated><id>https://zevic-lang.github.io/blog/2026/11/16/zevic-0-4-4</id><content type="html" xml:base="https://zevic-lang.github.io/blog/2026/11/16/zevic-0-4-4/"><![CDATA[<p>v0.4.4 は、2 つの変更です。</p>

<p><strong>Windows のスレッドと GC.</strong> <code class="language-plaintext highlighter-rouge">Thread.Spawn</code>（と <code class="language-plaintext highlighter-rouge">Async.Spawn</code>）が起動したスレッドが、Boehm GC に登録されるようになりました。これで、スレッドの中でも安全にメモリを確保でき、回収もされます。</p>

<p><strong>既定の最適化は <code class="language-plaintext highlighter-rouge">-O0</code>.</strong> <code class="language-plaintext highlighter-rouge">zevic</code> と <code class="language-plaintext highlighter-rouge">zevpm</code> は、開発中の速いビルドのために、既定で <code class="language-plaintext highlighter-rouge">-O0</code> を使います。リリース用には <code class="language-plaintext highlighter-rouge">zevpm build --release</code>（<code class="language-plaintext highlighter-rouge">-O2</code>）、または <code class="language-plaintext highlighter-rouge">zevic -O2</code> を使ってください。速度を測るときは、特に注意してください。</p>]]></content><author><name></name></author><summary type="html"><![CDATA[v0.4.4 は、2 つの変更です。]]></summary></entry><entry xml:lang="ja"><title type="html">Zevic 0.4.5 をリリースしました</title><link href="https://zevic-lang.github.io/blog/2026/11/16/zevic-0-4-5/" rel="alternate" type="text/html" title="Zevic 0.4.5 をリリースしました" /><published>2026-11-16T00:00:00+09:00</published><updated>2026-11-16T00:00:00+09:00</updated><id>https://zevic-lang.github.io/blog/2026/11/16/zevic-0-4-5</id><content type="html" xml:base="https://zevic-lang.github.io/blog/2026/11/16/zevic-0-4-5/"><![CDATA[<p>v0.4.5 は、Termux など書き込み可能な <code class="language-plaintext highlighter-rouge">/tmp</code> が無い環境への対応が中心のリリースです。</p>

<p>以前は、そうした環境で外部プロセスを呼ぶ処理がすべて失敗し、clang が入っているのに「clang が見つからない」と報告されていました。原因は一時ファイルの置き場所が <code class="language-plaintext highlighter-rouge">/tmp</code> に固定されていたことでした。今後は <code class="language-plaintext highlighter-rouge">$TMPDIR</code> を使い、未設定なら <code class="language-plaintext highlighter-rouge">/tmp</code> にします。</p>

<p>あわせて、ローカルビルドで作られるファイルの名前を整理しました。<code class="language-plaintext highlighter-rouge">make</code> は <code class="language-plaintext highlighter-rouge">build/zevic</code>、<code class="language-plaintext highlighter-rouge">build/zevpm</code>、<code class="language-plaintext highlighter-rouge">build/zevfmt</code> を作り、内部用のシードコンパイラは <code class="language-plaintext highlighter-rouge">build/bootstrap/zevic</code> に移りました。</p>

<p>直前の 0.4.4 では、Windows で <code class="language-plaintext highlighter-rouge">Thread.Spawn</code> が起動したスレッドが GC に登録されるようになり、既定の最適化が <code class="language-plaintext highlighter-rouge">-O0</code> になりました。詳しくは<a href="/releases/">リリース</a>をご覧ください。</p>]]></content><author><name></name></author><summary type="html"><![CDATA[v0.4.5 は、Termux など書き込み可能な /tmp が無い環境への対応が中心のリリースです。]]></summary></entry><entry xml:lang="en"><title type="html">Zevic 0.4.3: operators for Comparable and Equatable</title><link href="https://zevic-lang.github.io/en/blog/2026/11/16/zevic-0-4-3/" rel="alternate" type="text/html" title="Zevic 0.4.3: operators for Comparable and Equatable" /><published>2026-11-16T00:00:00+09:00</published><updated>2026-11-16T00:00:00+09:00</updated><id>https://zevic-lang.github.io/en/blog/2026/11/16/zevic-0-4-3</id><content type="html" xml:base="https://zevic-lang.github.io/en/blog/2026/11/16/zevic-0-4-3/"><![CDATA[<p>In v0.4.3, comparison operators work on types you define yourself.</p>

<ul>
  <li>On a struct or class that implements <code class="language-plaintext highlighter-rouge">Comparable</code>, <code class="language-plaintext highlighter-rouge">&lt;</code>, <code class="language-plaintext highlighter-rouge">&lt;=</code>, <code class="language-plaintext highlighter-rouge">&gt;</code> and <code class="language-plaintext highlighter-rouge">&gt;=</code> call the <code class="language-plaintext highlighter-rouge">Compare</code> method</li>
  <li><code class="language-plaintext highlighter-rouge">==</code> on a struct that implements <code class="language-plaintext highlighter-rouge">Equatable</code> calls its <code class="language-plaintext highlighter-rouge">Equals</code> method. It used to compare the fields directly</li>
  <li><code class="language-plaintext highlighter-rouge">Async.Spawn</code> starts its task on a detached <code class="language-plaintext highlighter-rouge">Thread.Thread</code> (<code class="language-plaintext highlighter-rouge">Thread</code> gained <code class="language-plaintext highlighter-rouge">Detach()</code>)</li>
  <li>Usage messages now show the <code class="language-plaintext highlighter-rouge">zevic</code> name</li>
</ul>

<p>Version 0.4.2 had a known problem: <code class="language-plaintext highlighter-rouge">&lt;</code> was not generated for types that implement <code class="language-plaintext highlighter-rouge">Comparable</code>. It is fixed in this version.</p>]]></content><author><name></name></author><summary type="html"><![CDATA[In v0.4.3, comparison operators work on types you define yourself.]]></summary></entry><entry xml:lang="en"><title type="html">Zevic 0.4.4: Windows threads and the default optimisation level</title><link href="https://zevic-lang.github.io/en/blog/2026/11/16/zevic-0-4-4/" rel="alternate" type="text/html" title="Zevic 0.4.4: Windows threads and the default optimisation level" /><published>2026-11-16T00:00:00+09:00</published><updated>2026-11-16T00:00:00+09:00</updated><id>https://zevic-lang.github.io/en/blog/2026/11/16/zevic-0-4-4</id><content type="html" xml:base="https://zevic-lang.github.io/en/blog/2026/11/16/zevic-0-4-4/"><![CDATA[<p>v0.4.4 has two changes.</p>

<p><strong>Windows threads and the GC.</strong> Threads started by <code class="language-plaintext highlighter-rouge">Thread.Spawn</code> (and <code class="language-plaintext highlighter-rouge">Async.Spawn</code>) are now registered with the Boehm GC. That means they can allocate memory safely inside a thread, and the memory is collected.</p>

<p><strong>The default optimisation level is <code class="language-plaintext highlighter-rouge">-O0</code>.</strong> For fast builds during development, <code class="language-plaintext highlighter-rouge">zevic</code> and <code class="language-plaintext highlighter-rouge">zevpm</code> use <code class="language-plaintext highlighter-rouge">-O0</code> by default. For releases, use <code class="language-plaintext highlighter-rouge">zevpm build --release</code> (<code class="language-plaintext highlighter-rouge">-O2</code>) or <code class="language-plaintext highlighter-rouge">zevic -O2</code>. Take particular care when measuring speed.</p>]]></content><author><name></name></author><summary type="html"><![CDATA[v0.4.4 has two changes.]]></summary></entry><entry xml:lang="en"><title type="html">Zevic 0.4.5 released</title><link href="https://zevic-lang.github.io/en/blog/2026/11/16/zevic-0-4-5/" rel="alternate" type="text/html" title="Zevic 0.4.5 released" /><published>2026-11-16T00:00:00+09:00</published><updated>2026-11-16T00:00:00+09:00</updated><id>https://zevic-lang.github.io/en/blog/2026/11/16/zevic-0-4-5</id><content type="html" xml:base="https://zevic-lang.github.io/en/blog/2026/11/16/zevic-0-4-5/"><![CDATA[<p>v0.4.5 is mostly about environments that have no writable <code class="language-plaintext highlighter-rouge">/tmp</code>, such as Termux.</p>

<p>Before, anything that ran an external process failed in such an environment, and clang was reported as missing even though it was installed. The cause was that the place for temporary files was fixed at <code class="language-plaintext highlighter-rouge">/tmp</code>. The compiler now uses <code class="language-plaintext highlighter-rouge">$TMPDIR</code>, and falls back to <code class="language-plaintext highlighter-rouge">/tmp</code> when it is not set.</p>

<p>We also tidied the names of the files a local build produces. <code class="language-plaintext highlighter-rouge">make</code> builds <code class="language-plaintext highlighter-rouge">build/zevic</code>, <code class="language-plaintext highlighter-rouge">build/zevpm</code> and <code class="language-plaintext highlighter-rouge">build/zevfmt</code>, and the internal seed compiler moved to <code class="language-plaintext highlighter-rouge">build/bootstrap/zevic</code>.</p>

<p>The previous release, 0.4.4, made threads started by <code class="language-plaintext highlighter-rouge">Thread.Spawn</code> register with the GC on Windows, and made <code class="language-plaintext highlighter-rouge">-O0</code> the default. See the <a href="/en/releases/">releases</a> for details.</p>]]></content><author><name></name></author><summary type="html"><![CDATA[v0.4.5 is mostly about environments that have no writable /tmp, such as Termux.]]></summary></entry><entry xml:lang="ja"><title type="html">Zevic 0.4.2: スレッドと多倍長整数</title><link href="https://zevic-lang.github.io/blog/2026/11/15/zevic-0-4-2/" rel="alternate" type="text/html" title="Zevic 0.4.2: スレッドと多倍長整数" /><published>2026-11-15T00:00:00+09:00</published><updated>2026-11-15T00:00:00+09:00</updated><id>https://zevic-lang.github.io/blog/2026/11/15/zevic-0-4-2</id><content type="html" xml:base="https://zevic-lang.github.io/blog/2026/11/15/zevic-0-4-2/"><![CDATA[<p>v0.4.2 は、<code class="language-plaintext highlighter-rouge">Thread</code> と <code class="language-plaintext highlighter-rouge">BigInt</code> の版です。</p>

<ul>
  <li><strong><code class="language-plaintext highlighter-rouge">Zevic.Thread</code></strong>: OS スレッド。<code class="language-plaintext highlighter-rouge">Thread.Spawn(f)</code> で関数を新しいスレッドで起動し、<code class="language-plaintext highlighter-rouge">Join()</code> で待ちます（2 回 <code class="language-plaintext highlighter-rouge">Join</code> すると Panic です）。<code class="language-plaintext highlighter-rouge">Thread.Yield()</code> もあります</li>
  <li><strong><code class="language-plaintext highlighter-rouge">Zevic.BigInt</code></strong>: 任意精度の整数 <code class="language-plaintext highlighter-rouge">BigInt.BigInt</code>。<code class="language-plaintext highlighter-rouge">FromI64</code>、<code class="language-plaintext highlighter-rouge">Parse</code>、<code class="language-plaintext highlighter-rouge">Add</code>、<code class="language-plaintext highlighter-rouge">Sub</code>、<code class="language-plaintext highlighter-rouge">Mul</code>、<code class="language-plaintext highlighter-rouge">DivRem</code>、<code class="language-plaintext highlighter-rouge">Pow</code>、<code class="language-plaintext highlighter-rouge">ToString</code>、<code class="language-plaintext highlighter-rouge">ToI64</code>（範囲外なら <code class="language-plaintext highlighter-rouge">Err</code>）などがあり、<code class="language-plaintext highlighter-rouge">Equatable</code> と <code class="language-plaintext highlighter-rouge">Comparable</code> を実装しています</li>
</ul>

<p>あわせて、言語仕様書を実装に合わせて更新しました。並行処理は OS スレッドで行うこと、<code class="language-plaintext highlighter-rouge">Integer</code> を <code class="language-plaintext highlighter-rouge">Zevic.BigInt</code> に置き換えたこと、実装で決まった未決事項を整理したことが主な変更です。</p>]]></content><author><name></name></author><summary type="html"><![CDATA[v0.4.2 は、Thread と BigInt の版です。]]></summary></entry><entry xml:lang="en"><title type="html">Zevic 0.4.2: threads and big integers</title><link href="https://zevic-lang.github.io/en/blog/2026/11/15/zevic-0-4-2/" rel="alternate" type="text/html" title="Zevic 0.4.2: threads and big integers" /><published>2026-11-15T00:00:00+09:00</published><updated>2026-11-15T00:00:00+09:00</updated><id>https://zevic-lang.github.io/en/blog/2026/11/15/zevic-0-4-2</id><content type="html" xml:base="https://zevic-lang.github.io/en/blog/2026/11/15/zevic-0-4-2/"><![CDATA[<p>v0.4.2 is the <code class="language-plaintext highlighter-rouge">Thread</code> and <code class="language-plaintext highlighter-rouge">BigInt</code> release.</p>

<ul>
  <li><strong><code class="language-plaintext highlighter-rouge">Zevic.Thread</code></strong>: OS threads. <code class="language-plaintext highlighter-rouge">Thread.Spawn(f)</code> starts a function on a new thread and <code class="language-plaintext highlighter-rouge">Join()</code> waits for it (calling <code class="language-plaintext highlighter-rouge">Join</code> twice is a Panic). There is also <code class="language-plaintext highlighter-rouge">Thread.Yield()</code></li>
  <li><strong><code class="language-plaintext highlighter-rouge">Zevic.BigInt</code></strong>: integers of any size, as <code class="language-plaintext highlighter-rouge">BigInt.BigInt</code>. It has <code class="language-plaintext highlighter-rouge">FromI64</code>, <code class="language-plaintext highlighter-rouge">Parse</code>, <code class="language-plaintext highlighter-rouge">Add</code>, <code class="language-plaintext highlighter-rouge">Sub</code>, <code class="language-plaintext highlighter-rouge">Mul</code>, <code class="language-plaintext highlighter-rouge">DivRem</code>, <code class="language-plaintext highlighter-rouge">Pow</code>, <code class="language-plaintext highlighter-rouge">ToString</code>, <code class="language-plaintext highlighter-rouge">ToI64</code> (an <code class="language-plaintext highlighter-rouge">Err</code> when out of range) and more, and implements <code class="language-plaintext highlighter-rouge">Equatable</code> and <code class="language-plaintext highlighter-rouge">Comparable</code></li>
</ul>

<p>We also brought the language specification up to date with the implementation. The main changes: concurrency uses OS threads, <code class="language-plaintext highlighter-rouge">Integer</code> was replaced by <code class="language-plaintext highlighter-rouge">Zevic.BigInt</code>, and open questions settled by the implementation were tidied up.</p>]]></content><author><name></name></author><summary type="html"><![CDATA[v0.4.2 is the Thread and BigInt release.]]></summary></entry></feed>