TrumpScript
DISCONTINUED
rust
Our great sponsors
TrumpScript | rust | |
---|---|---|
4 | 2306 | |
7,386 | 79,140 | |
- | 2.5% | |
10.0 | 10.0 | |
over 3 years ago | 7 days ago | |
Python | Rust | |
MIT 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.
TrumpScript
-
Are there any programming languages written in Russian?
One of rewrited PL, same shit like TrumpScript (https://github.com/samshadwell/TrumpScript), good practice for developers.
-
I'm serious. try and change my mind
TrumpScript has the best error message: they are quotes directly taken from Trump himself.
rust
-
f-strings in Rust!
format_args! is now part of the AST. https://github.com/rust-lang/rust/pull/106745
I've opened a PR to add format strings in Rust, I'd appreciate any feedback that anyone has: https://github.com/rust-lang/rust/pull/109647
-
Announcing `stabby`: a stable ABI for Rust with niche optimizations and much more!
"Experimental feature gate proposal interoperable_abi #105586"
-
Embedded Rust on BBC Micro Bit: unlocking Vec and HashMap
As an engineer having spent most of 2022 learning the Rust language, I was a little worried about the no_std side of embedded systems programming.
The reason we are providing our own hasher is that the default one relies on the sys crate which is platform dependent. Our platform being unsupported, the associated implementation either does nothing or fails.
-
The Tug-of-War over Server-Side WebAssembly
Further down that GitHub issue, it mentions the problem has been fixed:
* https://github.com/rust-lang/rust/issues/71871#issuecomment-...
* https://github.com/rust-lang/rust/pull/79998
Weirdly though, there's another issue (opened prior) that's ongoing and seems to indicate things aren't fixed after all:
>wasm32-unknown-unknown has an ABI incompatibility which means you cannot interoperate between C compiled to Wasm and Rust compiled to Wasm.
Since I was surprised to learn this, and to save everyone else the search, it's https://github.com/rust-lang/rust/issues/71871
-
Introducing fnv_rs, a rust implementation of the fast FNV1a hashing algorithm with support for 32, 64, 128, 256, 512, & 1024 bit outputs
Beyond that, it can also be really useful for catching bugs due to incorrect assumptions, just like with map seeding. That's why Rust now has -Zrandomize-layout to catch cases where code assumed that a Rust struct had a particular layout or even that any two different structs had the same layout.
-
Did you have a hard time grasping smart pointers introduced in the Rust book?
The reasoning behind this is that if there are no more strong references but weak references still exist, the weak references need to refer back to the same memory, which won't be possible if the memory has already been freed. A bit counter intuitive and I got amazed when I first learned it. If you're interested in the details, check out the source code.
-
Testing the stdout of a RawTerminal
There's no magic behind Stdout. It is just like writing bytes into files and any types that implement std::io::Write playground. RawTerminal is merely a wrapper for Stdout, and Stdout is an empty struct that implements io::Write that calls a libc function that displays the written bytes to our terminal.
What are some alternatives?
carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
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).
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]
mimalloc - mimalloc is a compact general purpose allocator with excellent performance.
scala - Scala 2 compiler and standard library. For bugs, see scala/bug
go - The Go programming language
Rustup - The Rust toolchain installer
spaCy - 💫 Industrial-strength Natural Language Processing (NLP) in Python
opencascade.js - Port of the OpenCascade CAD library to JavaScript and WebAssembly via Emscripten.