profile
viewpoint

crlf0710/charlesmine-rs 50

A triangle minesweeper game in Rust.

crlf0710/delegatemethod-rs 13

Delegate method calls to a field.

crlf0710/apiw-rs 6

(WIP) Rust-style binding for ECMA-234 APIW APIs, implemented on top of winapi.

crlf0710/cl-w32api 2

Common Lisp bindings for w32api.

crlf0710/bignum 1

A minimal header-only bignum library for C++. (C++03)

crlf0710/cl-brainfuck 1

cl-brainfuck: Brainfuck program macro assembler and simulator

crlf0710/concerto-rs 1

Concerto, a library for managing and interpreting user actions like keyboard or mouse.

crlf0710/allsorts 0

Font parser, shaping engine, and subsetter implemented in Rust

crlf0710/api-guidelines 0

https://rust-lang-nursery.github.io/api-guidelines/

push eventcrlf0710/tex-rs

Charles Lew

commit sha 9ce45e66166e1f5d90e6f1765274ddfd378fa0e8

Implement more file name processing

view details

push time in a day

push eventcrlf0710/tex-rs

Charles Lew

commit sha cfcb9ce679e2e196b3a8f12a0f61c5315dd27503

Implement more basic string handling

view details

push time in 2 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha e6ad48f8000168e26e7fea64aa6b489de51dbc3c

Get the TeX mode and semantic nest basics working.

view details

Charles Lew

commit sha dbfe619253794e1ce7f797f2907318884467e33c

Implement more of main_control logic.

view details

push time in 3 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 995b592118b4e7ce77b817ba9f68eb96a11c56fa

Implement loading string pool.

view details

push time in 3 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha c0c9bc74f52a5b256932e421abf6888dfcd7c09e

Implement FSS-UTF encoding and hashing.

view details

push time in 3 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha e293507bd1e3b39c174413127777afc38c43184c

Implement basic string operations.

view details

push time in 4 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 652686079cc367b6f492d343ddb72e413401f20e

Implement more prompting mechanism

view details

Charles Lew

commit sha 58e39b1e9e457d9697bf43368689e3bebbe673de

Add tracing support and implement more of reading

view details

Charles Lew

commit sha 14e0bef08b8dfc1bbc857ad9d9017e6ffb119126

Implement multi-letter control seq reading.

view details

push time in 4 days

pull request commentrust-lang/rust

Stabilize hint::spin_loop

Triage: Is this ready for review again?

pickfire

comment created time in 5 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 39b1eeaf4a8f0099b631b25d0df387f76adf0ee3

Add jump out logic implementation

view details

push time in 7 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 1067b6615632b6bf5105ca1a8c495bb5f96be42f

Deal with cur_cmd, cur_chr and cur_tok types.

view details

push time in 7 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 905018c2088cb30e66567d9d0c4ef28b12d3474f

Add more initialization stuff

view details

push time in 7 days

startedjsvine/pdfplumber

started time in 7 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 1c6ce4a04aa30044752a3edbfac769504131d9b9

Add empty pool file.

view details

push time in 8 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 94dc7e6b6a5443ec2ceb5ea75791358ec001523c

Prepare tex.pool io.

view details

push time in 8 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha a9e0ad83823ebd6c98b0d4e77295a09dc369896c

Implement more of input logic

view details

push time in 9 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 0b8a6bba0e769a2ad3471c27a365f18f4af83a3f

Add recent rework of pascal file io.

view details

Charles Lew

commit sha 8451d9c577b55429e537eb91f8d990bae7326276

Implement more of input logic

view details

push time in 9 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 5e9e025707190b045694c9c9b6377012c5272a57

Add region_debug

view details

Charles Lew

commit sha df9c6bead805a75620c60875f838c0b06bdb57c1

Finish 1031 section

view details

push time in 10 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 67ddeec1792ac55adde6d2bd3dbaa1a70c2de7dc

Add reswitch label in main_control

view details

push time in 10 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 8e284d12fae23cb158df85d62e42c8b4ee93710c

Implement fix_date_and_time

view details

push time in 10 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 5bfafe5d2fe953fc6b3fd2cb18a15fc81d94518a

Implement more string handling

view details

push time in 10 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 2cfcd71a6320effc7beba9bb18e761c80ad50602

Some basic string handling

