Skip to content
#

Rust

rust logo

Rust is a systems programming language created by Mozilla. It is similar to C++, but is designed for improved memory safety without sacrificing performance.

Here are 13,786 public repositories matching this topic...

bat
clarfon
clarfon commented Sep 21, 2019

I've been trying to export most of my dotfile-type configs to system packages I can install. A lot of programs offer the option for both a system and a user config (e.g. git reads from /etc/gitconfig, then ~/.gitconfig) although currently, bat reads just one file. It'd be nice if we could do something similar for bat as well, loading both /etc/bat/config and ~/.config/bat/config.

jdm
jdm commented Dec 26, 2019

There's a big block of "generated" Rust code in CGClassConstructHook in CodegenRust.py which should be extracted into a helper method in a file like components/script/dom/bindings/utils.rs instead. Currently we end up with a lot of duplicated code in many files, and we could instead just generate a single call to the new helper method instead.

No need to run any tests; if the result compiles, t

jean-airoldie
jean-airoldie commented Jun 6, 2019

Here is some general documentation improvement suggestion regarding flatbuffers. This is what I remember struggling with (from the top of my head). Also some point might be a little bit opinionated.

Some of the points were taken from #5387.

  • Regarding the builder:
    • The fact that its kinda like an arena allocator used for serialization.
    • The concept of offsets, what do they repre
memoryruins
memoryruins commented Feb 21, 2018

As awesome-rust grows, there are a few tweaks that may improve readability, consistency, and load times. Before making changes en masse, it would be great to hear anyone's thoughts and a green light from maintainers.

  • e.g current format (for half the current list. currently, not all entries include links to crates)
Follpvosten
Follpvosten commented Dec 3, 2019

Description

I'm submitting a feature request:

Going along with #745, this would be a very nice usability improvement (as also mentioned in #756).

For example, this:

let placeholder = if something { "Something" } else { "Something else" };
let maxlength = if blah { 7 } else { 10 };
html! {
    <input type="text" /* ... */ placeholder=placeholder maxlength=maxlength 
malaire
malaire commented Nov 24, 2019

The documentation of FromDataSimple doesn't mention that it's only for debugging. This is only mentioned at documentation of FromData.

Based on several closed issued about this and recent message at #beginners, this causes enough confusion that documentation of FromDataSimple should also mention this.

darkain
darkain commented Dec 1, 2019

root@titanic /mnt/datastore/RAWs/.zfs# exa
".": Invalid argument (os error 22)
root@titanic /mnt/datastore/RAWs/.zfs# /bin/ls
snapshot

the ZFS file system creates a super-hidden (even ls -al wont show it) .zfs folder, but you can still cd into it. once in this folder, exa doesn't work. exa however works in sub-folders of .zfs, such as .zfs/snapshots. ls, as shown above, still works.

matkoniecz
matkoniecz commented Dec 8, 2019

Is it a suitable start for someone with 0 Rust experience? (my guess: yes, but it is a guess and it turned out to be wrong)

small exercises to get you used to reading and writing Rust code

indicates that it is for beginners, but it is unclear is it for someone just starting from hello world.

Alternatively, for a first-time Rust learner, there's several other resources:

Is it suppos

lk-geimfari
lk-geimfari commented Aug 30, 2019

Well, we need to check all the projects and remove outdated ones.

We declare this in the readme:

However, keep in mind that we don't accept mammoth's shit. Only active and interesting projects with good documentation are added. Dead and abandoned projects will be removed.

But, sadly at this moment, this project looks like a mammoth shit itself.

We really need to fix it. I think

porglezomp
porglezomp commented Oct 11, 2019

I went to godbolt in the middle of the night and found it extremely bright and started wondering if it could respect the system setting.

There is a CSS media feature prefers-color-scheme which indicates whether the user prefers light or dark mode. It might be nice to make the default dark mode if the user hasn't explicitly picked one yet be "System" and using the prefers-color-scheme settin

aeplay
aeplay commented Aug 11, 2018

I recently introduced npm scripts to reliably get the correct tooling necessary to compile Citybound (see CONTRIBUTING.md). There are still some things that could be improved - I will try to do so whenever I find time for it, but if anyone wants to help earlier than that, I would really appreciate it.

  • Make sure that npm run ensure-tooling installs correct rust nightly, rustfmt and clipp
starship
pfmoore
pfmoore commented Nov 12, 2019

There appears to be a lot of variation in how complete the "partially done" commands are. For example od seems fairly complete, but date doesn't even support simple usages like date +%Y%m%d, and sort seems to have a good selection of options, but is missing some relatively important ones like sort keys.

It would be really useful if there were some documentation clarifying how complete t

wasmer
xmclark
xmclark commented Feb 14, 2019

This issue is related to #51, windows support. When PR #175 lands, wasmer will have experimental support for windows! This is exciting, but does not mean work is finished. Wasmer will only be able to run simple programs that do not use Emscripten, so no nginx or lua. The reason is that the required syscalls have not been implemented for the Windows target.

There are stubs left for unimplemente

Created by Graydon Hoare

Released 2010

Organization
rust-lang
Website
www.rust-lang.org
Wikipedia
Wikipedia

Related Topics

c-plus-plus language cargo
You can’t perform that action at this time.