zig-bootstrap
badger
zig-bootstrap | badger | |
---|---|---|
8 | 4 | |
332 | 72 | |
1.5% | - | |
7.1 | 0.0 | |
8 days ago | about 2 years ago | |
C | Nim | |
- | - |
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.
zig-bootstrap
-
Zig for Raspberry Pi 2 Model B
if you know what compiler target is used on your pi 2 you can probably get someone to cross compile it for you. https://github.com/ziglang/zig-bootstrap This should be reasonably easy to use.
-
Compiling Zig with Low RAM (16GB)?
Use Zig Bootstrap, it is easier. And It should work on 16gb.
-
compile zig based on llvm-14
you can cross compile for armv7a with zig-bootstrap
-
Zig is now self–hosted by default
They have a project for maintaining this: https://github.com/ziglang/zig-bootstrap
- Looking into Zig
-
[Discussion] I firmly believe a self hosted compiler is a huge security risk that *should not* be undertaken.
I think that's the purpose of the zig-bootstrap project. By having these dependencies installed: clang, llvm, python3, cmake (notice no zig) you end up with zig compiled.
-
Zig 0.8.0 Released!
The current state is that they offer a repo with LLVM and the stage1 (C++) compiler, which should build on any system that can build LLVM (so any system with a modern C++ compiler and build tools). Or you can grab the upstream Zig code and build it against regular LLVM 12 yourself using an existing LLVM 12 clang/etc stack.
- Zig 0.8.0 Release Notes
badger
- How to get clean simple C output?
-
The Toit language is now open source
Nothing about the entire ecosystem I was talking about. But my initial work on the keyboard firmware can be found here: https://github.com/PMunch/badger/tree/final. There are many different projects in Nim running on microcontrollers though, but not something on a common ecosystem.
HHL?
-
Nim Version 1.6 Released
Well no language is perfect, but Nim can be used in almost every domain because of it's compilation targets(C, C++, JS) and it's fast compile times(who needs interpretation when compile times are that fast!):
* Shell scripting, I still assume most people will just use Bash tho: https://github.com/Vindaar/shell
* Frontend: https://github.com/karaxnim/karax or you could bind to an existing JS library.
* Backend: For something Flask-like: https://github.com/dom96/jester or something with more defaults https://github.com/planety/prologue
* Scientific computing: the wonderful SciNim https://github.com/SciNim
* Blockchain: Status has some of the biggest Nim codebases currently in production https://github.com/status-im?q=&type=&language=nim&sort=
* Gamedev: Also used in production: https://github.com/pragmagic/godot-nim and due to easy C and C++ interop, you get access to a lot of gamedev libraries!
* Embedded: this is a domain I know very little about but for example https://github.com/elcritch/nesper or https://github.com/PMunch/badger for fun Nim+embedded stuff!
Most of the disadvantages come from tooling and lack of $$$ support.
-
Looking into Zig
I think the fact that Nim compiles to C is neat in that you can use it on any platform that has a C compiler.
Here is a recent project that uses nim for AVR platforms, for example: https://github.com/PMunch/badger
What are some alternatives?
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
jester - A sinatra-like web framework for Nim.
osxcross - Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)
skybison - Instagram's experimental performance oriented greenfield implementation of Python.
live-bootstrap - Use of a Linux initramfs to fully automate the bootstrapping process
ulisp - A version of the Lisp programming language for ATmega-based Arduino boards.
MacOSX-SDKs - A collection of those pesky SDK folders: MacOSX10.1.5.sdk thru MacOSX11.3.sdk
toit-color-tft
gccrs - GCC Front-End for Rust
toit-lsm303dlhc - Driver for the LSM303DLHC
tigerbeetle - A distributed financial accounting database designed for mission critical safety and performance. [Moved to: https://github.com/tigerbeetledb/tigerbeetle]
cps - Continuation-Passing Style for Nim đź”—