cosmic
zig
Our great sponsors
cosmic | zig | |
---|---|---|
8 | 593 | |
262 | 19,735 | |
- | 2.7% | |
9.6 | 10.0 | |
5 days ago | about 18 hours ago | |
Zig | Zig | |
MIT License | MIT License |
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.
cosmic
-
Zig is becoming more production-worthy - zigmonthly
What if you could develop native applications in JavaScript or WASM, with a runtime that is not Electron? Cosmic is one answer to that, and a project to keep an eye on for sure:
-
Updates to Cosmic Graphics, Text, UI.
Example can be found at https://github.com/fubark/cosmic/blob/master/ui/examples/text_demo.zig
-
UI Engine in Zig
Definitely want to target Vulkan/Metal/DirectX. Also would like to support WebGPU when it's ready. The drawing is conveniently abstracted away in https://github.com/fubark/cosmic/blob/master/graphics/src/graphics.zig
More details about the UI engine and how to use it in your own zig projects can be found here: https://github.com/fubark/cosmic/tree/master/ui
zig
- Just found out about Zig and wonder what would be the best graphics library to pair with it?
-
TigerBeetle raises $6.4M to power the future of financial accounting infra
Yup, I am that matklad. I have thoughts, will put then into a post some time soonish.
zig-analyzer is great — much further along than I’d expected at this point. Though, I am still curious what the end game IDE support would look. https://github.com/ziglang/zig/issues/3028 is a big component of that.
-
hey i am just curious what programmers think about Carbon and Cppfront ? which is likely to succeed ?
I'm more interested in Zig right now, it looks like a great way to incrementally improve an existing C or C++ code base. I haven't toyed with it yet, but I'd be eager to try it in a project.
-
Why is Zig so much more successful than Crystal and Nim?
correction: zig does not have a built-in, special hash table. Both ArrayHashMap and HashMap are implemented in the standard library.
-
Help with linking a git submodule for a zig project
I'm currently getting into zig and I am trying to make a flake for a test application and i need a zig library mach-glfw for windowing support. Zig is in the process of getting a package manager so for now an idiomatic way of working with 3rd party libraries seems to be to add them as a git submodule in a folder called libs in the project root directory and link them from build.zig
-
Would you want to learn Embedded System Development in Ruby?
Depends on what you mean by embedded? Microcontrollers (AVG/Arduino)? System-on-a-Chip (SoC)? Embedded Linux system (Raspberry Pi, ARM/MIPS, etc)? There is mrubyc which has been put onto various embedded systems. However, if you want raw performance and minimal memory usage, C is probably still the best option; although it is notoriously difficult to write secure code in C, which is why Rust and Zig are becoming popular for embedded development.
- Bun v0.5
- Runtimes JavaScript [pt-br]
-
Am I missing the point, or is the "generics" example wrong?
Take a look at the implementation of ArrayList. It allocates a buffer of .capacity sizeof(T) and maintain a slice (.items) that fits exactly the currently used capacity. myList.capacity is the capacity, and myList.items.len is the used-capacity. Not the same name.
What are some alternatives?
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
Odin - Odin Programming Language
v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
rust - Empowering everyone to build reliable and efficient software.
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
go - The Go programming language
TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
crystal - The Crystal Programming Language
llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: the repository does not accept github pull requests at this moment. Please submit your patches at http://reviews.llvm.org.
ssr-proxy-js - A Server-Side Rendering Proxy focused on customization and flexibility!
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
zig-range - A range function to loop over an index without an extra variable.