view details

push time in 10 days

issue openeddtolnay/linkme

Compile error under MacOS

<!-- ❤️ --> This is the error message:

LLVM ERROR: Global variable '_ZN3tex12section_026570_LINKME_ELEMENT_put_each_of_tex_s_primitivies_into_the_hash_table_026517hd67dd207d79119b3E' has an invalid section specifier '__DATA,__PUT_EACH_OF_TEX_S_PRIMITIVIES_INTO_THE_HASH_TABLE': mach-o section specifier requires a section whose length is between 1 and 16 characters.

It seems there's a limit on the section name length.

created time in 10 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha d0db8d70d8926929dc2cbe06552fe52c15ab2e35

Finish up 1332

view details

push time in 11 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 9b8dae34ecb1dca6317b0b7aea0b42b917b0f362

Initex handling

view details

push time in 11 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 8da9cf1db771b78f8d4bf78d399f2deb191b7826

Implement more about memory management

view details

push time in 11 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 505b7a2b5a57aea5b2954644d51511f467847c4b

Add dvi_command

view details

push time in 11 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 563efcda80f8d0e0c5cb5c93fe66e1d5998ace16

Implement grapheme registry

view details

push time in 11 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 9fce341455318cb52b806243a0d40873b59f01db

Update license info.

view details

push time in 11 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha d631a043efc5aac5b12c8e242a6f68917760cf08

Get the `eqtb` system working.

view details

Charles Lew

commit sha 20b8324a7432daa548606f98dc0bbcb9824c50ea

Finish more file io support.

view details

push time in 17 days

push eventcrlf0710/globals_struct

Charles Lew

commit sha 8903ad08ea87700337d6e48b7e4822381a14b0d6

Add support for `globals_struct_field_view`

view details

Charles Lew

commit sha a746502813a407516c9ac4dc1274db9d0becbd82

Ensure view lifetime always get used.

view details

Charles Lew

commit sha 4b125573d67f805e38bac4c64ca8bb6ec799f91e

Fix dummy field access permission.

view details

push time in 17 days

push eventcrlf0710/globals_struct

Charles Lew

commit sha a746502813a407516c9ac4dc1274db9d0becbd82

Ensure view lifetime always get used.

view details

push time in 17 days

push eventcrlf0710/globals_struct

Charles Lew

commit sha 8903ad08ea87700337d6e48b7e4822381a14b0d6

Add support for `globals_struct_field_view`

view details

push time in 17 days

create barnchcrlf0710/globals_struct

branch : next

created branch time in 17 days

PR opened paholg/typenum

Add `local_inner_macros` for 2018 edition support.

Closes #159 .

+2 -2

0 comment

1 changed file

pr created time in 17 days

push eventcrlf0710/typenum

Charles Lew

commit sha 5cf10f746bfa5c45b98534b75f96fd8b3df61f26

Add `local_inner_macros` for 2018 edition support.

view details

push time in 17 days

push eventcrlf0710/typenum

Charles Lew

commit sha 42d621b15593854e4436e4324badb85e0919fde3

Add `local_inner_macros` for 2018 edition support.

view details

push time in 17 days

fork crlf0710/typenum

Compile time numbers in Rust.

https://crates.io/crates/typenum

fork in 17 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha fb93ff8d559fd381e3b859c9844a06535b7a4aa1

Update and use `globals_struct_use`.

view details

push time in 19 days

push eventcrlf0710/globals_struct

Charles Lew

commit sha 40cf1700dccc7fa8bece94384673f184c7bcf7d4

Support globals_struct_use.

view details

push time in 19 days

pull request commentrust-lang/rust

`#![deny(unsafe_op_in_unsafe_fn)]` in sys/hermit

Triage: @maekawatoshiki I think leaving one single #![allow(unsafe_op_in_unsafe_fn)] at the hermit root is enough. No need to add the others.

maekawatoshiki

comment created time in 20 days

pull request commentrust-lang/rust

Add Vec visualization to understand capacity

r? @dtolnay

pickfire

comment created time in 20 days

pull request commentrust-lang/rust

Improve documentation for slice strip_* functions

@ijackson Ping from triage: any updates on this?

ijackson

comment created time in 20 days

pull request commentrust-lang/rust

Permit evaluation of assoc items on `Self` by avoiding cycle error

