Our great sponsors
a readable language that grows from the silicon
I've been writing my own language, fngi, which is inspired by Forth to create an extremely minimal language. However, I'm considering doing a rewrite and in so doing am taking a second look at some other languages.
QBE IR in natural Rust data structures
So my question is this: if a backend like QBE (~12k Loc) was added to Zig and Zig only had to compile Zig code (no C, etc) for that QBE backend -- about how many LoC would that Zig need to be?
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Build ANY project in ANY Language with Zig.
First, I recently started a new project in this area that might interest you: https://github.com/bettertools/zigenesis
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Next, you've come at a very exciting time, that C++ LOC number was alot higher yesterday. Last night Andrew merged a change to remove the old stage1 C++ compiler which removed about 100,000 LOC (https://github.com/ziglang/zig/pull/13560). The bootstrap process for Zig from a C compiler is pretty "interesting" now. Zig includes a compiled version of itself inside the repo now that is in the WASM format and also includes a WASM interpreter written in C...both of which are used to bootstrap from a C toolchain now.
Official Lemmy instance to migrate off reddit
5 projects | /r/rust | 5 Jun 2023
C or LLVM for a fast backend?
3 projects | /r/ProgrammingLanguages | 2 Jun 2023
Why is Swift so slow (timeout) in compiling this code?
5 projects | news.ycombinator.com | 30 May 2023
A whirlwind tour of the LLVM optimizer
1 project | news.ycombinator.com | 12 May 2023
Made my first LLVM front-end… Now what?
2 projects | /r/Compilers | 9 May 2023