libCat
AECforWebAssembly
Our great sponsors
libCat | AECforWebAssembly | |
---|---|---|
21 | 47 | |
51 | 23 | |
- | - | |
8.8 | 2.2 | |
about 1 month ago | 15 days ago | |
C++ | C++ | |
GNU Affero General Public License v3.0 | MIT 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.
libCat
-
I hate almost all software
That's awesome! I'm working on something that sounds similar. https://github.com/cons-cat/libcat
I'd love to see your work if you're willing to share it here!
- Manticore 6.0.0 – a faster alternative to Elasticsearch in C++
-
Chromium accepting Rust in a clear move to copy what Mozilla have done, replace C++ source code
It's worse in the standard library than it has to be. When I refactored my traits to minimize template instantiations and lean on concepts as much as possible, I measured over 30% improvement to clean build compile times. It's not possible for the standard to do this, because it would subtly change the API. For instance, you can't instantiate or take the address of a concept, but you can for a type-trait class. No reason you'd want to do that, but you can, so they can't "break" the standard library by optimizing this.
-
C++'s smaller cleaner language
This doesn't have to be true. Over the past year I've made progress towards demonstrating how even non-freestanding C++ can be written without any C or C++ standard library headers or DLLs (with large benefits). There are a few names which the compilers require to be in the std:: namespace, though, but they're very special features like source_location and construct_at with semantics that can't be expressed otherwise.
-
Is bloat in std::unexpected expected?
It isn't that hard to put a predicate into a type. We have lambdas in an unevaluated context, CTAD, and templated type aliases. https://github.com/Cons-Cat/libCat/blob/main/src/libraries/scaredy/cat/scaredy https://github.com/Cons-Cat/libCat/blob/main/src/global_includes.hpp#L70 https://github.com/Cons-Cat/libCat/blob/main/src/libraries/linux/cat/linux#L289 You do it like this.
- Software disenchantment - why does modern programming seem to lack of care for efficiency, simplicity, and excellence
- tiny::optional – a C++ optional that does not waste memory
-
Rust analyzer/clippy alternative for C++?
I use clang-tidy. These are my current linting rules.
-
John "God" Carmack: C++ with a C flavor is still the best (also: Python performance "keeps hitting me in the face")
I'm working on this! https://github.com/Cons-Cat/LibCat
- “Hello world” is slower in C++ than in C (Linux)
AECforWebAssembly
- Poteškoće s pronalaskom posla
-
Good languages for writing compilers in?
Well, I have written the first compiler for my programming language, targetting x86, in IE6-compatible JavaScript, and the second compiler, targetting WebAssembly, has been written in C++11. I think that, to choose a language to write a compiler in, you need to look at at least two things:
-
Let's Make Sure Github Doesn't Become the only Option
That could be true. I host my AEC-to-WebAssembly compiler on GitHub, GitLab and SourceForge, and it's only on GitHub that it has 21 stars and 2 forks. On GitLab and SourceForge, it has zero of both.
- koliko vam je bilo tesko nac posao u programiranju?
-
Does the JVM / CLR even make sense nowadays?
Well, the main compiler for my programming language is targetting the JavaScript Virtual Machine by outputting WebAssembly. I think it's even better than targetting Java Virtual Machine, because, for one thing, your executables can run in any modern browser if you output WebAssembly. If you target Java Virtual Machine, the users need to actually download your app. Furthermore, there is an official assembler for WebAssembly called WebAssembly Binary Toolkit (WABT), so your compiler can output assembly and not have to deal with binary files. There is nothing equivalent to that for Java Virtual Machine.
-
How many lines of code does a compiler contain?
Well, my AEC-to-x86 compiler contains 2'000 lines of code (click "View Source"), and the much more feature-rich AEC-to-WebAssembly compiler contains 5'500 lines of code.
-
What are some stuff that Rust isn't good at?
Are you really telling me it's easier to write a tokenizer in Rust than in C++? You know, like I've written a tokenizer for my programming language in C++: https://github.com/FlatAssembler/AECforWebAssembly/blob/master/tokenizer.cpp
-
Why is stl unreadable?
I had no idea that is a valid syntax! OK, my largest C++ program to this day is only 5'500 lines of code. If I were making larger programs, I'd probably know stuff like that.
-
Buck2, a large scale build tool written in Rust by Meta, is now available
My largest program to this day uses CMAKE: https://github.com/FlatAssembler/AECforWebAssembly/blob/master/CMakeLists.txt
-
Undergrad dissertation/thesis ideas relating to programming language design / compiler implementation?
For my Bachelor thesis, I have implemented a PicoBlaze assembler and emulator in JavaScript. If I ever get to that point, if I do not drop out before I have to submit my Bachelor thesis (I have two courses left in my undergraduate program: "Communication Skills" and "Basics of Automatic Control", "Basics of Automatic Control" probably being the most difficult course in my undergraduate program). And, for my Master thesis, I have a compiler that compiles my programming language to WebAssembly, but I will probably not get to submitting my Master thesis.
What are some alternatives?
Lark - Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
Magic Enum C++ - Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
wasm-fizzbuzz - WebAssembly from Scratch: From FizzBuzz to DooM.
lljvm - Low Level Java Virtual Machine
mal - mal - Make a Lisp
Notes-To-WAV-converter - A program that converts musical notes stored in a text file into WAV files. I know this is not a good Git repository.
blender-tools - 🐵 Embark Addon for Blender
asyncio - asyncio is a c++20 library to write concurrent code using the async/await syntax.
rfcs - RFCs for changes to Rust
EA Standard Template Library - EASTL stands for Electronic Arts Standard Template Library. It is an extensive and robust implementation that has an emphasis on high performance.
geodesic_raytracing
EmGlue - 🕸️ Glue C++ to your browser! Universal bindings for JavaScript/Wasm using Glue and Embind.