|2 days ago||2 days ago|
|GNU General Public License v3.0 or later||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.
Stop Comparing Rust to Old C++
7 projects | reddit.com/r/cpp | 31 Jan 2023
There are three. The official one, mrustc (no borrow checker, but can essentially compile the official rustc) and GCC (can't really compile anything substantial yet). Only rustc is production-ready though.
Moving and re-exporting a Rust type can be a major breaking change
2 projects | reddit.com/r/rust | 31 Jan 2023
By following this issue to this issue comment, I think the reason is the sheer complexity of tuple struct constructor: * The syntax of tuple struct constructor is the same as either a function call or a constant, so to make life easier, the rust devs made it a function or a constant, i.e. declaring a tuple struct with pub fields also fills the value namespace with a function or constant. * Named field struct constructor is cannot be mistaken for a function call, so rust devs are free to let user construct them with type aliases.2 projects | reddit.com/r/rust | 31 Jan 2023
Relevant rustc issue
Anybody else having this kind of colleague? Way to start a Monday!
3 projects | reddit.com/r/ProgrammerHumor | 30 Jan 2023
Not that hard if you're writing Rust: https://github.com/rust-lang/rust/pull/29837 and the like.
Hey Rustaceans! Got a question? Ask here (5/2023)!
7 projects | reddit.com/r/rust | 30 Jan 2023
Swift Achieved Dynamic Linking Where Rust Couldn't
10 projects | news.ycombinator.com | 29 Jan 2023
Love the article.
In my mind I see the problem of dynamic linking in rust to have a bunch of overlap with the "I want this rust library to be exposed in my higher level GC'd language with minimal safety/handwritten bindings" problem.
My hunch is that the lack of expressiveness of the C ABI is holding back both. the thing I'd love to see some sort of "higher level than the C ABI" come out. And something like `wasm-bindgen` to exist for more languages.
Here's a link to the rust "interopable_api" proposal! I don't understand all the implications, but it seems to be in the right direction https://github.com/rust-lang/rust/pull/105586
How do I return a value from match construct?
2 projects | reddit.com/r/learnrust | 29 Jan 2023
GitHub issue tracking implementation of RFC 2005: https://github.com/rust-lang/rust/issues/42640
What would make you try a new language?
8 projects | reddit.com/r/ProgrammingLanguages | 29 Jan 2023
The "Why Rust" section just under that slogan makes it clear enough what sort of language it is and whether it might suit your needs. It can't be done in a headline ... https://www.rust-lang.org/
Rust’s Ugly Syntax
Glad you like it 🙂 https://github.com/rust-lang/rust/pull/58530
Nim and Go programs identified as malware on Windows
4 projects | news.ycombinator.com | 31 Jan 2023
We ship Microsoft-signed Win32 binaries via PyPI, and I regularly have to go and deal with new releases being reported as malware.
Granted, this is a debugger, which among other things contains code to inject threads into running processes - which, of course, trips any decent heuristic scanner. But there are many broadly legitimate patterns that are also useful to malware and so get falsely reported as such, e.g. https://github.com/nim-lang/Nim/pull/197674 projects | news.ycombinator.com | 31 Jan 2023
Rust’s Ugly Syntax
Scala 3 and Nim took inspiration from the Python indentation based syntax. I find it a bit more readable than Rust/C/Java syntax, but there are also downsides.
The Python Paradox
7 projects | news.ycombinator.com | 26 Jan 2023
Interesting. I saw shades of this when I tried porting a tool over to Nim, found it was much slower than trivial code in Python and Groovy, then stumbled into this discussion:
Nothing as strong as the above but it definitely rubbed me the wrong way. So much advertising about Nim being efficient/fast and the default way to read a file is incredibly slow and inefficient .... and they don't care.
Can't download Nim. "Failed - Virus Detected"
3 projects | reddit.com/r/nim | 20 Jan 2023
Now clone the Nim project: git clone https://github.com/nim-lang/Nim.git
Some reasons to avoid Cython
2 projects | reddit.com/r/Python | 20 Jan 2023
Nim and Codon are Python-inspired compiled languages which I find interesting.
Today is y2k38 commemoration day
https://github.com/nim-lang/Nim/commit/2843f272bd20be838031fc732f76fd1a3fcba98c seems to not be on any branch, so https://github.com/nim-lang/Nim/blob/devel/lib/pure/oids.nim#L25 still has int64.
/u/bmwiedemann, I recommend you reopen https://github.com/nim-lang/Nim/issues/20285 because the last attempted fix seems to have been reverted.
I made a port scanner
3 projects | reddit.com/r/hacking | 15 Jan 2023
Are you sure google can’t find this? https://nim-lang.org/
What are some alternatives?
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
go - The Go programming language
crystal - The Crystal Programming Language
haxe - Haxe - The Cross-Platform Toolkit
Elixir - Elixir is a dynamic, functional language designed for building scalable and maintainable applications
Odin - Odin Programming Language
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
scala - Scala 2 compiler and standard library. For bugs, see scala/bug
NumPy - The fundamental package for scientific computing with Python.