Re: [9fans] Plan9 C compiler targetting WASM

2024-12-19 Thread Matt Wilbur
As someone who works in embedded systems in a horrible train-wreck of C++, I second this heartily. On Thu, Dec 19, 2024 at 7:02 AM Cyber Fonic wrote: > I admire the cross-compilation capabilities of Plan9. Compared to gcc and > Clang, Plan9 C compilers appeal to my sense of aesthetics. There are

Re: [9fans] Plan9 C compiler targetting WASM

2024-12-19 Thread Cyber Fonic
I admire the cross-compilation capabilities of Plan9. Compared to gcc and Clang, Plan9 C compilers appeal to my sense of aesthetics. There are some utilities that I would like to port to browser environments and I am loath to use plan9port sources and thus wrangle with gcc, etc. I totally concur w

Re: [9fans] Plan9 C compiler targetting WASM

2024-12-18 Thread moody
Just wanted to note that in addition (and with the help of) Richard Miller's work on riscv, I was able to import the userspace portions for riscv into 9front. The result of that work is not merged (there has yet to be someone that has put in the work to write a 9front kernel for riscv) however t

Re: [9fans] Plan9 C compiler targetting WASM

2024-12-18 Thread gnufan42 via 9fans
> Does anybody know of any implementation of Plan9 C compiler targeting WASM ? I don't think there is one. I found a project that claims to be a WebAssembly port of Plan9 not long time ago: https://github.com/xphung/plan9_webasm, and they used Emscripten. If you want a Plan9 C compiler targeting

Re: [9fans] Plan9 C compiler targetting WASM

2024-12-17 Thread Richard Miller
> On a related note: I believe there was some work being done to target > RISC-V. I can't remember who or where it was located. The riscv (ia/ic/il) and riscv64 (ja/jc/jl) toolchain is available in 9legacy Also can be built from sources/contrib/miller/riscv.tar -

Re: [9fans] Plan9 C compiler targetting WASM

2024-12-17 Thread arnold
Is there a version of ken-cc that can be used as an alternative C compiler to compile regular old code on Linux? Thanks, Arnold "Daniel Maslowski via 9fans" <9fans@9fans.net> wrote: > Regarding RISC-V: > Richard Miller did the port, and there is also an updated kencc. Michael > Engel has it her

Re: [9fans] Plan9 C compiler targetting WASM

2024-12-17 Thread Daniel Maslowski via 9fans
Regarding RISC-V: Richard Miller did the port, and there is also an updated kencc. Michael Engel has it here, also referencing Richard's work: https://github.com/michaelengel/kencc-cross On Sun, 15 Dec 2024, 15:46 Cyber Fonic, wrote: > My Google-fu is not coming up with any definitive results. >

[9fans] Plan9 C compiler targetting WASM

2024-12-15 Thread Cyber Fonic
My Google-fu is not coming up with any definitive results. Does anybody know of any implementation of Plan9 C compiler targeting WASM ? On a related note: I believe there was some work being done to target RISC-V. I can't remember who or where it was located. Appreciate any references or comment