I like the V language - while much like Go, interoperates with C quite well. In fact its first compiler was written in Go. Compiles itself in under a sec on m1 mac & ryzen 2700 (v->c which is then compiled with tcc). The "production" version compiles in about 3s on the mac and 6s on freebsd (splits generated C code in N files and compiles in parallel with the system cc). Still at version 0.4.11 but already seems useful.
Targetting it to plan9 ?c compilers would be far easier than porting llvm. Most of the effort will likely be in separating Unix/Linuxisms. https://vlang.io/ [I want to write something like busybox to gain experience, but no ETA] [I dislike slow compiles and behemoth compilers so not much interested in anything that requires llvm or gcc] > On Jun 30, 2025, at 12:40 PM, Paul Lalonde <[email protected]> wrote: > > I've thought of bringing Rust along. It seems to be a thing in the world > I'm finding myself in these days. > The shortest path looks like adding the plan9 calling convention (and > register convention) to LLVM and seeing if we can cross-compile our way to > glory. > But I'm certain I'm missing 100 other related things that will be much harder. > Paul > > On Mon, Jun 30, 2025 at 9:51 AM Danny Wilkins via 9fans <[email protected]> > wrote: > On Mon, Jun 30, 2025 at 10:31:40AM -0400, [email protected] wrote: > > > > The bigger problem is interest -- I don't have perl code I care > > to run, does anyone else here? > > > Technically I have a few perl tools that'd be nice to have on 9front, but > not nice enough to go through the trouble of porting when I plan on rewriting > them in C anyway. IMO Perl suffers from the 'problem' that you don't really > write big s Software in it a lot of the time. It's pretty bespoke and that > niche is handled much better by rc and awk on plan9 (I could easily rewrite > those perl tools in rc+awk, but I'm not guaranteed to have rc on my linuxes.) > > Python would probably be the most practical of the 'missing' languagess, but > python was already in base installs for a long time due to hg, wasn't it? > > Obviously what needs to push is rust and node so that p9 can be a real > next gen server platform :) Think of all the apps we could run with electron. > 9fans / 9fans / see discussions + participants + delivery options Permalink ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tf84d656c78bbda91-Me2a11405114171cd48691d2b Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
