Yes, there's absolutely a world of difference between having rust-the-language available vs rust-the-ecosystem available. Frankly, this is what amazes me the most about golang's portability.
Paul On Mon, Jun 30, 2025, 2:31 p.m. <[email protected]> wrote: > I've heard reports of interesting trickery using linker scripts, where > you just compile to a flat binary and then toss an a.out header on it. > Then, from there, a few assembly stubs will probably work to make > running programs. > > The rest of the work is just reinventing the world, since so much of > the code out there is going to depend on libraries that use mmap, > curses, select/poll/epoll/io_uring/kqueue/..., and you're probably > not going to get far just naively pulling in deps. > > Quoth Paul Lalonde <[email protected]>: > > 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 Permalink: https://9fans.topicbox.com/groups/9fans/Tf84d656c78bbda91-M946d0de4d7ae1744d5c274d1 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
