stage0
bug
stage0 | bug | |
---|---|---|
22 | 16 | |
888 | 230 | |
- | 0.0% | |
3.9 | 4.6 | |
3 months ago | 24 days ago | |
Assembly | ||
GNU General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
stage0
- Running the "Reflections on Trusting Trust" Compiler
- Stage0: A minimal bootstrapping path to a C compiler capable of compiling GCC
- Goodbye to the C++ Implementation of Zig
- Stage0 – A set of minimal dependency bootstrap binaries
-
Nixpacks takes a source directory and produces an OCI compliant image
Somewhat tangential, but I'm curious how big the bootstrap seed for Nix is. That is, if you wanted to build the entire world, what's a minimum set of binaries you'd need?
Guix has put quite a bit of work into this, AFAIU, and it's getting close to being bootstrappable all the way from stage0 [0]. Curious if some group is also working on similar things for Nix.
[0]:https://github.com/oriansj/stage0
-
"Do you believe that every upstream project... is examined by an expert who can accurately identify whether said project contains malware...?"
https://www.bootstrappable.org/ has some good info. Reading the source of https://github.com/oriansj/stage0 is also very enlightening. It's set its goal to be understandable by 70% of programmers.
- Stage0 - A set of minimal dependency bootstrap binaries
-
Common libraries and data structures for C
Even if they aren't, people absolutely should be able to bootstrap new platforms from scratch. It's important to have confidence in our tools, in our ability to rebuild from scratch, and to be safe against the "trusting trust" attack among other things.
Lately I've been catching up on the state of the art in bootstrapping. Check out the live-bootstrap project. stage0 starts with a seed "compiler" of a couple hundred bytes that basically turns hex codes into bytes while stripping comments. A series of such text files per architecture work their way up to a full macro assembler, which is then used to write a mostly architecture-independent minimal C compiler, which then builds a larger compiler written in this subset of C. This then bootstraps a Scheme in which a full C compiler (mescc) is written, which then builds TinyCC, which then builds GCC 4, which works its way up to modern GCC for C++... It's a fascinating read:
https://github.com/oriansj/stage0
https://github.com/fosslinux/live-bootstrap/blob/master/part...
Even if no one is "using" this it should still be a primary motivator for keeping C simple.
-
How To Build an Evil Compiler
One countermeasure not mentioned here is bootstrapping a compiler with a program small enough to be manually verified. The stage0 project is under 1KB (small enough that the binary can be, and has been, manually checked against the hand written assembly), and GNU Guix (a system for reproducible, isolated builds) is currently working on moving it's bootstrap speed to stage0. That means that, fairly soon, there will be a large set of software that doesn't have a connection to an original C compiler.
- A minimal C compiler in x86 assembly
bug
-
Ruby's private keyword is weird
Thank you for sharing!
It looks like the Scala project found allowing protected[this] fields as an escape hatch for variance to be unsound:
https://github.com/scala/bug/issues/7093
Going to have to chew on that and what it means for the same feature in Sorbet…
Thanks again for bringing this up!
-
how to setup scala
I have a new windows 10 and downloaded the Coursier installer from scala-lang.org, the https://docs.scala-lang.org/getting-started/index.html says that you should have either java8 or java11 installed but most tutorials online and posts says to install latest version of java, which java jdk version should I install or does Coursier install it for me or do I choose the latest jdk (java-jdk-19)?
-
Languages That Don't Dogfood 🤔
Scala
- Immutable Map in a var, or mutable Map in a val?
-
Scala isn't fun anymore
All of those dependencies are Java dependencies, not Scala libraries, except for one, and it's a known problem that is to some extent solved already and should be fully solved very soon. https://github.com/scala/bug/issues/12632
- Security static analysis tooling for Scala?
- Map Performance: Java vs Scala
-
The “Either” Issue
I had met the core developers, we had discussing a lot about which technology would better address our demand and, after many considerations, we had chosen Scala.
-
Next programming language?
i like scala. it combines object-oriented and functional programming into one high-level language, which makes it fun to learn. i don't know if it is popular in the robotics industry, but it runs on the jvm and can be combined with java, so there is that. i recommend the book "programming scala".
-
Scala REPL error when scala3 & scala 2 implemented with coursier installed with homebrew
See https://github.com/scala/bug/issues/12491 for info and workarounds. A fix will land in Scala 2.13.8.
What are some alternatives?
rizin - UNIX-like reverse engineering framework and command-line toolset.
scalafix-organize-imports - A CI-friendly Scalafix semantic rule for organizing imports
arocc - A C compiler written in Zig.
libcperciva - BSD-licensed C99/POSIX library code shared between tarsnap, scrypt, kivaloo, spiped, and bsdiff.
chibicc - A small C compiler
Scalafix - Refactoring and linting tool for Scala
swc - Rust-based platform for the Web
c4 - C in four functions
Befunge - lang befunge 93 fast
pkgconf - package compiler and linker metadata toolkit
bamboomigrate - bamboomigrate is a typelevel transformation and migration library