News for hackers. Stuff that matters.
Re:Vacietis, a C compiler targeting Common Lisp by brabel on Saturday December 26, 2020 @04:50AM (#25542423)
One possible approach today is to compile C to WASM, then run WASM on the JVM as GraalVM supports WASM. https://www.graalvm.org/reference-manual/wasm/
Re:Vacietis, a C compiler targeting Common Lisp by remexre on Saturday December 26, 2020 @03:52PM (#25546374)
If you're using GraalVM already, I think Sulong might be better -- my experience with WASM (for C) is that there's a bevy of POSIX-correct-but-ANSI-incorrect tricks that don't work properly on WASM. Debugging is also much nicer with LLVM IR (worst-case, just compile it to a binary and gdb that) than WASM (Firefox doesn't show the stack, Chrome has sourcemap bugs).