Triage: there's merge conflicts now.

estebank

comment created time in 20 days

pull request commentrust-lang/rust

rustdoc: skip #[allow(missing docs)] for docs in coverage report

@r-52 Ping from triage, would you mind address the review comments above? thanks!

r-52

comment created time in 20 days

pull request commentrust-lang/rust

Add `FromIterator` impl `for [T; N]`

@lperlaki Ping from triage: CI is still red, and there's merge conflicts.

lperlaki

comment created time in 20 days

pull request commentrust-lang/rust

Implement lazy decoding of DefPathTable during incremental compilation

Triage: CI is still red here.

Aaron1011

comment created time in 20 days

pull request commentrust-lang/rust

[WIP] Don't allocate DepNode if anonymous

Triage: Is this ready for review? There's still [WIP] in the PR title.

arora-aman

comment created time in 20 days

pull request commentrust-lang/rust

Add --no-source option flag to rustdoc

Triage: What's the status here?

GuillaumeGomez

comment created time in 20 days

pull request commentrust-lang/rust

rustc_mir: track inlined callees in SourceScopeData.

Triage: there's merge conflicts.

eddyb

comment created time in 20 days

pull request commentrust-lang/rust

[WIP] Do not make local copies of inline fns in debug mode

Triage: Is this ready for review? There's still "[WIP]" in the PR title.

spastorino

comment created time in 20 days

pull request commentrust-lang/rust

Add slice::contains_ref to supplement slice::contains

Triage: What's the status here? Should this be closed?

poliorcetics

comment created time in 20 days

pull request commentrust-lang/rust

Raise noncontinuable exception when aborting on earlier Windows versions

@NextTurn Ping from triage: could you address the comments above? Thanks!

NextTurn

comment created time in 20 days

pull request commentrust-lang/rust

Don't run allowed lints

Triage: There's merge conflicts now.

jyn514

comment created time in 20 days

pull request commentrust-lang/rust

Explain fully qualified syntax for `Rc` and `Arc`

r? @steveklabnik

camelid

comment created time in 20 days

pull request commentrust-lang/rust

Add core::task::yield_now

Triage: It seems this is kind of blocked... I'm going to mark this as such and add corresponding wg labels.

yoshuawuyts

comment created time in 20 days

pull request commentrust-lang/rust

Add std::thread::available_concurrency

Triage: It seems this is ready for review.

yoshuawuyts

comment created time in 20 days

pull request commentrust-lang/rust

Permit (Release, Acquire) ordering for compare_exchange[_weak] and add appropriate compiler intrinsic

Triage: There's still merge conflict. But it seems the author is also seeking for some discussions.

@oliver-giersch Could you open a thread on Zulip or file a T-lang MCP for such a change? This pr should block on such an MCP before it could proceed.

oliver-giersch

comment created time in 20 days

pull request commentrust-lang/rust

Use double quote for rustdoc html

Triage: It seems this PR needs decision here. @GuillaumeGomez @jyn514

pickfire

comment created time in 20 days

pull request commentrust-lang/rust

Mark `-1` as an available niche for file descriptors

I assume this is now pending on review. Switched the labels.

notriddle

comment created time in 20 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 41cde6456752cac7f4da2b35f2de7708bd846b76

Add goto backward label.

view details

push time in 20 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha 77d64148ad545c82d5e0ff269600bb6792cafad3

Add macro to deal with macro import ordering.

view details

push time in 21 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha efcb1c79e328f514341aabb8ed3093c0b39f226d

Finish migration of 0061.

view details

push time in 21 days

push eventcrlf0710/tex-rs

Charles Lew

commit sha be5e38610d59abeaf40963b38fa39ad4d0552a84

Make the binary runnable.

view details

push time in 21 days

create barnchcrlf0710/tex-rs

branch : master

created branch time in 21 days

created repositorycrlf0710/tex-rs

A port of TeX82 to Rust.

created time in 21 days

push eventcrlf0710/globals_struct

Charles Lew

commit sha 69fe40c6cfda45d07219137dc0cf7d01d6d2af98

Support field visibility.

view details

push time in 21 days

push eventcrlf0710/globals_struct

Charles Lew

commit sha bb8cdc96801f49c123ca3400dc3ec11173998f43

Support processing `include!` macro.

view details

