9front - general discussion about 9front
 help / color / mirror / Atom feed
From: jacoblevgw@gmail.com
To: 9front@9front.org
Subject: Re: [9front] Zig on Plan 9
Date: Sun, 11 Jul 2021 14:01:12 -0400	[thread overview]
Message-ID: <5AD533C115150750E44B7B9CAB18EB4A@gmail.com> (raw)
In-Reply-To: <20210711061702.ren52hmii3hcyyfh@BlackBox>

Quoth Stephen Gregoratto <dev@sgregoratto.me>:
> It appears that the first inklings of Plan 9 support for Zig have
> arrived[1]. At this stage it's mostly a proof of concept for their
> home-grown linker than anything else, but it's neat that it exists.
> -- 
> Stephen Gregoratto
Hi, I am the author of this linker. Thanks for noticing it! It uses the self-hosted x64 (and now aarch64) backend, so it should support anything that those backends support. I had to add some more inline assembly support, but now it supports syscalls and can do hello world. :) See https://patch-diff.githubusercontent.com/raw/ziglang/zig/pull/9337.patch
I think the hardest part will be the brute work of integrating plan9 into the standard library. Once the self-hosted compiler gets a little better, I will start doing this.
--
Jacob G-W

      parent reply	other threads:[~2021-07-11 21:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-11  6:17 Stephen Gregoratto
2021-07-11 12:02 ` Nick Owens
2021-07-11 12:38   ` Stephen Gregoratto
2021-07-11 18:01 ` jacoblevgw [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5AD533C115150750E44B7B9CAB18EB4A@gmail.com \
    --to=jacoblevgw@gmail.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).