MaskRay's recent timeline updates
MaskRay's repos on GitHub
C++ · 4067 watchers
ccls
C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
Shell · 252 watchers
Config
My config for gentoo linux, xmonad, vim, emacs, git, mutt, newsbeuter, tmux, pentadactyl, npm, idesk, xbindkeys, ...
Makefile · 153 watchers
ElfHacks
Dive into ELF files using simple self-contained examples
C++ · 50 watchers
HackerRank
My solutions to the challenges on HackerRank
OCaml · 34 watchers
CamlFeatherweight
Bytecode compiler of a variant of Caml
C · 16 watchers
DEFCONCTFFinalsGameboxAdmin
gamebox admin scripts for DEF CON 22~23 CTF Finals
TeX · 13 watchers
2016-09-24-cgc-defcon-ctf-presentation
My presentation on Cyber Grand Challenge and DEFCON 24 CTF at SHLUG monthly meeting
OCaml · 11 watchers
99-problems-ocaml
99 Lisp Problems in OCaml
Python · 7 watchers
DEFCON24CTFFinalsAdmin
admin scripts for DEF CON 24 CTF Finals
Emacs Lisp · 7 watchers
emacs-helm-kythe
Helm interface for Google Kythe
C++ · 7 watchers
ForceDirected
Collection of force-directed drawing algorithms
C++ · 5 watchers
BCTF-2016-hsab-and-BetaFour
Two challenges hsab and BetaFour for BCTF 2016
Haskell · 5 watchers
Hython
A little language with Python-like grammer
Rust · 4 watchers
99-problems-rust
Ninety-Nine Lisp Problems in Rust
C++ · 4 watchers
ArtificialIntelligence2013Spring
ArtificialIntelligence2013Spring
Emacs Lisp · 4 watchers
dotemacs
MaskRay's customization for emacs
JavaScript · 3 watchers
byvblog
BYVblog is a pure HTML5 and client JavaScript Blog system.
3 watchers
ccls-static
3 watchers
chinese-programmer-wrong-pronunciation
中国程序员容易发音错误的单词
Ruby · 2 watchers
99-problems-ruby
C++ · 2 watchers
cquery
Low-latency vscode language server for large C++ code-bases, powered by libclang.
C++ · 2 watchers
Database2014Spring
数据库专题训练
2 watchers
e-file
e-file is like apt-file in debian, it's used to search package name via filename for gentoo
JavaScript · 2 watchers
EmailSystem
Presentation on email system
1 watchers
abseil-cpp
Abseil Common Libraries (C++)
C++ · 1 watchers
AI2013Dev
人工智能大作業Linux開發環境
Emacs Lisp · 1 watchers
awesome-emacs
A community driven list of useful Emacs packages, libraries and others.
OCaml · 1 watchers
BCTF2015-CamlMaze
BCTF 2015 CamlMaze
1 watchers
bloaty
Bloaty: a size profiler for binaries
1 watchers
c3c
Compiler for the C3 language
C++ · 1 watchers
cgdb
Console front-end to the GNU debugger
C++ · 1 watchers
ComputerGraphics2013Spring
ComputerGraphics2013Spring
Python · 1 watchers
ctf-wiki
CTF Wiki Online
C++ · 1 watchers
DEFCON-21-CTF-Quals-OMGACM
C · 1 watchers
ell
Haskell · 1 watchers
hsnippet
Code snippets in Haskell
0 watchers
abi-aa
Application Binary Interface for the Arm® Architecture
CoffeeScript · 0 watchers
accounts9-plugins
Plugin collection for accounts9
0 watchers
AMDVLK
AMD Open Source Driver For Vulkan
Shell · 0 watchers
ansible-vps
VPS provisioning
JavaScript · 0 watchers
APrettyPrinterLibraryInHaskell
Presentation of Philip Wadler's Pretty Printer Library
C · 0 watchers
ARM_NEON_2_x86_SSE
C++ · 0 watchers
asteria
The Asteria Programming Language
0 watchers
bazel
a fast, scalable, multi-language and extensible build system
0 watchers
bcc
BCC - Tools for BPF-based Linux IO analysis, networking, monitoring, and more
C · 0 watchers
bfs
Breadth-first version of find.
C · 0 watchers
binutils-gdb
C · 0 watchers
bitlbee
An IRC to other chat networks gateway :bee:
0 watchers
BLAKE3
the official Rust and C implementations of the BLAKE3 cryptographic hash function
C++ · 0 watchers
bpftrace
High-level tracing language for Linux eBPF
0 watchers
c3-web
The website for C3 made with Astro!
0 watchers
capnproto
Cap'n Proto serialization/RPC system - core tools and C++ library
Haskell · 0 watchers
cblrepo
Tool to simplify managing a consistent set of Haskell packages for distributions.
C · 0 watchers
ccls-test
C++ · 0 watchers
ccutils
c++ snippets collected from various places
C++ · 0 watchers
clang
Mirror of official clang git repository located at http://llvm.org/git/clang. Updated every five minutes.
C++ · 0 watchers
clang-tools-extra
Mirror of official clang-tools-extra git repository located at http://llvm.org/git/clang-tools-extra. Updated every five minutes.
Haskell · 0 watchers
cofun
Cofun with Cofree Comonads
Emacs Lisp · 0 watchers
company-lsp
Company completion backend for lsp-mode
C · 0 watchers
compiler-rt
Mirror of official compiler-rt git repository located at http://llvm.org/git/compiler-rt. Updated every five minutes.
0 watchers
cpython
The Python programming language
0 watchers
criu
Checkpoint/Restore tool
HTML · 0 watchers
cxx-abi
C++ ABI Summary
0 watchers
c_cpp_hash_tables_benchmark
A comparative, extendable benchmarking suite for C and C++ hash-table libraries.
C++ · 0 watchers
DataStructure2012Autumn
Emacs Lisp · 0 watchers
disaster
Disassemble C/C++ code under cursor in Emacs
D · 0 watchers
dmd
dmd D Programming Language compiler
C · 0 watchers
dmidecode
dmidecode mirror
Emacs Lisp · 0 watchers
doom-emacs
An Emacs configuration for the stubborn martian vimmer
0 watchers
dynamorio
Dynamic Instrumentation Tool Platform
0 watchers
ebpf.io
ebpf.io Website
Emacs Lisp · 0 watchers
eglot
A client for Language Server Protocol servers
C++ · 0 watchers
ELF
An End-To-End, Lightweight and Flexible Platform for Game Research
Python · 0 watchers
emacs-application-framework
Emacs application framework
Emacs Lisp · 0 watchers
emacs-cquery
Emacs client for cquery, a low-latency language server supporting multi-million line C++ code-bases
Emacs Lisp · 0 watchers
evil-collection
A set of keybindings for evil-mode
C · 0 watchers
FFmpeg
Mirror of git://source.ffmpeg.org/ffmpeg.git
Python · 0 watchers
fishroom
Message forwarding for multiple IM protocols
0 watchers
freebsd-src
FreeBSD src tree (read-only mirror)
C++ · 0 watchers
gcc
C++ · 0 watchers
gdal
GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats.
Haskell · 0 watchers
ghc
Mirror of the Glasgow Haskell Compiler. Patches are best submitted to GHC's Phabricator (https://phabricator.haskell.org/), bugs and feature-requests are best filed to GHC's Trac (https://ghc.haskell.org/trac/ghc), or sent to the mailing list ([email protected]). First time contributors are encouraged to get started by just sending a Pull Request.
C · 0 watchers
glibc
Unofficial mirror of sourceware glibc repository. Updated daily.
0 watchers
gloo
Collective communications library with various primitives for multi-machine training.
Go · 0 watchers
go-langserver
Go language server to add Go support to editors and other tools that use the Language Server Protocol (LSP)
0 watchers
grpc
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
C · 0 watchers
grub
Personal branch
Haskell · 0 watchers
gtk2hs
GUI library for Haskell based on GTK+
0 watchers
Halide
a language for fast, portable data-parallel computation
Haskell · 0 watchers
haskell-clock
High-resolution clock functions: monotonic, realtime, cputime.
Haskell · 0 watchers
haskell-ide-engine
The engine for haskell ide-integration. Not an IDE
Haskell · 0 watchers
haskell-indexer
Emits code crossreference data for Haskell sources.
0 watchers
helix
A post-modern modal text editor.
Emacs Lisp · 0 watchers
helm-xref
Helm interface for xref results
CSS · 0 watchers
hexo-theme-landscape
A brand new default theme for Hexo.
Ruby · 0 watchers
homebrew-ccls
Homebrew formula to install [ccls](https://github.com/MaskRay/ccls)
0 watchers
htslib
C library for high-throughput sequencing data formats
0 watchers
ImageMagick
🧙‍♂️ ImageMagick 7
Haskell · 0 watchers
intero
Complete interactive development program for Haskell
Emacs Lisp · 0 watchers
ivy-xref
Ivy interface for xref results
MaskRay

MaskRay

V2EX member #33215, joined on 2013-01-28 20:22:08 +08:00
C/C++/ObjC language server ccls 0.20181225 release
程序员  •  MaskRay  •  Dec 29, 2018  •  Lastly replied by saintaugustinus
4
使用 cquery: C++ language server
  •  7   
    Vim  •  MaskRay  •  May 14, 2018  •  Lastly replied by MaskRay
    18
    用 IRC 控制微信——wechatircd 最近更新
    分享发现  •  MaskRay  •  Feb 20, 2017  •  Lastly replied by cf3e613
    1
    telegramircd——用 IRC 客户端控制 Telegram
    JavaScript  •  MaskRay  •  May 8, 2016  •  Lastly replied by uuair
    1
    webqqircd (webqq -> irc server, 类似的还有 wechatircd)
  •  2   
    编程  •  MaskRay  •  Apr 12, 2016  •  Lastly replied by MaskRay
    2
    wechatircd——用 IRC 客户端控制微信网页版
    微信  •  MaskRay  •  Mar 16, 2016  •  Lastly replied by MaskRay
    4
    MaskRay's recent replies
    Nov 11, 2023
    Replied to a topic by xuelang C++ C++ 链接符号决议 -- 自以为懂了,结果...
    ODR violation 参见 https://maskray.me/blog/2022-11-13-odr-violation-detection 我打算把这个检测工具写完……

    > 还有一点,linux so 动态链接库里的符号可以是未决的,但是 dll 缺一个函数,都没办法生成。光是这点,微软就已经领先 100 年。

    这个可以怪 ELF linkers 默认选得不好(-z undefs)。如果链接 DSO 时用-z defs 就不会未决了

    https://maskray.me/blog/2021-06-13-dependency-related-linker-options#z-defs
    objdump -dr 可以看使用的 relocation type

    LLD 只优化 R_X86_64_[REX_]GOT_PCRELX (-Wa,-mrelax-relocations=yes)
    对于

    (1) movq foo@GOTPCREL(%rip), %reg -> leaq foo(%rip), %reg
    (2) call *foo@GOTPCREL(%rip) -> nop; call foo
    (3) jmp *foo@GOTPCREL(%rip) -> jmp foo; nop

    GNU ld 对于 R_X86_64_[REX_]GOT_PCREL (注意没有 X)也会优化 (1)
    Jul 16, 2018
    Replied to a topic by a7a2 程序员 leetcode 上的比赛的人太厉害了
    @ynyounuo 我是來推廣 https://github.com/MaskRay/ccls/ 的(C/C++/ObjC language server)(昨天終於全盤拋棄 libclang 換上 Clang C++ API 了 :)
    May 29, 2018
    Replied to a topic by skywind3000 Vim Vim 8 下面如何搭建 C/C++ 开发环境
    可以来用我的 MaskRay/ccls 少了近 6000 行代码,更少 third_party。$ccls/memberHierarchy textDocument/definition workspace/symbol 一些细节有改进,cacheFormat 默认 binary 比 msgpack 更小,pipeline 简化但更不容易被保存弄坏

    等待 LanguageClient-neovim/issues/293 autozimu 把这个 custom xref 接口弄通用点支持 $ccls/base 等
    @inflationaaron 也可以来用我的 https://github.com/MaskRay/ccls $ccls/memberHierarchy textDocument/definition workspace/symbol 一些细节有改进,cacheFormat 默认 binary 比 msgpack 更小,pipeline 简化但更不容易被保存弄坏
    May 14, 2018
    Replied to a topic by MaskRay Vim 使用 cquery: C++ language server
    原來都已經半年了……我現在用自己的 fork https://github.com/MaskRay/ccls

    移除了不必要的第三方依賴
    import_pipeline.cc 比原來簡單的多,效果更好(index merge, id map 都是 cquery 中不妥當的設計,我上週移除了)
    mem index 有少量提升

    https://github.com/autozimu/LanguageClient-neovim/issues/293 自定義 cross reference 能支持就最好了
    Dec 10, 2017
    Replied to a topic by MaskRay Vim 使用 cquery: C++ language server
    @forestyuan 是的。希望能找到更多有 C/C++代碼閱讀需求的 geek 用戶貢獻這個項目。很多 code assistant 功能靠 clangd 這種大教堂模式是搞不好的
    Dec 10, 2017
    Replied to a topic by MaskRay Vim 使用 cquery: C++ language server
    @glacier2002 原文裏有幾張圖,內容改了點……這裏編輯困難
    @oott123 因为要扫码登录……登录时留个 head 方便,既然有了就常驻好了……
    Mar 16, 2016
    Replied to a topic by MaskRay 微信 wechatircd——用 IRC 客户端控制微信网页版
    多支持两个命令
    `/dcc send nick/channel filename`,给微信朋友或微信群发图片 /文件。参见<https://en.wikipedia.org/wiki/Direct_Client-to-Client#DCC_SEND>
    `/summon nick message`,添加朋友, message 为验证信息
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5605 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 08:48 · PVG 16:48 · LAX 01:48 · JFK 04:48
    ♥ Do have faith in what you're doing.