llvm
llvm-pretty-bc-parser
Our great sponsors
llvm | llvm-pretty-bc-parser | |
---|---|---|
3 | 2 | |
4,403 | 54 | |
- | - | |
0.0 | 8.6 | |
over 3 years ago | 2 months ago | |
LLVM | LLVM | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
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.
llvm
-
The Wonderfully Terrible World of C and C++ Text Encoding APIs (With Some Rust)
UTF-8 vs UTF-16 vs UTF-32 encoding/decoding are just simple data transformations [1], you don't need a 'complete UNICODE implemenentation' for this (and ISO/IEC be damned, those conversion functions would still be useful to have in the C and C++ stdlibs)
[1] https://github.com/llvm-mirror/llvm/blob/master/lib/Support/...
-
cross compiling issues with mingw32
It's more work to set up (unfortunately), but it's also possible to grab the MSVC and Windows SDKs from a Windows machine with MSVC installed, and then use those to cross-compile on Linux using clang-cl. LLVM has a CMake toolchain file demonstrating this. That'd let you build against the C++ standard library in the MSVC redistributable, so you wouldn't have to distribute it yourself.
-
Rediscovering Hamming Code
An extension to this infact is the following - https://github.com/llvm-mirror/llvm/blob/f36485f7ac2a8d72ad0...
So the original user's comment might infact get detected by this and get optimised down to using popcnt. Will need to try it out. :-)
llvm-pretty-bc-parser
-
Native code generation
Interestingly llvm-hs seems to have gotten a new maintainer which has ambitious ideas like using it for GHC and absorbing the bytecode parser llvm-pretty-bc-parser.
-
LLVM Internals: The Bitcode Format
It's actually interesting how many independent implementations of bitcode writers there, given that there are almost no independent bitcode readers (mine is very preliminary, and then there's one from Galois[1]).
I believe Swift also does their own serialization in LLVM's bitstream format[2]. I also saw an implementation of the writer in Swift, but now I've lost it.
[1]: https://github.com/GaloisInc/llvm-pretty-bc-parser
[2]: https://github.com/apple/swift/blob/main/docs/Serialization....
What are some alternatives?
llvm - LLVM based obfuscator
llvm-hs - Haskell bindings for LLVM
bexp - Go implementation of Brace Expansion mechanism to generate arbitrary strings.
llvm - Haskell bindings to the LLVM compiler infrastructure project.
llvm-hs-pretty - Pretty printer for LLVM AST to Textual IR
llvm-general - Rich LLVM bindings for Haskell (with transfer of LLVM IR to and from C++, detailed compilation pass control, etc.)
ghorg - Quickly clone an entire org/users repositories into one directory - Supports GitHub, GitLab, Bitbucket, and more 🥚
llvm-general-quote - Use QuasiQuotation with llvm-general
Tideland Go - Go Library [DEPRECATED]
morloc - A typed, polyglot, functional language
strutil - String utilities for Go
dataflow - Render graphs using a declarative markup.