push time in 21 days

delete branch crlf0710/globals_struct

delete branch : main

delete time in 21 days

create barnchcrlf0710/globals_struct

branch : master

created branch time in 21 days

create barnchcrlf0710/globals_struct

branch : main

created branch time in 21 days

created repositorycrlf0710/globals_struct

Collect distributed global state into a struct.

created time in 21 days

issue openedpaholg/typenum

`op` macro is not usable with 2018 edition `use`.

Importing __op_internal fixes the compilation error. But it is rather inconvenient. IIRC there's some special attribute arrangement for dealing with this case correctly.

created time in 22 days

create barnchcrlf0710/rust-survey-2020-simp-chinese-translation

branch : main

created branch time in a month

pull request commentrust-lang/rust

Fix dangling reference during Arc deallocation

r? @sfackler

HeroicKatora

comment created time in a month

pull request commentrust-lang/rust

Improve lifetime name annotations for closures & async functions

r? @estebank

SNCPlay42

comment created time in a month

pull request commentrust-lang/rust

Improve Rustdoc visibility by displaying links in usage

@AndyGauge Ping from triage, CI is still red here. Would you mind fixing it? Also, please try to discuss this will rustdoc team to reach agreement on this, maybe by asking on rustdoc channel on Discord.

AndyGauge

comment created time in a month

pull request commentrust-lang/rust

Implement multiple return terminator optimization

@alarsyo Ping from triage, any updates on this?

alarsyo

comment created time in a month

pull request commentrust-lang/rust

Add PartialEq and PartialOrd for NonZeroInt to Int

@Lucretiel Ping from triage, any updates?

Lucretiel

comment created time in a month

pull request commentrust-lang/rust

Refactor doc comment parsing

@lzutao Ping from triage! CI is still red here. Any updates?

lzutao

comment created time in a month

Pull request review commentrust-lang/rust

Implement RFC 2500 Needle API (Part 1)

+use super::haystack::{Hay, Haystack, Span};++use crate::ops::Range;++/// A searcher, for searching a [`Needle`] from a [`Hay`].+///+/// This trait provides methods for searching for non-overlapping matches of a+/// needle starting from the front (left) of a hay.+///+/// # Safety+///+/// This trait is marked unsafe because the range returned by its methods are+/// required to lie on valid codeword boundaries in the haystack. This enables+/// users of this trait to slice the haystack without additional runtime checks.+///+/// # Examples+///+/// Implement a searcher and consumer which matches `b"Aaaa"` from a byte string.

I think i'll just link searcher and consumer to the corresponding trait...

crlf0710

comment created time in a month

PullRequestReviewEvent

startedheadcrab-rs/headcrab

started time in a month

issue commentrust-lang/lang-team

MCP: Rust-style `#[inline]` attribute.

@scottmcm Thanks! I've got the text updated according to the initial feedback here and on zulip.

crlf0710

comment created time in a month

issue openedrust-lang/lang-team

MCP: Rust-style `#[inline]` attribute.

Proposal

Summary and problem statement

Change the semantics of #[inline] attribute.

  • Currently in Rust #[inline] is following LLVM-style inline policies ** #[inline(always)] -> alwaysinline ** #[inline] -> inlinehint ** N/A -> N/A ** #[inline(never)] - neverinline

  • However this is unnecessarily complex and hard to use.

  • It also causes compilation performance issues. (e.g. thousands copies of Option::map in rustc_middle according to cargo-llvm-lines, to ask llvm to examine the inlining possibilities one-by-one)

