Bronze
Nim
Bronze | Nim | |
---|---|---|
6 | 348 | |
35 | 16,111 | |
- | 0.7% | |
0.0 | 9.9 | |
12 months ago | 4 days ago | |
Rust | Nim | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
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.
Bronze
-
New C++ features in GCC 12
Increasingly feeling that Rust is like Elm: a language with novel ideas, teaching valuable lessons (a vocabulary for teaching and checking thread safety, documenting exclusive vs. shared mutability in the type system, arguably a vocabulary for teaching and checking memory safety, though that comes at a steep cost), yet so stubborn the community treats its values (avoiding shared mutability) as moral judgments of code, and the language and deliberately obstructs writing code outside of approved patterns (single ownership tree, exclusive mutability). struct{Cell...}& doesn't need to be harder to use than C++ struct{T...}*, but Rust keeps it difficult because the community views it as bad code design and wants to keep it hard. And *mut T lacks RAII unlike C++'s unique_ptr, and requires unsafe blocks in every dereference. As a result, people turn to unsound patterns like https://github.com/kimundi/owning-ref-rs, https://github.com/mcoblenz/Bronze/, and https://github.com/emu-rs/snes-apu/blob/master/src/smp.rs#L5....
It's a good language to learn. I hesitate to consider it a replacement for asm/C/C++. Writing rust is hoping that the code you're porting to rust can adapt well to the restrictions, and if not, searching for esoteric and needlessly unsafe/verbose workarounds.
-
Being Fair about Memory Safety and Performance
Except the argument is right. Rust makes certain patterns (shared mutability in console emulators, dynamic lifetimes in Wayland) tricky to wrap with a safe abstraction, tedious to access with an unsafe abstraction (unsafe blocks, Arc cloning and raw pointer methods or RefCell borrows or Cell get/set, everywhere), and easy but wrong to wrap with an unsound abstraction (again) which can produce aliased &mut. Meanwhile in C++, pointer aliasing and manual memory lifetime management is both legal and ergonomic, and no more dangerous than unsafe Rust code.
-
Does the Bronze Garbage Collector Make Rust Easier to Use?
It's not about the internals of the GC. It's about the API that it exposes to users.
The author has some ideas: https://github.com/mcoblenz/Bronze/issues/2#issuecomment-939...
-
Does the Bronze Garbage Collector Make Rust Easier to Use? A Controlled Experiment
However, in fact-checking myself, I discovered a wrinkle: Bronze's GC doesn't actually do this, and is thus unsound. And someone has already filed an issue on their GitHub repo: https://github.com/mcoblenz/Bronze/issues/2
Nim
- The search for easier safe systems programming
- 3 years of fulltime Rust game development, and why we're leaving Rust behind
-
Top Paying Programming Technologies 2024
22. Nim - $80,000
-
"14 Years of Go" by Rob Pike
I think the right answer to your question would be NimLang[0]. In reality, if you're seeking to use this in any enterprise context, you'd most likely want to select the subset of C++ that makes sense for you or just use C#.
[0]https://nim-lang.org/
- Odin Programming Language
-
Ask HN: Interest in a Rust-Inspired Language Compiling to JavaScript?
I don't think it's a rust-inspired language, but since it has strong typing and compiles to javascript, did you give a look at nim [0] ?
For what it takes, I find the language very expressive without the verbosity in rust that reminds me java. And it is also very flexible.
[0] : https://nim-lang.org/
-
The nim website and the downloads are insecure
I see a valid cert for https://nim-lang.org/
-
Nim
FYI, on the front page, https://nim-lang.org, in large type you have this:
> Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula.
-
Things I've learned about building CLI tools in Python
You better off with using a compiled language.
If you interested in a language that's compiled, fast, but as easy and pleasant as Python - I'd recommend you take a look at [Nim](https://nim-lang.org).
And to prove what Nim's capable of - here's a cool repo with 100+ cli apps someone wrote in Nim: [c-blake/bu](https://github.com/c-blake/bu)
-
Mojo is now available on Mac
Chapel has at least several full-time developers at Cray/HPE and (I think) the US national labs, and has had some for almost two decades. That's much more than $100k.
Chapel is also just one of many other projects broadly interested in developing new programming languages for "high performance" programming. Out of that large field, Chapel is not especially related to the specific ideas or design goals of Mojo. Much more related are things like Codon (https://exaloop.io), and the metaprogramming models in Terra (https://terralang.org), Nim (https://nim-lang.org), and Zig (https://ziglang.org).
But Chapel is great! It has a lot of good ideas, especially for distributed-memory programming, which is its historical focus. It is more related to Legion (https://legion.stanford.edu, https://regent-lang.org), parallel & distributed Fortran, ZPL, etc.
What are some alternatives?
owning-ref-rs - A library for creating references that carry their owner with them.
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
cxx20-modules-examples - C++20 modules examples
go - The Go programming language
alias-ptr - (Mostly) safe manually-freed shared pointers in Rust
Odin - Odin Programming Language
snes9x - Snes9x - Portable Super Nintendo Entertainment System (TM) emulator
rust - Empowering everyone to build reliable and efficient software.
snes-apu - A Super Nintendo audio unit emulator.
crystal - The Crystal 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
haxe - Haxe - The Cross-Platform Toolkit