cpp-vs-rust
v-mode
cpp-vs-rust | v-mode | |
---|---|---|
11 | 89 | |
15 | 57 | |
- | - | |
10.0 | 0.0 | |
over 1 year ago | over 1 year ago | |
Rust | Emacs Lisp | |
GNU General Public License v3.0 only | 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.
cpp-vs-rust
-
C++ vs. Rust Build Times
> They seem to have chosen to use mold for C++ and not for Rust after seeing that it gave little benefit for small projects, but I would expect that to change as the project scales.
The benchmarks show Mold for both Rust and C++. This wasn't explicitly stated in the article; sorry. https://github.com/quick-lint/cpp-vs-rust/blob/f8d31341f5cac...
-
Is coding in Rust as bad as in C++? A practical comparison
Very well-researched article (in my uninformed opinion because I've done virtually no benchmarking). I'd summarize it as, Rust doesn't significantly improve build times over C++ for a project where you need to frequently recompile to test the logic of the code. I gather that the Rust code is pretty idiosyncratic (using raw pointers rather than slices and custom owned and borrowed string containers with i32 length and capacity fields), but I don't know why more idiomatic Rust code would be faster to compile, and it could be very different, so a worse comparison. The results aren't relevant for me because I use Rust mainly for the language features and don't have a project with terrible compile times or the need to often rerun tests, but there might be other C++ projects in the same boat as quick-lint-js that would consider moving to Rust if it compiled faster than C++. Hopefully the efforts of people like u/nnethercote will make that happen.
v-mode
-
Things I've learned about building CLI tools in Python
Fingers crossed for vlang[0]. It's like golang with better types and more syntactic sugar. Feels like a proper upgrade from Python.
I really hope they succeed.
[0]: https://vlang.io/
- Ask HN: Who is developing a programming language that compiles to C?
- The V Programming Language 0.4
-
Ah, Go, with its simple and straightforward syntax, where things just make sense (most of the time, before generics were added)
And again a No true Scotsman. If that's the kind of attitude you have towards languages, you'll appreciate V infinitely more than you might be appreciating Rust. After all, it offers better solutions than Rust, like autofree, they just aren't there yet :)
-
Why is Vlang's autofree model not more widely used?
I discovered VLang today. It's an interesting project.
-
Seed7 version 2023-05-29 released on GitHub and SF
According to their own benchmarks, Seed7 can run faster than C (it compiles to C, but it's entirely possible the emited code is better optimized than a human could write directly in C)... it doesn't have a GC BUT manages memory automatically (I didn't really follow the explanation in the FAQ, something about automatically freeing variables that go out of scope and keeping only one reference around?)... that's like a current pipe dream for language designers! From https://vale.dev/ to https://vlang.io/, no one has pulled that off yet, to my knowledge... has Seed7 done that all those years ago?!
-
Eggcellent Adventure - announcement
Help V programming language to gain more popularity and show to game development community that this is a good language for game development
-
As a Go developer, I’m surprised Crystal isn’t more popular
Try http://vlang.io
- Go superset
What are some alternatives?
rust - Empowering everyone to build reliable and efficient software.
Odin - Odin Programming Language
rustybuzz - A complete harfbuzz's shaping algorithm port to Rust
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
inox2d - Native Rust reimplementation of Inochi2D
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).
sccache - Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
dmd - dmd D Programming Language compiler
tiny-skia - A tiny Skia subset ported to Rust
Vale - Compiler for the Vale programming language - http://vale.dev/
swift-nonempty - 🎁 A compile-time guarantee that a collection contains a value.
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