Motivation, use-cases, and solution sketches

  • Inlining should ideally happen before monomorphization.

  • Inlining should ideally be made as deterministic as possible (respecting user's intention).

  • I propose replacing the semantics of these attributes to: ** #[inline(always)] -> try the compiler's best to inline (always invoke MIR inliner), raise a warning when failing to do so (and tag as alwaysinline to ask llvm to try again). ** #[inline] -> try the compiler's best to inline (always invoke MIR inliner), keep silent when failing to do so (and tag as alwaysinline to ask llvm to try again). ** N/A -> heuristically determine whether to inline or not, left to compiler internals (maybe invoke MIR inline, inlinehint) ** #[inline(never)] -> try the compiler's best to not inline (do not invoke MIR inliner, neverinline to stop llvm from doing so too)

  • This will not be a breaking change. There're performance impacts, but hopefully a positive one.

Prioritization

This is related to the "Targeted ergonomic wins and extensions" because it improves building experience. It is also relatively not a change.

Links and related work

  • inline keyword is currently mainly used to workaround ODR in C++ language. It causes confusion to beginners too.

Initial people involved

TBD

What happens now?

This issue is part of the experimental MCP process described in RFC 2936. Once this issue is filed, a Zulip topic will be opened for discussion, and the lang-team will review open MCPs in its weekly triage meetings. You should receive feedback within a week or two.

This issue is not meant to be used for technical discussion. There is a Zulip stream for that. Use this issue to leave procedural comments, such as volunteering to review, indicating that you second the proposal (or third, etc), or raising a concern that you would like to be addressed.

created time in a month

push eventcrlf0710/rust

kennytm

commit sha 2acea93d38c048fcf999577f811a0af0d7584179

Implemented the Needle API (RFC 2500).

view details

kennytm

commit sha e75aeacb5188223a08d84ca85acc44b4e969aded

Fix 2018 edition fallout.

view details

Charles Lew

commit sha 80ed381b930086f7213bcea1de09c1abc318b74e

Adjust for `min_specialization` and `unsafe_op_in_unsafe_fn`.

view details

Charles Lew

commit sha ca4f31c1d98409c3a1f04bc08ea3a72ac1793a85

Make sure all unsafe blocks are documented.

view details

Charles Lew

commit sha 9d35bf22f63ce685e572cb52c4b249854ba5845c

Fix intradoc links.

view details

push time in a month

create barnchcrlf0710/rust

branch : needle-api-backup

created branch time in a month

push eventcrlf0710/rust

Charles Lew

commit sha 25778b48b06b0613c89429cbe8efdcd1c60f5e1e

Fix intradoc links.

view details

push time in a month

PR opened rust-lang/rust

Implement RFC 2500 Needle API (Part 1) A-patterns T-libs

This is a rebase of #59591 by @kennytm . As that PR is relatively large, i'm splitting it into a series smaller PRs.

This is the first PR in the series, which defines the core functions and traits. I've done the necessary changes like accounting for min_specialization, unsafe_op_in_unsafe_fn and i also documented all the unsafe blocks.

Since most of the code is not written by myself, the code should definitely needs more eyes on it.

r? @Amanieu cc @withoutboats

+2324 -0

0 comment

6 changed files

pr created time in a month

create barnchcrlf0710/rust

branch : needle-api

created branch time in a month

pull request commentrust-lang/rust

Don't recommend ManuallyDrop to customize drop order

r? @dtolnay

matklad

comment created time in a month

pull request commentrust-lang/rust

Check against `local_cdata.cnum` instead of `LOCAL_CRATE` for hygiene decoding

Triage: There's merge conflicts now.

Aaron1011

comment created time in a month

pull request commentrust-lang/rust

rustc_ast_passes: allow c-variadic associated fns

@dlrobertson Ping from triage, could you address the review comments? thanks

dlrobertson

comment created time in a month

pull request commentrust-lang/rust

New MIR optimization pass to reduce branches on match of tuples of enums

@simonvandel Ping from triage, could you resolve the merge conflicts? Thanks!

simonvandel

comment created time in a month

pull request commentrust-lang/rust

Avoid complex diagnostics in snippets which contain newlines

Triage: there are merge conflicts now.

JohnTitor

comment created time in a month

pull request commentrust-lang/rust

Implement `--extern-location`

@jsgf Ping from triage, there's still merge conflicts.

jsgf

comment created time in a month

pull request commentrust-lang/rust

incr-comp: hash and serialize span end line/column

@tgnottingham Ping from triage, what's the status of this?

tgnottingham

comment created time in a month

pull request commentrust-lang/rust

Implement lazy decoding of DefPathTable during incremental compilation

Triage: There's merge conflicts now.

Aaron1011

comment created time in a month

pull request commentrust-lang/rust

Add `FromIterator` impl `for [T; N]`

@lperlaki Ping from triage: CI is still red here. And what about @lcnr 's comments?

lperlaki

comment created time in a month

pull request commentrust-lang/rust

Capture output from threads spawned in tests

Triage: There's merge conflicts now.

tmandry

comment created time in a month

more